2015-12-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr49866.c
blob823305df706cc627b0405a0c1d814521b4885143
1 /* PR target/49866 */
2 /* { dg-do assemble } */
3 /* { dg-options "-O2 -mcmodel=large" { target lp64 } } */
5 void fn (void *, int, int);
6 int fn2 (void);
7 void baz (int);
9 static void
10 foo (void *x, int y)
12 int i;
13 for (i = 0; i < y; i++)
14 fn (x, fn2 (), i);
17 void
18 bar (int u, int v, int w, void *x)
20 baz (u);
21 foo (x, w);
22 baz (u);