dwarf2out.c (dwarf2out_decl): Don't emit anything for types with TYPE_DECL_SUPPRESS_DEBUG set.

* dwarf2out.c (dwarf2out_decl): Don't emit anything for types
        with TYPE_DECL_SUPPRESS_DEBUG set.

From-SVN: r32622
This commit is contained in:
Jason Merrill 2000-03-18 14:59:35 -05:00
parent 12a41c4810
commit 57fb7689e7
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-03-17 Jason Merrill <jason@casey.cygnus.com>
* dwarf2out.c (dwarf2out_decl): Don't emit anything for types
with TYPE_DECL_SUPPRESS_DEBUG set.
2000-03-18 Richard Henderson <rth@cygnus.com>
* flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
@ -9,7 +14,7 @@
(expander_call_insn_operand): Remove.
(ix86_expand_epilogue): New arg `emit_return' to control return insn.
* i386.h (PREDICATE_CODES): Update.
* i386.md (all call expanders): Remove predicates, remove special
* i386.md (all call expanders): Remove predicates, remove special
handling for half-pic.
(*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
(*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.

View File

@ -9520,6 +9520,10 @@ dwarf2out_decl (decl)
break;
case TYPE_DECL:
/* Don't emit stubs for types unless they are needed by other DIEs. */
if (TYPE_DECL_SUPPRESS_DEBUG (decl))
return;
/* Don't bother trying to generate any DIEs to represent any of the
normal built-in types for the language we are compiling. */
if (DECL_SOURCE_LINE (decl) == 0)