From 315a541c457b2ad1a10cd04a4c20aed642a32678 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Tue, 8 Dec 2015 17:08:18 +0000 Subject: [PATCH] * gcc.dg/sso-9.c (foo): Robustify trick. From-SVN: r231416 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/sso-9.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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); } -- 2.30.2