summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/980506-1.c
blob: a48b3ad4cd7f1d994899a08de2f6b2f24ba8c744 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
struct decision
{
  char enforce_mode;             
  struct decision *next;         
};


static void
clear_modes (p)
     register struct decision *p;
{
  goto blah;

foo:
  p->enforce_mode = 0;
blah:
  if (p)
    goto foo;
}

main()
{
  struct decision *p = 0;
  clear_modes (p);
  exit (0);
}