This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/36255] -fstrict-aliasing breaks __builtin_va_args
- From: "juanjose dot garciaripoll at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 May 2008 13:32:30 -0000
- Subject: [Bug c/36255] -fstrict-aliasing breaks __builtin_va_args
- References: <bug-36255-16193@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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