aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/lto/modref-4_1.c
blob: c36f3d1b482e12f0e707c8963a99a29ca3faa5ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
__attribute__ ((noinline))
void
copy (int *a, int *b)
{
  *a=*b;
}
int p, *ptr = &p;
__attribute__ ((noinline))
void
barrier ()
{
  asm ("":"=r"(ptr):"0"(ptr));
}