]> gcc.gnu.org Git - gcc.git/commitdiff
dwarf2out.c (dwarf2out_finish): Swap order of break_out_includes and prune_unused_typ...
authorZdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
Mon, 3 Mar 2003 21:37:11 +0000 (22:37 +0100)
committerZdenek Dvorak <rakdver@gcc.gnu.org>
Mon, 3 Mar 2003 21:37:11 +0000 (21:37 +0000)
* dwarf2out.c (dwarf2out_finish): Swap order of break_out_includes and
prune_unused_types calls.

From-SVN: r63734

gcc/ChangeLog
gcc/dwarf2out.c

index 058e788068e2cc50b0ad0384183f8adfc5331f4c..09c7c4c9a0650fee98a7c004581bbc4057b4aae9 100644 (file)
@@ -1,3 +1,8 @@
+2003-03-03  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
+
+       * dwarf2out.c (dwarf2out_finish): Swap order of break_out_includes and
+       prune_unused_types calls.
+
 2003-03-03  Jason Merrill  <jason@redhat.com>
 
        * tree-inline.c (find_builtin_longjmp_call): Save and restore
index 03d02cc386005898e1a67adb27b54215813fd4da..a1a06cbf9268447dd4e8e8b292cad9c9b2f2691c 100644 (file)
@@ -12975,14 +12975,14 @@ dwarf2out_finish (input_filename)
      we'll see the end of an include file before the beginning.  */
   reverse_all_dies (comp_unit_die);
 
+  if (flag_eliminate_unused_debug_types)
+    prune_unused_types ();
+
   /* Generate separate CUs for each of the include files we've seen.
      They will go into limbo_die_list.  */
   if (flag_eliminate_dwarf2_dups)
     break_out_includes (comp_unit_die);
 
-  if (flag_eliminate_unused_debug_types)
-    prune_unused_types ();
-
   /* Traverse the DIE's and add add sibling attributes to those DIE's
      that have children.  */
   add_sibling_attributes (comp_unit_die);
This page took 0.10132 seconds and 5 git commands to generate.