* dwarf2out.c (loc_descriptor_from_tree): Return 0 for
language-specific tree codes.
* gcc.dg/debug/
20030605-1.c: New.
From-SVN: r67505
+2003-05-06 Richard Henderson <rth@redhat.com>
+
+ * dwarf2out.c (loc_descriptor_from_tree): Return 0 for
+ language-specific tree codes.
+
2003-06-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR middle-end/9986
break;
default:
+ /* Leave front-end specific codes as simply unknown. This comes
+ up, for instance, with the C STMT_EXPR. */
+ if ((unsigned int) TREE_CODE (loc)
+ >= (unsigned int) LAST_AND_UNUSED_TREE_CODE)
+ return 0;
+
+ /* Otherwise this is a generic code; we should just lists all of
+ these explicitly. Aborting means we forgot one. */
abort ();
}
+2003-06-05 Richard Henderson <rth@redhat.com>
+
+ * gcc.dg/debug/20030605-1.c: New.
+
2003-06-04 Mark Mitchell <mark@codesourcery.com>
* README.QMTEST: Update.
--- /dev/null
+/* Verify we don't ICE on statement-expressions. */
+/* { dg-do compile } */
+
+void foo(void)
+{
+ char buf[({ 4; })];
+}