Corrected date in changelog
[official-gcc.git] / gcc / testsuite / gcc.dg / lto / 20090210_1.c
blob960411972854c780b4d6250f673aa48c3ba1ef0f
1 /* { dg-options "-fPIC" { target { ! sparc*-*-* } } } */
2 static void
3 f (int n)
5 int i;
6 static int __thread value = 100;
7 for (i = 0; i < n; ++i)
9 volatile int *p = &value;
10 volatile int x __attribute__ ((unused)) = *p;
15 extern int foo (int);
17 int
18 main (int argc, char **argv)
20 f (foo (4) + argc);
21 return 0;