OSDN Git Service

Formatting fixes.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / 20030120-1.c
1 /* PR 7154 */
2 /* { dg-do compile } */
3 /* { dg-options "-O -fpic" } */
4 /* { dg-warning "not supported" "PIC unsupported" { target cris-*-elf* mmix-*-* } 0 } */
5
6 const int x[1]={ 1 };
7 void foo(int i, int *p)
8 {
9   asm volatile("" : "+r"(i) : "m" (x[0]), "r"(p));
10 }