RISC-V: Add support for riscv-*-*.
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr32919.c
blob204c6a6126e90de0648da017063daf28c10b3822
1 /* { dg-require-effective-target indirect_jumps } */
2 /* { dg-require-effective-target label_values } */
4 void _IO_vfprintf_internal ( char *f )
6 static const void *const step0_jumps[] = { &&do_form_unknown, &&do_flag_plus, &&do_form_float };
7 const void * ptr = step0_jumps[0];
8 do {
9 char spec;
10 spec = (*++f);
11 goto *ptr;
12 do_flag_plus:
13 read_int (&f);
14 do_number:
15 _itoa_word (spec);
16 do_form_float:
17 if (ptr != ((void *)0))
19 spec = 'x';
20 goto do_number;
22 if (spec != 'S')
23 __strnlen ();
24 return;
25 do_form_unknown:;
27 while (*f != '\0');