python/hypothesis: update to 6.122.3
[oi-userland.git] / components / developer / gcc-13 / patches / 0014-tests-x86_64-pro_and_epilogue-RTL-can-t-work-with-ms.patch
blobb3a97e43b3b26955f8f87291400639e3b864fbee
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
5 -msave-args
7 The RTL is included directly in the test, and was generated without
8 saved parameters.
10 Attempting the test with -msave-args means the prologue and epilogue
11 adjustments think there are saved parameters where there are not.
12 ---
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
20 @@ -1,5 +1,6 @@
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)
29 ) ;; insn-chain
30 (crtl
31 - (return_rtx
32 + (return_rtx
33 (reg/i:SI ax)
34 ) ;; return_rtx
35 ) ;; crtl
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" } } */