This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/48383] Line continuations handled incorrectly in 4.5 and above
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 31 Mar 2011 09:12:43 +0000
- Subject: [Bug preprocessor/48383] Line continuations handled incorrectly in 4.5 and above
- Auto-submitted: auto-generated
- References: <bug-48383-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48383
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |jakub at gcc dot gnu.org
Resolution| |DUPLICATE
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-31 09:12:03 UTC ---
The C standard doesn't mandate how gcc -E output should look like, and you are
misusing a C preprocessor for purposes it wasn't meant to.
Just use gcc -E -P, then gcc doesn't emit line notes nor tries to provide
accurate line locations of tokens.
*** This bug has been marked as a duplicate of bug 41445 ***