https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61779
--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Thu Jul 17 07:53:16 2014 New Revision: 212741 URL: https://gcc.gnu.org/viewcvs?rev=212741&root=gcc&view=rev Log: 2014-07-17 Richard Biener <rguent...@suse.de> Backport from mainline 2014-07-14 Richard Biener <rguent...@suse.de> PR tree-optimization/61779 * tree-ssa-copy.c (copy_prop_visit_cond_stmt): Always try simplifying a condition. * gcc.dg/tree-ssa/ssa-copyprop-2.c: New testcase. Added: branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/tree-ssa/ssa-copyprop-2.c Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/testsuite/ChangeLog branches/gcc-4_9-branch/gcc/tree-ssa-copy.c