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: r115133
+2006-07-02 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-23 Richard Guenther <rguenther@suse.de>
PR middle-end/28045
case CPP_N_INVALID:
/* cpplib has issued an error. */
*value = error_mark_node;
+ errorcount++;
break;
case CPP_N_INTEGER:
+2006-07-02 Roger Sayle <roger@eyesopen.com>
+
+ PR middle-end/27428
+ * gcc.dg/pr27428-1.c: New test case.
+
2006-06-25 Lee Millward <lee.millward@gmail.com>
PR c++/27821
--- /dev/null
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
+
+void foo()
+{
+ goto L;
+ if (0..) { L: ; } // { dg-error "too many decimal points" }
+}
+