[Bug c/42907] -fstrict-aliasing breaks valid code
fejj at novell dot com
gcc-bugzilla@gcc.gnu.org
Wed Feb 3 02:16:00 GMT 2010
------- Comment #34 from fejj at novell dot com 2010-02-03 02:16 -------
just an FYI, but if you take my original list.c attachment and uncomment the
second loop (the one that prints the values of each node after the creation
loop), even if you use `gcc -Wall -g -O2 -o list list.c`, the list will be
non-NULL. Comment that loop, and it goes back to being NULL.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42907
More information about the Gcc-bugs
mailing list