From: Kazu Hirata Date: Sun, 2 Nov 2003 13:09:37 +0000 (+0000) Subject: va-arg-25.c: Enable only if INT_MAX == 2147483647. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2077750a864920bb1f80a1b6998142d2b3c80dc8;p=gcc.git va-arg-25.c: Enable only if INT_MAX == 2147483647. * gcc.c-torture/execute/va-arg-25.c: Enable only if INT_MAX == 2147483647. From-SVN: r73199 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index be2cc850cf2..8bfe899808a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-11-02 Kazu Hirata + + * gcc.c-torture/execute/va-arg-25.c: Enable only if INT_MAX == + 2147483647. + 2003-11-02 Eric Botcazou * gcc.dg/20031102-1.c: New test. diff --git a/gcc/testsuite/gcc.c-torture/execute/va-arg-25.c b/gcc/testsuite/gcc.c-torture/execute/va-arg-25.c index d90d288aba0..b9f3a1b1237 100644 --- a/gcc/testsuite/gcc.c-torture/execute/va-arg-25.c +++ b/gcc/testsuite/gcc.c-torture/execute/va-arg-25.c @@ -1,6 +1,7 @@ /* Varargs and vectors! */ #include +#include #define vector __attribute__((vector_size(16))) @@ -27,8 +28,10 @@ void foo(int a, ...) int main(void) { +#if INT_MAX == 2147483647 foo (1, (vector unsigned int){10,11,12,13}, 2, (vector unsigned int){20,21,22,23}); +#endif return 0; }