]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/ChangeLog
re PR preprocessor/25717 (-dD does not list all defined macros (in particular, __STDC__))
authorJakub Jelinek <jakub@gcc.gnu.org>
Mon, 23 Jan 2006 21:50:15 +0000 (22:50 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 23 Jan 2006 21:50:15 +0000 (22:50 +0100)
commit839009978ae5e2e4f30057e2cdfd925a05c9cc95
tree426b4cdfa24c0b381ad5f2bef8e8807afd097204
parent7ebaeab50e26463a6fbe6fe23cffdf69a84bce30
re PR preprocessor/25717 (-dD does not list all defined macros (in particular, __STDC__))

PR preprocessor/25717
* init.c (cpp_init_builtins): If __STDC__ will not change value
between system headers and other sources, define it as a normal
macro rather than a builtin.
* macro.c (_cpp_builtin_macro_text) <case BT_STDC>: Only check
cpp_in_system_header condition.

From-SVN: r110144
libcpp/ChangeLog
libcpp/init.c
libcpp/macro.c