Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/pr32919.c

raw
1 /* { dg-require-effective-target indirect_jumps } */
2 /* { dg-require-effective-target label_values } */
3
4 void read_int (char **);
5 void _itoa_word (char);
6 void __strnlen (void);
7
8 void _IO_vfprintf_internal ( char *f )
9 {
10 static const void *const step0_jumps[] = { &&do_form_unknown, &&do_flag_plus, &&do_form_float };
11 const void * ptr = step0_jumps[0];
12 do {
13 char spec;
14 spec = (*++f);
15 goto *ptr;
16 do_flag_plus:
17 read_int (&f);
18 do_number:
19 _itoa_word (spec);
20 do_form_float:
21 if (ptr != ((void *)0))
22 {
23 spec = 'x';
24 goto do_number;
25 }
26 if (spec != 'S')
27 __strnlen ();
28 return;
29 do_form_unknown:;
30 }
31 while (*f != '\0');
32 }
33