[Bug c/68462] -fno-strict-aliasing not respected

2015-11-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68462 --- Comment #4 from Richard Biener --- With N_domains non-static GCC has to assume it has its address taken and thus it thinks that the stores to ->next, .lol and .size can alias it. So the issue that -fno-strict-aliasing is not "respected" is

[Bug c/68462] -fno-strict-aliasing not respected

2015-11-20 Thread manjeetdahiya at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68462 --- Comment #1 from Manjeet Dahiya --- GCC version details: gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04) Here are the options I used: gcc -c -O2 -fno-strict-aliasing -m32 -S

[Bug c/68462] -fno-strict-aliasing not respected

2015-11-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68462 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/68462] -fno-strict-aliasing not respected

2015-11-20 Thread manjeetdahiya at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68462 --- Comment #3 from Manjeet Dahiya --- (In reply to Andrew Pinski from comment #2) > N_domains and domain_array don't overlap at all and it is known to overlap > as writing past arrays bounds is undefined and is unrelated to strict > aliasing.