------- Comment #10 from jakub at gcc dot gnu dot org 2007-11-01 23:25 ------- The testcase fails btw: Executing on host: /usr/src/gcc/obj/gcc/xgcc -B/usr/src/gcc/obj/gcc/ /usr/src/gcc/gcc/testsuite/gcc.dg/cpp/pr30805.c -ansi -pedantic-errors -fno-show-column -E -o pr30805.i (timeout = 300) /usr/src/gcc/gcc/testsuite/gcc.dg/cpp/pr30805.c:4: error: anonymous variadic macros were introduced in C99 /usr/src/gcc/gcc/testsuite/gcc.dg/cpp/pr30805.c:5: error: ISO C99 requires rest arguments to be used compiler exited with status 1 output is: /usr/src/gcc/gcc/testsuite/gcc.dg/cpp/pr30805.c:4: error: anonymous variadic macros were introduced in C99 /usr/src/gcc/gcc/testsuite/gcc.dg/cpp/pr30805.c:5: error: ISO C99 requires rest arguments to be used
FAIL: gcc.dg/cpp/pr30805.c (test for excess errors) Excess errors: /usr/src/gcc/gcc/testsuite/gcc.dg/cpp/pr30805.c:4: error: anonymous variadic macros were introduced in C99 /usr/src/gcc/gcc/testsuite/gcc.dg/cpp/pr30805.c:5: error: ISO C99 requires rest arguments to be used If I add /* { dg-options "-std=gnu99" } */ (or -std=gnu89 or -std=c99), then it fails with: pr30805.c:6: error: expected identifier or `(' before numeric constant It doesn't ICE in either case (and ICEd with older cc1). Now if the above error message is correct, we should add the dg-options line and dg-error for this error. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30805