From 9733d507ec592e1eeb35879bd151684e2a487893 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Thu, 5 Feb 2004 15:02:54 -0800 Subject: dwarf2out.c (force_type_die): Look up input type itself instead of root_type() of type. * dwarf2out.c (force_type_die): Look up input type itself instead of root_type() of type. From-SVN: r77348 --- gcc/dwarf2out.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/dwarf2out.c') diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index acd79c4..824add7 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -11958,7 +11958,7 @@ force_type_die (tree type) { dw_die_ref type_die; - type_die = lookup_type_die (root_type (type)); + type_die = lookup_type_die (type); if (!type_die) { dw_die_ref context_die; @@ -11971,7 +11971,7 @@ force_type_die (tree type) context_die = comp_unit_die; gen_type_die (type, context_die); - type_die = lookup_type_die (root_type (type)); + type_die = lookup_type_die (type); if (!type_die) abort(); } -- cgit v1.1