https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64853
--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Thu Jan 29 13:50:37 2015 New Revision: 220247 URL: https://gcc.gnu.org/viewcvs?rev=220247&root=gcc&view=rev Log: 2015-01-29 Richard Biener <rguent...@suse.de> PR tree-optimization/64853 * tree-vrp.c (vrp_valueize_1): Do not return anything if the stmt will get simulated again. * tree-ssa-ccp.c (valueize_op_1): Likewise. * gcc.dg/torture/pr64853.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr64853.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-ccp.c trunk/gcc/tree-vrp.c