This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/14438] [3.3/3.4/3.5 Regression] -E of #pragma has negative line number
- From: "aoliva at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Mar 2004 06:55:06 -0000
- Subject: [Bug preprocessor/14438] [3.3/3.4/3.5 Regression] -E of #pragma has negative line number
- References: <20040305002353.14438.lindsayd@cisco.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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