[Bug tree-optimization/48694] [4.7 Regression] possible memory hog bug
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 26 10:15:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48694
--- Comment #9 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-04-26 10:12:18 UTC ---
Author: rguenth
Date: Tue Apr 26 10:12:14 2011
New Revision: 172957
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172957
Log:
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.
Modified:
trunk/gcc/ChangeLog
More information about the Gcc-bugs
mailing list