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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68462
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
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.