summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr57104.c
blob: 2539d59c5b63572ce3159c667c5ccda151f8ebb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* PR tree-optimization/57104 */
/* { dg-do compile { target { { i?86-*-linux* x86_64-*-linux* } && lp64 } } } */
/* { dg-options "-fsanitize=thread" } */

register int r asm ("r14");
int v;

int
foo (void)
{
  return r + v;
}