> The new gcc.dg/sso-9.c test is failing for aarch64 and arm targets. There's
> no error generated if I compile the test from the command line for
> aarch64-none-elf. GCC for x86_64 does generate the error.
Fixed like so, applied as obvious, thanks for the heads up.
* gcc.dg/sso-9.c (foo): Robustify trick.
--
Eric Botcazou
Index: gcc.dg/sso-9.c
===================================================================
--- gcc.dg/sso-9.c (revision 231394)
+++ gcc.dg/sso-9.c (working copy)
@@ -22,6 +22,6 @@ void foo (int i, ...)
{
struct Rec a;
va_start (a.v, i);
- a.v = a.v, x = va_arg (a.v, int); /* { dg-error "array type|reverse storage order" } */
+ a.v = 0, x = va_arg (a.v, int); /* { dg-error "type|reverse storage order" } */
va_end (a.v);
}