Debian Codegraph @

gcc/testsuite/gcc.dg/20030120-1.c

raw
1 /* PR 7154 */
2 /* { dg-do compile { target fpic } } */
3 /* { dg-options "-O -fpic" } */
4
5 const int x[1]={ 1 };
6 void foo(int i, int *p)
7 {
8 asm volatile("" : "+r"(i) : "m" (x[0]), "r"(p));
9 }