xfail ira-shrink-wrap-prep tests (PR87708)

After r265398, the ira-shrinkwrap-prep-[12].c tests fail on all
targets, because the IRA feature tested can only move hard registers
down, and we no longer have hard registers for the function parameters
at this stage.


gcc/testsuite/
	PR rtl-optimization/87708
	gcc.dg/ira-shrinkwrap-prep-1.c: xfail test.
	gcc.dg/ira-shrinkwrap-prep-2.c: xfail test.

From-SVN: r265639
This commit is contained in:
Segher Boessenkool 2018-10-30 20:49:36 +01:00 committed by Segher Boessenkool
parent 3487ab638e
commit 8d42623b37
3 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2018-10-30 Segher Boessenkool <segher@kernel.crashing.org>
PR rtl-optimization/87708
* gcc.dg/ira-shrinkwrap-prep-1.c: xfail test.
* gcc.dg/ira-shrinkwrap-prep-2.c: xfail test.
2018-10-30 Paolo Carlini <paolo.carlini@oracle.com>
* g++.dg/cpp1z/has-unique-obj-representations1.C: Test location too.

View File

@ -24,6 +24,6 @@ bar (long a)
return r;
}
/* { dg-final { scan-rtl-dump "Will split live ranges of parameters" "ira" } } */
/* { dg-final { scan-rtl-dump "Split live-range of register" "ira" } } */
/* { dg-final { scan-rtl-dump "Performing shrink-wrapping" "pro_and_epilogue" } } */
/* { dg-final { scan-rtl-dump "Will split live ranges of parameters" "ira" } } */
/* { dg-final { scan-rtl-dump "Split live-range of register" "ira" { xfail *-*-* } } } */
/* { dg-final { scan-rtl-dump "Performing shrink-wrapping" "pro_and_epilogue" { xfail powerpc*-*-* } } } */

View File

@ -29,7 +29,7 @@ bar (long a)
return r;
}
/* { dg-final { scan-rtl-dump "Will split live ranges of parameters" "ira" } } */
/* { dg-final { scan-rtl-dump "Split live-range of register" "ira" } } */
/* { dg-final { scan-rtl-dump "Will split live ranges of parameters" "ira" } } */
/* { dg-final { scan-rtl-dump "Split live-range of register" "ira" { xfail *-*-* } } } */
/* XFAIL due to PR70681. */
/* { dg-final { scan-rtl-dump "Performing shrink-wrapping" "pro_and_epilogue" { xfail arm*-*-* powerpc*-*-* } } } */