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 c/53212] New: cpp consumes comment after pragma


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.


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