+2018-06-05 Steve Ellcey <sellcey@cavium.com>
+
+ PR target/79924
+ * gcc.target/aarch64/mgeneral-regs_1.c: Update error message.
+ * gcc.target/aarch64/mgeneral-regs_2.c: Ditto.
+ * gcc.target/aarch64/mgeneral-regs_3.c: Ditto.
+ * gcc.target/aarch64/nofp_1.c: Ditto.
+
2018-06-05 Andre Vieira <andre.simoesdiasvieira@arm.com>
* gcc.target/arm/cmse/cmse-1c99.c: New test.
typedef int int32x2_t __attribute__ ((__vector_size__ ((8))));
-/* { dg-error "'-mgeneral-regs-only' is incompatible with vector return type" "" {target "aarch64*-*-*"} .+2 } */
-/* { dg-error "'-mgeneral-regs-only' is incompatible with vector argument" "" {target "aarch64*-*-*"} .+1 } */
+/* { 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)
{
return a + b;
va_list argp;
va_start (argp, i);
int32x2_t x = (int32x2_t) {0, 1};
- x += va_arg (argp, int32x2_t); /* { dg-error "'-mgeneral-regs-only' is incompatible with vector varargs" } */
+ x += va_arg (argp, int32x2_t); /* { dg-error "'-mgeneral-regs-only' is incompatible with the use of vector types" } */
return x[0] + x[1];
}
int
test (int i, ...)
{
- float f = (float) i; /* { dg-error "'-mgeneral-regs-only' is incompatible with floating-point code" } */
+ float f = (float) i; /* { dg-error "'-mgeneral-regs-only' is incompatible with the use of floating-point types" } */
if (f != f) abort ();
return 2;
}
{
int32x2_t a = (int32x2_t) {0, 1};
int32x2_t b = (int32x2_t) {2, 3};
- return test (2, a, b); /* { dg-error "'\\+nofp' feature modifier is incompatible with vector argument" } */
+ return test (2, a, b); /* { dg-error "'\\+nofp' feature modifier is incompatible with the use of vector types" } */
}