This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17964] [4.0/4.1 Regression] cpp error messages contain wrong line in C++
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Oct 2005 00:40:11 -0000
- Subject: [Bug c++/17964] [4.0/4.1 Regression] cpp error messages contain wrong line in C++
- References: <bug-17964-1447@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from mmitchel at gcc dot gnu dot org 2005-10-31 00:40 -------
Leaving as P2; indeed, this is something we should fix.
Overall, the Weinberg/Austern patch to improve compilation speed by reading in
all the tokens upfront has indeed caused several diagnostic issues, all
relating to the fact that we rely on cpplib to tell us about our current
location, and that's no longer possible. We need to explore whether there's a
good way to recover that information, having pre-scanned the file.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17964