This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/42907] -fstrict-aliasing breaks valid code



------- Comment #5 from fejj at novell dot com  2010-01-30 21:23 -------
the way I compiled it for that gdb session is as follows:

gcc -Wall -g -O2 -o list list.c

If I use -fno-strict-aliasing or use -O0 (or -O1), it works just fine.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]