https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68185
--- Comment #7 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Tue Nov 24 14:27:51 2015 New Revision: 230813 URL: https://gcc.gnu.org/viewcvs?rev=230813&root=gcc&view=rev Log: [RTL-ree] PR rtl-optimization/68194: Restrict copy instruction in presence of conditional moves Backport from mainline 2015-11-24 Bernd Schmidt <bschm...@redhat.com> Kyrylo Tkachov <kyrylo.tkac...@arm.com> PR rtl-optimization/68194 PR rtl-optimization/68328 PR rtl-optimization/68185 * ree.c (combine_reaching_defs): Reject copy_needed case if copies_list is not empty. * gcc.c-torture/execute/pr68185.c: New test. * gcc.c-torture/execute/pr68328.c: Likewise. Added: branches/gcc-4_9-branch/gcc/testsuite/gcc.c-torture/execute/pr68185.c branches/gcc-4_9-branch/gcc/testsuite/gcc.c-torture/execute/pr68328.c Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/ree.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog