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/25717] [3.4/4.0/4.1/4.2 Regression] -dD does not list all defined macros (in particular, __STDC__)



------- Comment #9 from jakub at gcc dot gnu dot org  2006-01-23 21:51 -------
Subject: Bug 25717

Author: jakub
Date: Mon Jan 23 21:51:10 2006
New Revision: 110145

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110145
Log:
        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.

Modified:
    branches/gcc-4_1-branch/libcpp/ChangeLog
    branches/gcc-4_1-branch/libcpp/init.c
    branches/gcc-4_1-branch/libcpp/macro.c


-- 


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


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