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/14438] [3.3/3.4/3.5 Regression] -E of #pragma has negative line number


------- Additional Comments From aoliva at gcc dot gnu dot org  2004-03-11 06:55 -------
You are right, it's the second cb_line_change, that I added in the second patch,
that is the culprit.  It doesn't seem to always (or ever?) have accurate line
number information in pfile->cur_token after we handle pragma poison.  I've
taken it out in my local tree and the problem went away.  Would you be willing
to give the patch a round of testing, perhaps even for the next release out of
the 3.3 branch, and post the patch for review by the cpp maintainers?  If not,
let me know, and I'll try to get to it.

Thanks for bring the problem to my attention, and sorry about the lossage.



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2004-03-05 08:20:00         |2004-03-11 06:55:05
               date|                            |


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


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