[Bug c/98582] Optimization combined with aliasing generating wrong code

2021-01-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98582 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/98582] Optimization combined with aliasing generating wrong code

2021-01-07 Thread ferruh.yigit at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98582 --- Comment #2 from Ferruh YIGIT --- Thanks Jakup, I confirm the 'may_alias' attribute is doing the trick. -fno-strict-aliasing was already confirmed. I can see the aliasing between incompatible types, but it bothers me not able to see what exa

[Bug c/98582] Optimization combined with aliasing generating wrong code

2021-01-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98582 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1