OSDN Git Service

* dwarf2out.c (force_type_die): Look up input type itself
authordpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Feb 2004 23:02:54 +0000 (23:02 +0000)
committerdpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Feb 2004 23:02:54 +0000 (23:02 +0000)
       instead of root_type() of type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77348 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/dwarf2out.c

index 30da54b..8d1efc6 100644 (file)
@@ -1,3 +1,8 @@
+2004-02-05  Devang Patel  <dpatel@apple.com>
+
+       * dwarf2out.c (force_type_die): Look up input type itself
+       instead of root_type() of type.
+       
 2004-02-05  Andreas Krebbel  <krebbel1@de.ibm.com>
 
        * config/s390/s390.md ("*tmqidi_ext"): New insn.
index acd79c4..824add7 100644 (file)
@@ -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();
     }