News for hackers. Stuff that matters.
Re:Wrong optimization with aliasing by nmc on Monday February 15, 2016 @02:16PM (#11105259)
TL;DR: the bug is due to GCC's optimization feature called full redundancy elimination (FRE).

It treats "int a=* pi; * pi=a" as a redundant store and removes it, as explained in the 5th comment:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69776#c5

There are no comments on this comment yet.