Commit a83f5409 by Alexandre Oliva Committed by Alexandre Oliva

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
parent 05130a3d
2009-10-14 Alexandre Oliva <aoliva@redhat.com>
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.
2009-10-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2009-10-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* builtins.c (fold_builtin_1): Support complex "arc" functions. * builtins.c (fold_builtin_1): Support complex "arc" functions.
...@@ -287,6 +287,8 @@ tree_node_structure_for_code (enum tree_code code) ...@@ -287,6 +287,8 @@ tree_node_structure_for_code (enum tree_code code)
return TS_LABEL_DECL; return TS_LABEL_DECL;
case RESULT_DECL: case RESULT_DECL:
return TS_RESULT_DECL; return TS_RESULT_DECL;
case DEBUG_EXPR_DECL:
return TS_DECL_WRTL;
case CONST_DECL: case CONST_DECL:
return TS_CONST_DECL; return TS_CONST_DECL;
case TYPE_DECL: case TYPE_DECL:
...@@ -670,6 +672,8 @@ tree_code_size (enum tree_code code) ...@@ -670,6 +672,8 @@ tree_code_size (enum tree_code code)
return sizeof (struct tree_type_decl); return sizeof (struct tree_type_decl);
case FUNCTION_DECL: case FUNCTION_DECL:
return sizeof (struct tree_function_decl); return sizeof (struct tree_function_decl);
case DEBUG_EXPR_DECL:
return sizeof (struct tree_decl_with_rtl);
default: default:
return sizeof (struct tree_decl_non_common); return sizeof (struct tree_decl_non_common);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment