Commit d10b8e05 by Jason Merrill Committed by Jason Merrill

dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin) rather than die->die_tag.

        * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
        rather than die->die_tag.

From-SVN: r31905
parent 729a2125
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
......
......@@ -7395,7 +7395,7 @@ add_abstract_origin_attribute (die, origin)
{
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment