summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr57036-1.c
blob: ac6bc6b9df29d0785bbf75a4c5c9aa0100c576b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* { dg-do compile } */

extern void g (void);
int _setjmp();
int read_buf_open (void);
extern __inline __attribute__ ((__always_inline__,__leaf__))
void
f ()
{
  g ();
}
struct __jmp_buf_tag *b;
int jpgDecode_convert (unsigned i)
{
  if (i != 0)
    f ();
  read_buf_open ();
  return _setjmp (b);
}