[Bug preprocessor/31195] New: incorrect handling of backslashes in comments
matti dot sangi at nokia dot com
gcc-bugzilla@gcc.gnu.org
Fri Mar 16 10:47:00 GMT 2007
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
More information about the Gcc-bugs
mailing list