From 7d72d96efe1f576cbeea5e6c59724a8d47f476b9 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Tue, 18 May 2004 16:03:11 +0000 Subject: [PATCH] * gcc.c-torture/execute/991216-3.c: Delete, duplicate of 991216-2.c. From-SVN: r81993 --- gcc/testsuite/ChangeLog | 10 +++-- .../gcc.c-torture/execute/991216-3.c | 41 ------------------- 2 files changed, 7 insertions(+), 44 deletions(-) delete mode 100644 gcc/testsuite/gcc.c-torture/execute/991216-3.c diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e48dfaf776b..911b84092b9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-05-18 Zack Weinberg + + * gcc.c-torture/execute/991216-3.c: Delete, duplicate of 991216-2.c. + 2004-05-18 Paul Brook PR fortran/13930 @@ -54,7 +58,7 @@ * gfortran.fortran-torture/compile/noncontinuation_1.f90: Rename this ... - * gfortran.fortran-torture/compile/noncontinuation_1.f: ... to + * gfortran.fortran-torture/compile/noncontinuation_1.f: ... to this. 2004-05-14 Andrew Pinski @@ -63,7 +67,7 @@ 2004-05-14 Tobias Schlueter - * gfortran.fortran-torture/compile/noncontinuation_1.f90: New + * gfortran.fortran-torture/compile/noncontinuation_1.f90: New test. 2004-05-14 Tobias Schlueter @@ -254,7 +258,7 @@ * gcc.dg/unused-6.c: New test. 2004-04-24 Laurent GUERBY - Ulrich Weigand + Ulrich Weigand * ada/acats/run_all.sh: Define $target variable. diff --git a/gcc/testsuite/gcc.c-torture/execute/991216-3.c b/gcc/testsuite/gcc.c-torture/execute/991216-3.c deleted file mode 100644 index 948b35f9795..00000000000 --- a/gcc/testsuite/gcc.c-torture/execute/991216-3.c +++ /dev/null @@ -1,41 +0,0 @@ -#include - -#define VALUE 0x123456789abcdefLL -#define AFTER 0x55 - -void -test (int n, ...) -{ - va_list ap; - int i; - - va_start (ap, n); - - for (i = 2; i <= n; i++) - { - if (va_arg (ap, int) != i) - abort (); - } - - if (va_arg (ap, long long) != VALUE) - abort (); - - if (va_arg (ap, int) != AFTER) - abort (); - - va_end (ap); -} - -int -main () -{ - test (1, VALUE, AFTER); - test (2, 2, VALUE, AFTER); - test (3, 2, 3, VALUE, AFTER); - test (4, 2, 3, 4, VALUE, AFTER); - test (5, 2, 3, 4, 5, VALUE, AFTER); - test (6, 2, 3, 4, 5, 6, VALUE, AFTER); - test (7, 2, 3, 4, 5, 6, 7, VALUE, AFTER); - test (8, 2, 3, 4, 5, 6, 7, 8, VALUE, AFTER); - exit (0); -} -- 2.30.2