* testsuite/libgomp.fortran/vla7.f90: Add -w to options.
[official-gcc.git] / gcc / testsuite / gcc.dg / 20021023-1.c
blob3e16a84fe0c158cb8581bb9f0c438c70bd838259
1 /* This testcase ICEd on x86-64 because LABEL_REF + small const was not
2 considered as local_symbolic_operand. */
3 /* { dg-do compile { target fpic } } */
4 /* { dg-options "-O2 -fpic" } */
6 typedef __builtin_va_list va_list;
8 static unsigned int
9 foo (void *a, float b, const char *c, va_list d, void *e)
11 return -1;
14 unsigned int
15 bar (void *a, float b, const char *c, ...)
17 va_list args;
18 unsigned int d;
20 __builtin_stdarg_start (args, c);
21 d = foo (a, b, c, args, a);
22 __builtin_va_end (args);
23 return d;