diff options
author | Richard Biener <rguenth@gcc.gnu.org> | 2011-04-26 10:12:14 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2011-04-26 10:12:14 +0000 |
commit | 961562d8d8720d823f3904050c16a2c65c9a5599 (patch) | |
tree | 5ae45dbeef3467012f6cb5c4e2396e9be874cdf0 /gcc/tree-ssa.c | |
parent | ce3ba3827f2215553367dd9946b9e3cfe3befc92 (diff) | |
download | gcc-961562d8d8720d823f3904050c16a2c65c9a5599.zip gcc-961562d8d8720d823f3904050c16a2c65c9a5599.tar.gz gcc-961562d8d8720d823f3904050c16a2c65c9a5599.tar.bz2 |
re PR tree-optimization/48694 (possible memory hog bug)
2011-04-26 Richard Guenther <rguenther@suse.de>
PR middle-end/48694
* tree.h (OEP_CONSTANT_ADDRESS_OF): New operand_equal_flag.
* fold-const.c (operand_equal_p): For TREE_CONSTANT ADDR_EXPRs
compare the operands with OEP_CONSTANT_ADDRESS_OF. Treat
trees with TREE_SIDE_EFFECTS equal when OEP_CONSTANT_ADDRESS_OF
is set.
* gcc.dg/torture/pr48694-1.c: New testcase.
* gcc.dg/torture/pr48694-2.c: Likewise.
From-SVN: r172957
Diffstat (limited to 'gcc/tree-ssa.c')
0 files changed, 0 insertions, 0 deletions