* gcc.dg/const-elim-1.c: xfail for xtensa.
[official-gcc.git] / gcc / testsuite / gcc.dg / 20021023-1.c
blob6fe555a5b2fe9cadb1dca5d8dcb892d343e68d3c
1 /* This testcase ICEd on x86-64 because LABEL_REF + small const was not
2 considered as local_symbolic_operand. */
3 /* { dg-do compile } */
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;