+2010-04-20 Richard Guenther <rguenther@suse.de>
+
+ Backport from mainline
+ 2008-12-08 Jakub Jelinek <jakub@redhat.com>
+ PR c/35443
+ * c-pretty-print.c (pp_c_expression): Handle BIND_EXPR.
+
+ 2009-01-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/35742
+ * c-pretty-print.c (pp_c_expression): Handle GOTO_EXPR like
+ BIND_EXPR.
+
2010-04-20 Richard Guenther <rguenther@suse.de>
PR rtl-optimization/43438
pp_postfix_expression (pp, TREE_OPERAND (e, 1));
break;
+ case BIND_EXPR:
+ case GOTO_EXPR:
+ /* We don't yet have a way of dumping statements in a
+ human-readable format. */
+ pp_string (pp, "({...})");
+ break;
+
default:
pp_unsupported_tree (pp, e);
break;
+2010-04-20 Richard Guenther <rguenther@suse.de>
+
+ Backport from mainline
+ 2008-12-08 Jakub Jelinek <jakub@redhat.com>
+ PR c/35443
+ * gcc.dg/pr35443.c: New test.
+
+ 2009-01-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/35742
+ * gcc.dg/pr35742.c: New test.
+
2010-04-20 Richard Guenther <rguenther@suse.de>
PR rtl-optimization/43438
--- /dev/null
+/* PR c/35443 */
+/* { dg-options "" } */
+/* { dg-bogus "not supported by" "" { target *-*-* } 0 } */
+
+void
+foo ()
+{
+ ({ int i; i; })(); /* { dg-error "is not a function" } */
+}
--- /dev/null
+/* PR c/35742 */
+/* { dg-do compile } */
+/* { dg-options "-std=gnu99" } */
+/* { dg-bogus "not supported by" "" { target *-*-* } 0 } */
+
+void
+foo ()
+{
+ for (;;)
+ ({break;})(); /* { dg-error "is not a function" } */
+ for (;;)
+ ({continue;})(); /* { dg-error "is not a function" } */
+}