Commit 8370aa3a by Richard Henderson Committed by Richard Henderson

dwarf2out.c (modified_type_die): Don't assign the qualified die to the unqualified type.

        * dwarf2out.c (modified_type_die): Don't assign the qualified die
        to the unqualified type.

From-SVN: r54675
parent e932b21b
2002-06-16 Richard Henderson <rth@redhat.com>
* dwarf2out.c (modified_type_die): Don't assign the qualified die
to the unqualified type.
Sun Jun 16 22:16:10 CEST 2002 Jan Hubicka <jh@suse.cz> Sun Jun 16 22:16:10 CEST 2002 Jan Hubicka <jh@suse.cz>
* i386-protos.h (x86_field_alignment): Declare. * i386-protos.h (x86_field_alignment): Declare.
......
...@@ -7603,11 +7603,11 @@ modified_type_die (type, is_const_type, is_volatile_type, context_die) ...@@ -7603,11 +7603,11 @@ modified_type_die (type, is_const_type, is_volatile_type, context_die)
} }
/* We want to equate the qualified type to the die below. */ /* We want to equate the qualified type to the die below. */
if (qualified_type) type = qualified_type;
type = qualified_type;
} }
equate_type_number_to_die (type, mod_type_die); if (type)
equate_type_number_to_die (type, mod_type_die);
if (item_type) if (item_type)
/* We must do this after the equate_type_number_to_die call, in case /* We must do this after the equate_type_number_to_die call, in case
this is a recursive type. This ensures that the modified_type_die this is a recursive type. This ensures that the modified_type_die
......
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