https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61094
--- Comment #17 from Jeffrey A. Law <law at gcc dot gnu.org> --- Author: law Date: Fri Jun 13 16:50:01 2014 New Revision: 211651 URL: https://gcc.gnu.org/viewcvs?rev=211651&root=gcc&view=rev Log: PR rtl-optimization/61094 * ree.c (combine_reaching_defs): Do not reextend an insn if it was marked as do_no_reextend. If a copy is needed to eliminate an extension, then mark it as do_not_reextend. PR rtl-optimization/61094 * g++.dg/pr61094: New test. Added: branches/gcc-4_9-branch/gcc/testsuite/g++.dg/pr61094.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