* dwarf2out.c (dwarf2out_finish): Swap order of break_out_includes and
prune_unused_types calls.
From-SVN: r63734
+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
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);