This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/28521] -E output incorrectly concatenates tokens into trigraphs
- From: "sabre at nondot dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jul 2006 00:08:32 -0000
- Subject: [Bug preprocessor/28521] -E output incorrectly concatenates tokens into trigraphs
- References: <bug-28521-6809@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from sabre at nondot dot org 2006-07-29 00:08 -------
Andrew, I'm well aware that a trigraph is not a token.? If you read the report,
I say that "gcc -E" produces output that a subsequent GCC will not reparse into
the same result.
Again, this is the whole point of:
http://gcc.gnu.org/onlinedocs/cppinternals/Token-Spacing.html#Token-Spacing
and the reason why GCC doesn't "-E" this:
#define x -
-x
to "--"
-Chris
--
sabre at nondot dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28521