This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/17651] [3.4/4.0 Regression] Erroneous preprocessor output with -g when generating dependencies
- From: "neroden at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Nov 2004 01:31:32 -0000
- Subject: [Bug preprocessor/17651] [3.4/4.0 Regression] Erroneous preprocessor output with -g when generating dependencies
- References: <20040924092608.17651.simon.marshall@misys.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From neroden at gcc dot gnu dot org 2004-11-27 01:31 -------
Created an attachment (id=7615)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7615&action=view)
Fix
The line marker is suppressable (unsurprisingly) with -P.
It also shows up with -dM, etc.
I'm pretty sure the correct solution is to check
flag_no_output whereever flag_no_line_commands is checked, which is to say
precisely one missing place. Patch attached. I'm going to run this through
full regression testing and submit it.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |neroden at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17651