From: Segher Boessenkool Date: Tue, 30 Oct 2018 19:49:36 +0000 (+0100) Subject: xfail ira-shrink-wrap-prep tests (PR87708) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8d42623b370f4b3f11074ae783709c2b8a7fb65a;p=gcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e3fa8007fd1..491e5815866 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2018-10-30 Segher Boessenkool + + 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 * g++.dg/cpp1z/has-unique-obj-representations1.C: Test location too. diff --git a/gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-1.c b/gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-1.c index 24ea45fe40e..f290b9ccbdc 100644 --- a/gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-1.c +++ b/gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-1.c @@ -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*-*-* } } } */ diff --git a/gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-2.c b/gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-2.c index a23ac4efb1c..6212c95585d 100644 --- a/gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-2.c +++ b/gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-2.c @@ -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*-*-* } } } */