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 preprocessor/81515] New: C pre-processor allows invalid words


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81515

            Bug ID: 81515
           Summary: C pre-processor allows invalid words
           Product: gcc
           Version: 5.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: preprocessor
          Assignee: unassigned at gcc dot gnu.org
          Reporter: barto at cambridgesemantics dot com
  Target Milestone: ---

The following will parse successfully
#if BADTEST
#include <stdio.h>
#ele
#include <ctype.h>
#endif

#include <stdlib.h>

int main(int, char **)
{
  exit(0);
}

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