public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] aarch64: fix eh_return-3.c test
@ 2023-12-04 14:51 Szabolcs Nagy
  2023-12-04 17:05 ` Richard Sandiford
  0 siblings, 1 reply; 2+ messages in thread
From: Szabolcs Nagy @ 2023-12-04 14:51 UTC (permalink / raw)
  To: gcc-patches; +Cc: Andrew Pinski

gcc/testsuite/ChangeLog:

	* gcc.target/aarch64/eh_return-3.c: Fix when retaa is available.
---
 gcc/testsuite/gcc.target/aarch64/eh_return-3.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gcc/testsuite/gcc.target/aarch64/eh_return-3.c b/gcc/testsuite/gcc.target/aarch64/eh_return-3.c
index a17baa86501..d180fa7c455 100644
--- a/gcc/testsuite/gcc.target/aarch64/eh_return-3.c
+++ b/gcc/testsuite/gcc.target/aarch64/eh_return-3.c
@@ -12,8 +12,12 @@
 **	cbz	x4, .*
 **	add	sp, sp, x5
 **	br	x6
+** (
 **	hint	29 // autiasp
 **	ret
+** |
+**	retaa
+** )
 **	mov	x5, x0
 **	mov	x4, 1
 **	mov	x6, x1
-- 
2.25.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] aarch64: fix eh_return-3.c test
  2023-12-04 14:51 [PATCH] aarch64: fix eh_return-3.c test Szabolcs Nagy
@ 2023-12-04 17:05 ` Richard Sandiford
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Sandiford @ 2023-12-04 17:05 UTC (permalink / raw)
  To: Szabolcs Nagy; +Cc: gcc-patches, Andrew Pinski

Szabolcs Nagy <szabolcs.nagy@arm.com> writes:
> gcc/testsuite/ChangeLog:
>
> 	* gcc.target/aarch64/eh_return-3.c: Fix when retaa is available.

OK, thanks.

Richard

> ---
>  gcc/testsuite/gcc.target/aarch64/eh_return-3.c | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/gcc/testsuite/gcc.target/aarch64/eh_return-3.c b/gcc/testsuite/gcc.target/aarch64/eh_return-3.c
> index a17baa86501..d180fa7c455 100644
> --- a/gcc/testsuite/gcc.target/aarch64/eh_return-3.c
> +++ b/gcc/testsuite/gcc.target/aarch64/eh_return-3.c
> @@ -12,8 +12,12 @@
>  **	cbz	x4, .*
>  **	add	sp, sp, x5
>  **	br	x6
> +** (
>  **	hint	29 // autiasp
>  **	ret
> +** |
> +**	retaa
> +** )
>  **	mov	x5, x0
>  **	mov	x4, 1
>  **	mov	x6, x1

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-04 17:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-04 14:51 [PATCH] aarch64: fix eh_return-3.c test Szabolcs Nagy
2023-12-04 17:05 ` Richard Sandiford

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).