re PR rtl-optimization/78241 (wrong code with -funroll-loops)

PR rtl-optimization/78241
	* loop-unroll.c (unroll_loop_runtime_iterations): Don't adjust 'niter', but
	emit initial peel copy if niter expr is not reliable.

From-SVN: r245152
This commit is contained in:
Pat Haugen 2017-02-03 14:20:30 +00:00 committed by Pat Haugen
parent 30c6ec2f53
commit baa2d1cd76
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2017-02-03 Pat Haugen <pthaugen@us.ibm.com>
PR target/79158
* gcc.target/powerpc/pr70669.c: Use 'r' in an expression to force back
to VSX reg.
2017-02-02 Jan Hubicka <hubicka@ucw.cz>
* gcc.dg/tree-ssa/ssa-ifcombine-1.c: Check for no profile mismatches.

View file

@ -13,7 +13,7 @@ void foo (TYPE *p, TYPE *q)
#ifndef NO_ASM
__asm__ (" # %0" : "+r" (r));
#endif
*p = r;
*p = r + r;
}
/* { dg-final { scan-assembler "mfvsrd" } } */