PR middle-end/27428
* c-lex.c (c_lex_with_flags) <CPP_N_INVALID>: Increment errorcount
to indicate the cpplib has issued an error message for us.
* gcc.dg/pr27428-1.c: New test case.
From-SVN: r115080
+2006-06-29 Roger Sayle <roger@eyesopen.com>
+
+ PR middle-end/27428
+ * c-lex.c (c_lex_with_flags) <CPP_N_INVALID>: Increment errorcount
+ to indicate the cpplib has issued an error message for us.
+
2006-06-29 Asher Langton <langton2@llnl.gov>
PR target/25765
case CPP_N_INVALID:
/* cpplib has issued an error. */
*value = error_mark_node;
+ errorcount++;
break;
case CPP_N_INTEGER:
+2006-06-29 Roger Sayle <roger@eyesopen.com>
+
+ PR middle-end/27428
+ * gcc.dg/pr27428-1.c: New test case.
+
2006-06-29 Mike Stump <mrs@apple.com>
* gcc.dg/compat/struct-layout-1_generate.c: Don't use common
--- /dev/null
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
+
+void foo()
+{
+ goto L;
+ if (0..) { L: ; } // { dg-error "too many decimal points" }
+}
+