diff options
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/testsuite/ChangeLog | 10 | ||||
| -rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/991216-3.c | 41 |
2 files changed, 7 insertions, 44 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e48dfaf..911b840 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-05-18 Zack Weinberg <zack@codesourcery.com> + + * gcc.c-torture/execute/991216-3.c: Delete, duplicate of 991216-2.c. + 2004-05-18 Paul Brook <paul@codesourcery.com> 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 <pinskia@physics.uc.edu> @@ -63,7 +67,7 @@ 2004-05-14 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de> - * gfortran.fortran-torture/compile/noncontinuation_1.f90: New + * gfortran.fortran-torture/compile/noncontinuation_1.f90: New test. 2004-05-14 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de> @@ -254,7 +258,7 @@ * gcc.dg/unused-6.c: New test. 2004-04-24 Laurent GUERBY <laurent@guerby.net> - Ulrich Weigand <uweigand@de.ibm.com> + Ulrich Weigand <uweigand@de.ibm.com> * 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 948b35f..0000000 --- a/gcc/testsuite/gcc.c-torture/execute/991216-3.c +++ /dev/null @@ -1,41 +0,0 @@ -#include <stdarg.h> - -#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); -} |
