diff mbox series

[v3,02/11] aarch64: Call named function in gcc.target/aarch64/aapcs64/ice_1.c

Message ID dcab4866c14b323b00d92348ddb975d79f713ef9.1700473918.git.fweimer@redhat.com
State New
Headers show
Series : More warnings as errors by default | expand

Commit Message

Florian Weimer Nov. 20, 2023, 9:55 a.m. UTC
This test looks like it intends to pass a small struct argument
through both a non-variadic and variadic argument, but due to
the typo, it does not achieve that.

gcc/testsuite/

	* gcc.target/aarch64/aapcs64/ice_1.c (foo): Call named.
---
 gcc/testsuite/gcc.target/aarch64/aapcs64/ice_1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Joseph Myers Nov. 22, 2023, 11:25 p.m. UTC | #1
On Mon, 20 Nov 2023, Florian Weimer wrote:

> This test looks like it intends to pass a small struct argument
> through both a non-variadic and variadic argument, but due to
> the typo, it does not achieve that.
> 
> gcc/testsuite/
> 
> 	* gcc.target/aarch64/aapcs64/ice_1.c (foo): Call named.

OK in the absence of AArch64 maintainer objections within 48 hours.
diff mbox series

Patch

diff --git a/gcc/testsuite/gcc.target/aarch64/aapcs64/ice_1.c b/gcc/testsuite/gcc.target/aarch64/aapcs64/ice_1.c
index 906ccebf616..edc35db2f6e 100644
--- a/gcc/testsuite/gcc.target/aarch64/aapcs64/ice_1.c
+++ b/gcc/testsuite/gcc.target/aarch64/aapcs64/ice_1.c
@@ -16,6 +16,6 @@  void unnamed (int, ...);
 
 void foo ()
 {
-  name (0, aaaa);
+  named (0, aaaa);
   unnamed (0, aaaa);
 }