aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2020-08-13 12:59:13 +0100
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 15:08:09 -0300
commit818469e6eb520e9e8b66b617d72d3d11c741ec57 (patch)
treef47f37be0be22f0d3b15b9df458e39b67f1821ee /gcc/testsuite
parenta9ed94c129c99104b468b287ef188cf90f150e9a (diff)
Revert "AArch64: Add if condition in aarch64_function_value [PR96479]"
This reverts commit b418ccb358e428091fb9c6020fd10be5ae40a17a.
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/gcc.target/aarch64/mgeneral-regs_1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.target/aarch64/mgeneral-regs_1.c b/gcc/testsuite/gcc.target/aarch64/mgeneral-regs_1.c
index 6f785c99b74..336402ead84 100644
--- a/gcc/testsuite/gcc.target/aarch64/mgeneral-regs_1.c
+++ b/gcc/testsuite/gcc.target/aarch64/mgeneral-regs_1.c
@@ -4,6 +4,6 @@ typedef int int32x2_t __attribute__ ((__vector_size__ ((8))));
/* { dg-error "'-mgeneral-regs-only' is incompatible with the use of vector types" "" {target "aarch64*-*-*"} .+1 } */
int32x2_t test (int32x2_t a, int32x2_t b)
-{ /* { dg-error "'-mgeneral-regs-only' is incompatible with the use of vector types" } */
- return a + b; /* { dg-error "'-mgeneral-regs-only' is incompatible with the use of vector types" } */
+{
+ return a + b;
}