* dwarf2out.c (modified_type_die): Don't assign the qualified die
to the unqualified type.
From-SVN: r54677
+2002-06-16 Richard Henderson <rth@redhat.com>
+
+ PR c/7030
+ * dwarf2out.c (modified_type_die): Don't assign the qualified die
+ to the unqualified type.
+
2002-06-14 Jeff Sturm <jsturm@one-point.com>
* config/sparc/sparc.h (DYNAMIC_CHAIN_ADDRESS): Add
}
/* 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)
/* 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