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 preprocessor/41590] No __STDC__ definition in -g3 -E output on STDC_0_IN_SYSTEM_HEADERS systems


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

--- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2013-05-08 09:17:11 UTC ---
> --- Comment #1 from Shakthi Kannan <skannan at redhat dot com> 2013-05-08 07:05:37 UTC ---
> Which version of GCC are you using?

This even affects current mainline.

> The above also works with gcc version 4.9.0 20130507 (experimental) (GCC).

As the PR summary states, this only affects STDC_0_IN_SYSTEM_HEADERS
targets:

ro@apoc 54 > grep -r STDC_0_IN_SYSTEM_HEADERS gcc/config
gcc/config/sol2.h:#define STDC_0_IN_SYSTEM_HEADERS 1
gcc/config/sparc/netbsd-elf.h:#undef STDC_0_IN_SYSTEM_HEADERS

I've just verified it again on i386-pc-solaris2.11.

    Rainer


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