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/17651] [3.4/4.0 Regression] Erroneous preprocessor output with -g when generating dependencies


------- 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


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