[Bug rtl-optimization/68506] [6 Regression] wrong code at -O3 on x86_64-linux-gnu
ktkachov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 27 09:50:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68506
--- Comment #6 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Fri Nov 27 09:49:38 2015
New Revision: 231003
URL: https://gcc.gnu.org/viewcvs?rev=231003&root=gcc&view=rev
Log:
[RTL-ifcvt] PR rtl-optimization/68506: Fix emitting order of insns in
IF-THEN-JOIN case
PR rtl-optimization/68506
* ifcvt.c (noce_try_cmove_arith): Try emitting the else basic block
first if emit_a exists or then_bb modifies 'b'. Reindent if-else
blocks.
* gcc.c-torture/execute/pr68506.c: New test.
Added:
trunk/gcc/testsuite/gcc.c-torture/execute/pr68506.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ifcvt.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list