a.c: ==== /* A \ BC */ <eof> Excecute a comment-preserving preprocessing: $ gcc -E -P -C a.c /* A BC C */
Notice the extra 'C', which is a bug. This bug has some significance as in this particular case there is another tool that has interest in the content of the C comment and now that tool fails. -- Summary: incorrect handling of backslashes in comments Product: gcc Version: 3.4.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: matti dot sangi at nokia dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31195