[Bug preprocessor/60570] New: expression in 'elif' directive mis-diagnosed as error when group will be skipped
Severity: minor Priority: P3 Component: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: seb.grindle at gmail dot com Consider the following C99 program: #if 1 int i; #elif 1/0 #endif With gcc 4.7.3: gcc -c test.c we get test.c:
[Bug preprocessor/60570] expression in 'elif' directive mis-diagnosed as error when group will be skipped
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60570 --- Comment #2 from seb.grindle at gmail dot com --- 19040 was sort of the opposite. Here we shouldn't get a error but do; there the report was of the form "this should produce a diagostic but doesn't"