[Bug preprocessor/31182] New: preprocessor doubles up digits in token pasting

2007-03-14 Thread dsb at boyski dot com
preprocessor doubles up digits in token pasting Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dsb at boysk

[Bug preprocessor/31182] preprocessor doubles up digits in token pasting

2007-03-15 Thread dsb at boyski dot com
--- Comment #2 from dsb at boyski dot com 2007-03-15 12:42 --- This is because the default behavior is to preprocess in C mode but as I mentioned it happens in assembler mode. If you add the flag '-x assembler-with-cpp' you should see the reported result. My test case was in a

[Bug preprocessor/31182] preprocessor doubles up digits in token pasting

2007-03-15 Thread dsb at boyski dot com
--- Comment #3 from dsb at boyski dot com 2007-03-15 12:44 --- (when I said "this" I meant to refer to the "invalid token" warnings) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31182

[Bug preprocessor/31182] preprocessor doubles up digits in token pasting

2007-03-16 Thread dsb at boyski dot com
--- Comment #5 from dsb at boyski dot com 2007-03-16 12:58 --- I just downloaded the latest 4.2 snapshot (gcc-4.2-20070307) and built it but the behavior is the same. Given that the bugfix cited there dates back to October and that it says "Known to work: 4.2.0" I assume th