[Bug c/42136] Inconsistent strict-aliasing warning with cast from char[]

2021-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42136 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |7.2 Resolution|---

[Bug c/42136] Inconsistent strict-aliasing warning with cast from char[]

2009-11-21 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-11-21 22:56 --- !alias_sets_conflict_p (set1, set2) should really be alias_set_subset_of with all the added false positives from the very imprecise frontend code that this would cause. Thus, the cast from short[] also should warn.