summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/sparc/sparc-reg-1.c
blob: 0adb4cdca9db34d4e0014c3fe7f4d8cc1d70145f (plain)
1
2
3
4
5
6
7
8
9
10
11
/* PR middle-end/20263 */

/* { dg-do assemble } */
/* { dg-options "" } */

register void *tp __asm__("%g7");

void set_tp(void)
{
  tp = 0;
}