[Bug preprocessor/86079] preprocessor fails to splice lines

2018-06-07 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86079 Andreas Schwab changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug preprocessor/86079] preprocessor fails to splice lines

2018-06-07 Thread sch...@linux-m68k.org
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.

[Bug preprocessor/86079] preprocessor fails to splice lines

2018-06-07 Thread jbeulich at novell dot com
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

[Bug preprocessor/86079] preprocessor fails to splice lines

2018-06-07 Thread jbeulich at novell dot com
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

[Bug preprocessor/86079] preprocessor fails to splice lines

2018-06-07 Thread sch...@linux-m68k.org
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.

[Bug preprocessor/86079] preprocessor fails to splice lines

2018-06-07 Thread sch...@linux-m68k.org
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.

[Bug preprocessor/86079] preprocessor fails to splice lines

2018-06-07 Thread jbeulich at novell dot com
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

[Bug preprocessor/86079] preprocessor fails to splice lines

2018-06-07 Thread sch...@linux-m68k.org
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.

[Bug preprocessor/86079] preprocessor fails to splice lines

2018-06-07 Thread sch...@linux-m68k.org
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.

[Bug preprocessor/86079] preprocessor fails to splice lines

2018-06-07 Thread jbeulich at novell dot com
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.