From: Eric Botcazou Date: Tue, 8 Dec 2015 17:08:18 +0000 (+0000) Subject: * gcc.dg/sso-9.c (foo): Robustify trick. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=315a541c457b2ad1a10cd04a4c20aed642a32678;p=gcc.git * gcc.dg/sso-9.c (foo): Robustify trick. From-SVN: r231416 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5ff217722c1..669f69fb1ea 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2015-12-08 Eric Botcazou + + * gcc.dg/sso-9.c (foo): Robustify trick. + 2015-12-08 David Malcolm * gcc.dg/plugin/diagnostic-test-expressions-1.c (test_alignof): diff --git a/gcc/testsuite/gcc.dg/sso-9.c b/gcc/testsuite/gcc.dg/sso-9.c index 6e767462e4d..765f16ad9ce 100644 --- a/gcc/testsuite/gcc.dg/sso-9.c +++ b/gcc/testsuite/gcc.dg/sso-9.c @@ -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); }