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" } */
5 
6 typedef __builtin_va_list va_list;
7 
8 static unsigned int
9 foo (void *a, float b, const char *c, va_list d, void *e)
10 {
11   return -1;
12 }
13 
14 unsigned int
15 bar (void *a, float b, const char *c, ...)
16 {
17   va_list args;
18   unsigned int d;
19 
20   __builtin_stdarg_start (args, c);
21   d = foo (a, b, c, args, a);
22   __builtin_va_end (args);
23   return d;
24 }
25