1 From ad56d8723708528a6e0c4bd8f43184ce94e8a83a Mon Sep 17 00:00:00 2001
2 From: Richard Lowe <richlowe@richlowe.net>
3 Date: Thu, 2 May 2019 17:54:20 +0000
4 Subject: tests: x86_64 pro_and_epilogue RTL can't work with
7 The RTL is included directly in the test, and was generated without
10 Attempting the test with -msave-args means the prologue and epilogue
11 adjustments think there are saved parameters where there are not.
13 gcc/testsuite/gcc.dg/rtl/x86_64/pro_and_epilogue.c | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
16 diff --git a/gcc/testsuite/gcc.dg/rtl/x86_64/pro_and_epilogue.c b/gcc/testsuite/gcc.dg/rtl/x86_64/pro_and_epilogue.c
17 index b6f723a6e602..ed5db9cace3b 100644
18 --- a/gcc/testsuite/gcc.dg/rtl/x86_64/pro_and_epilogue.c
19 +++ b/gcc/testsuite/gcc.dg/rtl/x86_64/pro_and_epilogue.c
21 /* { dg-do compile { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
22 /* { dg-options "-fdump-rtl-pro_and_epilogue" } */
23 +/* { dg-skip-if "RTL in test doesn't save arguments" { *-*-* } "-msave-args" "" } */
25 /* Lightly-modified dump of test.c.274r.split2 for x86_64. */
27 @@ -95,7 +96,7 @@ int __RTL (startwith ("pro_and_epilogue")) test_1 (int i, int j, int k)
28 (cnote 31 NOTE_INSN_DELETED)
36 @@ -107,4 +108,3 @@ int __RTL (startwith ("pro_and_epilogue")) test_1 (int i, int j, int k)
38 /* We expect a jump_insn to "simple_return". */
39 /* { dg-final { scan-rtl-dump-times "simple_return" 2 "pro_and_epilogue" } } */