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 #6 from pinskia at gcc dot gnu dot org  2006-01-09 22:08 -------
(In reply to comment #5)
> I get a lot of output with:
> $ gcc -E -dD test.c
> 
> Perhaps that is what you're looking for.  This looks more like a documentation
> bug to me than a real preprocessor bug.

It is not, -dD should include __STDC__ and it does in pre 3.3 but not post 3.3
when cpp0 went away.  I forgot to update the summary when I confirmed it after
fixing the testcase.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[3.4/4.0/4.1/4.2 Regression]|[3.4/4.0/4.1/4.2 Regression]
                   |-dM does not list all       |-dD does not list all
                   |defined macros (in          |defined macros (in
                   |particular, __STDC__)       |particular, __STDC__)


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]