From ce70456bd6bebd23787157dd3f0cc65eb4ad381d Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Sun, 20 Jun 2004 14:46:33 +0200 Subject: [PATCH] struct-complex-1_x.c: Add dummy symbol. * gcc.dg/compat/struct-complex-1_x.c: Add dummy symbol. * gcc.dg/compat/struct-complex-1_y.c: Likewise. * gcc.dg/compat/union-m128-1_x.c: Likewise. * gcc.dg/compat/union-m128-1_y.c: Likewise. From-SVN: r83411 --- gcc/testsuite/ChangeLog | 7 +++++++ gcc/testsuite/gcc.dg/compat/struct-complex-1_x.c | 3 +++ gcc/testsuite/gcc.dg/compat/struct-complex-1_y.c | 3 +++ gcc/testsuite/gcc.dg/compat/union-m128-1_x.c | 3 +++ gcc/testsuite/gcc.dg/compat/union-m128-1_y.c | 3 +++ 5 files changed, 19 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3cee3778ddf..78829ebe0d0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2004-06-20 Eric Botcazou + + * gcc.dg/compat/struct-complex-1_x.c: Add dummy symbol. + * gcc.dg/compat/struct-complex-1_y.c: Likewise. + * gcc.dg/compat/union-m128-1_x.c: Likewise. + * gcc.dg/compat/union-m128-1_y.c: Likewise. + 2004-06-20 Zack Weinberg * g++.dg/expr/enum1.C, g++.dg/opt/const3.C: Declare abort with diff --git a/gcc/testsuite/gcc.dg/compat/struct-complex-1_x.c b/gcc/testsuite/gcc.dg/compat/struct-complex-1_x.c index 180d58a48e6..c77ba33580f 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-complex-1_x.c +++ b/gcc/testsuite/gcc.dg/compat/struct-complex-1_x.c @@ -26,4 +26,7 @@ struct_complex_1_x () bar (st2); return 0; } +#else +int dummy_x; #endif + diff --git a/gcc/testsuite/gcc.dg/compat/struct-complex-1_y.c b/gcc/testsuite/gcc.dg/compat/struct-complex-1_y.c index 0f0c3f3f2e5..9ff450f796c 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-complex-1_y.c +++ b/gcc/testsuite/gcc.dg/compat/struct-complex-1_y.c @@ -18,4 +18,7 @@ foo(struct stc x) if (x.s1 != 1 || x.s2 != 2 || x.x.r != 2 || x.x.i != 4) abort (); } +#else +int dummy_y; #endif + diff --git a/gcc/testsuite/gcc.dg/compat/union-m128-1_x.c b/gcc/testsuite/gcc.dg/compat/union-m128-1_x.c index 0a6f8860d09..06a4ef5ffdb 100644 --- a/gcc/testsuite/gcc.dg/compat/union-m128-1_x.c +++ b/gcc/testsuite/gcc.dg/compat/union-m128-1_x.c @@ -23,4 +23,7 @@ union_m128_1_x () foo(un); foo(st); } +#else +int dummy_x; #endif + diff --git a/gcc/testsuite/gcc.dg/compat/union-m128-1_y.c b/gcc/testsuite/gcc.dg/compat/union-m128-1_y.c index 153ed7d7440..2b6eb0a6ee8 100644 --- a/gcc/testsuite/gcc.dg/compat/union-m128-1_y.c +++ b/gcc/testsuite/gcc.dg/compat/union-m128-1_y.c @@ -26,4 +26,7 @@ foo (SS_struct_mi128 st) || x.u [1] != 0xfedcba9876543210LL) abort (); } +#else +int dummy_y; #endif + -- 2.30.2