This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/53212] New: cpp consumes comment after pragma
- From: "ludo at gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 03 May 2012 13:06:23 +0000
- Subject: [Bug c/53212] New: cpp consumes comment after pragma
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53212
Bug #: 53212
Summary: cpp consumes comment after pragma
Classification: Unclassified
Product: gcc
Version: 4.6.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: ludo@gnu.org
Consider this program:
int foo ()
{
#pragma foo bar /* this is a comment */
}
"gcc -C -E the-file.c" consumes the comment, whereas it should leave it as is.