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/36255] -fstrict-aliasing breaks __builtin_va_args



------- Comment #5 from juanjose dot garciaripoll at gmail dot com  2008-05-17 13:32 -------
I uploaded the program that fails if the GCC miscompiles the file simple.c
However, I had to split the test case into two different files, for otherwise
GCC inlines the offending function and the error is not produced.

I compiled the files separately, with and without -fstrict-aliasing, and it
only fails in the first case.


-- 


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


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