summaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@wins.uva.nl>2001-05-18 00:43:07 +0200
committerAlexandre Oliva <aoliva@gcc.gnu.org>2001-05-17 22:43:07 +0000
commit3d2999ba098e1a539dbab56331d1ed80773848a3 (patch)
treeae5e2e2e454357f77689602c8a1b5c9b06dd00d3 /gcc/dwarf2out.c
parent754ad41da6fd1fc732db6130fd52fd120e447dc1 (diff)
downloadgcc-3d2999ba098e1a539dbab56331d1ed80773848a3.tar.gz
* dwarf2out.c (modified_type_die): Equate qualified type to die.
From-SVN: r42227
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 570c87a9dd9..6b825cf01a1 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -6982,6 +6982,10 @@ modified_type_die (type, is_const_type, is_volatile_type, context_die)
if (mod_type_die == NULL)
abort ();
}
+
+ /* We want to equate the qualified type to the die below. */
+ if (qualified_type)
+ type = qualified_type;
}
equate_type_number_to_die (type, mod_type_die);