Commit 815f20ab by Jeff Law Committed by Jeff Law

re PR rtl-optimization/69942 (gcc.dg/ifcvt-5.c FAILs)

	PR rtl-optimization/69942
	* gcc.dg/ifcvt-5.c: Use "word_mode" rather than "int" to limit the
	effects of argument promotions.

From-SVN: r233922
parent 2c055256
2016-03-02 Jeff Law <law@redhat.com> 2016-03-02 Jeff Law <law@redhat.com>
PR rtl-optimization/69942
* gcc.dg/ifcvt-5.c: Use "word_mode" rather than "int" to limit the
effects of argument promotions.
PR tree-optimization/69987 PR tree-optimization/69987
* gfortran.dg/pr69987.f90: Use "-w" to avoid failures when the * gfortran.dg/pr69987.f90: Use "-w" to avoid failures when the
target does not support -fprefetch-loop-arrays. target does not support -fprefetch-loop-arrays.
......
...@@ -2,11 +2,14 @@ ...@@ -2,11 +2,14 @@
parameter would not allow it. */ parameter would not allow it. */
/* { dg-options "-fdump-rtl-ce1 -O2 --param max-rtl-if-conversion-insns=1" } */ /* { dg-options "-fdump-rtl-ce1 -O2 --param max-rtl-if-conversion-insns=1" } */
int
foo (int x, int y, int a) typedef int word __attribute__((mode(word)));
word
foo (word x, word y, word a)
{ {
int i = x; word i = x;
int j = y; word j = y;
if (x > y) if (x > y)
{ {
i = a; i = a;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment