[Bug c/69319] Suspect compiler bug

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jan 16 22:23:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69319

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2016-01-16
     Ever confirmed|0                           |1

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>	item->next = (member *) idle_members;


I want to bet there is an alias violation in the code.

Does this code work at -O0 and -O1 but not at -O2?  Try -fno-strict-aliasing.


More information about the Gcc-bugs mailing list