Commit 2077750a by Kazu Hirata Committed by Kazu Hirata

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
parent 0938c9e8
2003-11-02 Kazu Hirata <kazu@cs.umass.edu>
* gcc.c-torture/execute/va-arg-25.c: Enable only if INT_MAX ==
2147483647.
2003-11-02 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/20031102-1.c: New test.
......
/* Varargs and vectors! */
#include <stdarg.h>
#include <limits.h>
#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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment