diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2009-10-14 05:01:24 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2009-10-14 05:01:24 +0000 |
commit | a83f540959b4af62a4ba7cf235760ae91bf6226b (patch) | |
tree | 609924f243016bc34952b6352c828e96702c1250 /gcc/tree.c | |
parent | 05130a3dcc23389818dcdc8748de8e9111dc71b5 (diff) | |
download | gcc-a83f540959b4af62a4ba7cf235760ae91bf6226b.zip gcc-a83f540959b4af62a4ba7cf235760ae91bf6226b.tar.gz gcc-a83f540959b4af62a4ba7cf235760ae91bf6226b.tar.bz2 |
re PR debug/41343 (sysdeps/ieee754/dbl-64/dosincos.c from glibc causes excessive memory use)
PR debug/41343
PR debug/41447
PR debug/41264
PR debug/41338
* tree.c (tree_node_structure_for_code): DEBUG_EXPR_DECL uses
decl with rtl.
(tree_code_size): Likewise.
From-SVN: r152749
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -287,6 +287,8 @@ tree_node_structure_for_code (enum tree_code code) return TS_LABEL_DECL; case RESULT_DECL: return TS_RESULT_DECL; + case DEBUG_EXPR_DECL: + return TS_DECL_WRTL; case CONST_DECL: return TS_CONST_DECL; case TYPE_DECL: @@ -670,6 +672,8 @@ tree_code_size (enum tree_code code) return sizeof (struct tree_type_decl); case FUNCTION_DECL: return sizeof (struct tree_function_decl); + case DEBUG_EXPR_DECL: + return sizeof (struct tree_decl_with_rtl); default: return sizeof (struct tree_decl_non_common); } |