public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [COMMITTED] gcc: xtensa: fix pr95571 test for call0 ABI
@ 2022-06-12  5:51 Max Filippov
  0 siblings, 0 replies; only message in thread
From: Max Filippov @ 2022-06-12  5:51 UTC (permalink / raw)
  To: gcc-patches

gcc/testsuite/
	* g++.target/xtensa/pr95571.C (__xtensa_libgcc_window_spill):
	New definition.
---
 gcc/testsuite/g++.target/xtensa/pr95571.C | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gcc/testsuite/g++.target/xtensa/pr95571.C b/gcc/testsuite/g++.target/xtensa/pr95571.C
index 59fe28528380..354e8cc660c7 100644
--- a/gcc/testsuite/g++.target/xtensa/pr95571.C
+++ b/gcc/testsuite/g++.target/xtensa/pr95571.C
@@ -3,6 +3,12 @@
 extern "C" void abort(void);
 extern "C" void __xtensa_libgcc_window_spill(void);
 
+#ifdef __XTENSA_CALL0_ABI__
+void __xtensa_libgcc_window_spill(void)
+{
+}
+#endif
+
 static int call;
 static int cnt;
 
-- 
2.30.2


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-12  5:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-12  5:51 [COMMITTED] gcc: xtensa: fix pr95571 test for call0 ABI Max Filippov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).