* dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
rather than die->die_tag.
From-SVN: r31905
+2000-02-10 Jason Merrill <jason@casey.cygnus.com>
+
+ * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
+ rather than die->die_tag.
+
Thu Feb 10 16:26:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* combine.c (make_extraction, force_to_mode): Avoid warning on
{
dw_die_ref origin_die = NULL;
- if (die->die_tag != DW_TAG_subprogram)
+ if (TREE_CODE (origin) != FUNCTION_DECL)
{
/* We may have gotten separated from the block for the inlined
function, if we're in an exception handler or some such; make