This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/25717] [3.4/4.0/4.1/4.2 Regression] -dD does not list all defined macros (in particular, __STDC__)
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jan 2006 22:08:15 -0000
- Subject: [Bug preprocessor/25717] [3.4/4.0/4.1/4.2 Regression] -dD does not list all defined macros (in particular, __STDC__)
- References: <bug-25717-11985@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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