[Bug preprocessor/13726] New: [3.3/3.4/3.5 regression]cpp -C -dI loses comments on same line as #include directives
neroden at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Jan 18 01:22:00 GMT 2004
Not really critical, but it is a regression from 2.95 and is known to break
some programs, notably one called cxref. :-(
Put this in test.c:
#include "test.h" /* comment */
(Put anything in test.h)
cpp -C -dI outputs
#include "test.h"
losing the comment.
--
Summary: [3.3/3.4/3.5 regression]cpp -C -dI loses comments on
same line as #include directives
Product: gcc
Version: 3.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: preprocessor
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: neroden at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13726
More information about the Gcc-bugs
mailing list