[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] New: 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 Bug ID: 98582 Summary: Optimization combined with aliasing generating wrong code Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Pri