aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/pr55686.c
blob: a263b08dd718f89d0eaf43ea416f1f0f239892a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* PR target/55686 */
/* { dg-do compile } */
/* { dg-options "-O2" } */

void
foo (long x, long *y)
{
  long *a = y - 64, i;
  for (i = 0; i < x; i++)
    {
      long v = y[i];
      *a++ = v;
    }
  register void **c __asm__ ("di");
  goto **c;
}