summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20020318-1.c
blob: 097a35d79560c42f474a2941f0d9eec45c546d3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* PR c/5656
   This testcase ICEd on IA-32 at -O3, due to tree inliner not converting
   parameter assignment when using K&R syntax.  */

void foo (c)
     char c;
{
  (void) &c;
}

int bar (void);

void baz (void)
{
  foo (bar ());
}