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: r54677
This commit is contained in:
Richard Henderson 2002-06-16 13:54:30 -07:00 committed by Richard Henderson
parent 098bf2ff56
commit 001afe5903
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
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

View File

@ -7573,11 +7573,11 @@ modified_type_die (type, is_const_type, is_volatile_type, context_die)
}
/* 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