diff options
author | Jason Merrill <jason@gcc.gnu.org> | 2000-03-18 14:59:35 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2000-03-18 14:59:35 -0500 |
commit | 57fb7689e72e0a9bf97beebc102704214f9bcb33 (patch) | |
tree | 4f75b74924a831843d40304dde709e9042af7a06 /gcc | |
parent | 12a41c4810e5f8f435ca2df06ee9c0cc34967f23 (diff) | |
download | gcc-57fb7689e72e0a9bf97beebc102704214f9bcb33.zip gcc-57fb7689e72e0a9bf97beebc102704214f9bcb33.tar.gz gcc-57fb7689e72e0a9bf97beebc102704214f9bcb33.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/dwarf2out.c | 4 |
2 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 16c51d4..fe618c6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 9fedb94..fb4679c 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -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) |