[Bug c/38527] Gcc optimizes code to an endless loop

schwab at suse dot de gcc-bugzilla@gcc.gnu.org
Sun Dec 14 20:37:00 GMT 2008



------- Comment #2 from schwab at suse dot de  2008-12-14 20:36 -------
                _list_remove((struct rlist**)&var_last,
                             (struct rlist*)var_last);

This violates the C aliasing rules.

*** This bug has been marked as a duplicate of 21920 ***


-- 

schwab at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38527



More information about the Gcc-bugs mailing list