https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86079
Andreas Schwab changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86079
--- Comment #9 from Andreas Schwab ---
There is no conformance bug because the standard does not specify a textual
representation of the preprocessor phases. Also, your input is INVALID C
anyway.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86079
--- Comment #8 from jbeulich at novell dot com ---
(In reply to Andreas Schwab from comment #6)
> In C mode, with line numbers, the newlines are required to preserve the line
> number of the tokens.
I don't think preserving line numbers is more i
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86079
--- Comment #7 from jbeulich at novell dot com ---
(In reply to Andreas Schwab from comment #5)
> It's not plain C since the stray backslashes are invalid.
As said - try with the stray ones removed, i.e.
unsigned \
int \
u \
;
This _is_ valid C
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86079
--- Comment #6 from Andreas Schwab ---
In C mode, with line numbers, the newlines are required to preserve the line
number of the tokens.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86079
--- Comment #5 from Andreas Schwab ---
It's not plain C since the stray backslashes are invalid.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86079
--- Comment #4 from jbeulich at novell dot com ---
(In reply to Andreas Schwab from comment #3)
> Did you use -xassembler-with-cpp? Without that it's INVALID.
No, I did not, and the example given also is plain C code (minus the too many
backslas
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86079
--- Comment #3 from Andreas Schwab ---
Did you use -xassembler-with-cpp? Without that it's INVALID.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86079
--- Comment #2 from Andreas Schwab ---
I don't see any difference in the preprocessor out with or without -P apart
from the line comments.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86079
--- Comment #1 from jbeulich at novell dot com ---
Interesting - with -P the problem goes away.
10 matches
Mail list logo