☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.target
/
arm
/
asm.c
☽
☼
gcc/testsuite/gcc.target/arm/asm.c
code
plain
raw
1
/* ARM and Thumb asm statements should be able to access the constant
2
pool. */
3
/* { dg-do compile } */
4
extern unsigned x[];
5
unsigned *trapTable()
6
{
7
unsigned *i;
8
9
__asm__ volatile("ldr %0,%1" : "=r"(i) : "m"(x[0]));
10
11
return i;
12
}
13