This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/68328] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu
- From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 24 Nov 2015 14:28:23 +0000
- Subject: [Bug rtl-optimization/68328] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu
- Auto-submitted: auto-generated
- References: <bug-68328-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68328
--- Comment #13 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 <bschmidt@redhat.com>
Kyrylo Tkachov <kyrylo.tkachov@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