r228375 - in /trunk/gcc: ChangeLog ifcvt.c test...
ktkachov@gcc.gnu.org
ktkachov@gcc.gnu.org
Fri Oct 2 08:36:00 GMT 2015
Author: ktkachov
Date: Fri Oct 2 08:36:45 2015
New Revision: 228375
URL: https://gcc.gnu.org/viewcvs?rev=228375&root=gcc&view=rev
Log:
[RTL ifcvt] PR 67786, 67787: Check that intermediate instructions in the basic block don't clobber a reg used in condition
PR rtl-optimization/67786
PR rtl-optimization/67787
* ifcvt.c (bb_valid_for_noce_process_p): Reject basic block if
it modifies a reg used in the condition calculation.
* gcc.dg/pr67786.c: New test.
* gcc.dg/pr67787.c: Likewise.
Added:
trunk/gcc/testsuite/gcc.dg/pr67786.c
trunk/gcc/testsuite/gcc.dg/pr67787.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ifcvt.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list