This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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
file with a .s extension which causes cpp/gcc to infer '-x assembler-with-cpp'.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31182


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]