+2006-08-05 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ PR c/28136
+ * c-parser.c (c_parser_postfix_expression_after_paren_type): Robustify.
+
2006-08-04 Jan Hubicka <jh@suse.cz>
PR target/26655
PR target/28270
- * reload.c (push_reload): Patch out the mismathcing instruction; return early.
+ * reload.c (push_reload): Patch out the mismatching instruction;
+ return early.
(find_reload): Bail out if the instruction was patched out.
2006-08-04 Jan Hubicka <jh@suse.cz>
struct c_expr expr;
start_init (NULL_TREE, NULL, 0);
type = groktypename (type_name);
- if (C_TYPE_VARIABLE_SIZE (type))
+ if (type != error_mark_node && C_TYPE_VARIABLE_SIZE (type))
{
error ("compound literal has variable size");
type = error_mark_node;
+2006-08-05 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ PR c/28136
+ * gcc.dg/init-bad-5.c: New test.
+
2006-08-03 Lee Millward <lee.millward@codesourcery.com>
- PR c++/28347
- * g++.dg/ext/typedef-init.C: Add new test for typedef
- initialization inside templates. Adjust existing
- error markers.
-
+ PR c++/28347
+ * g++.dg/ext/typedef-init.C: Add new test for typedef
+ initialization inside templates. Adjust existing error markers.
+
2006-08-03 Mark Mitchell <mark@codesourcery.com>
PR c++/28148
--- /dev/null
+/* PR c/28136 */
+/* { dg-do compile } */
+/* { dg-options "" } */
+
+int i = (struct A[]) {}; /* { dg-error "incomplete|empty|initialization" } */