http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59993
--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Thu Jan 30 18:28:19 2014 New Revision: 207316 URL: http://gcc.gnu.org/viewcvs?rev=207316&root=gcc&view=rev Log: 2014-01-30 Richard Biener <rguent...@suse.de> PR tree-optimization/59993 * tree-ssa-forwprop.c (associate_pointerplus): Check we can propagate form the earlier stmt and avoid the transform when the intermediate result is needed. * gcc.dg/torture/pr59993.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr59993.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-forwprop.c