PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / 20020122-4.c
blob50aef195098bdbe07dd50a3e8169c11043d56a5e
1 /* Alpha -msmall-data didn't transform (mem (symbol_ref)) to
2 (mem (lo_sum pic (symbol_ref))) within an asm at the right time. */
3 /* { dg-do compile { target fpic } } */
4 /* { dg-options "-O2 -fpic" } */
6 void foo()
8 static int test;
9 int dummy;
10 asm volatile ("" : "=m"(test), "=r"(dummy) : "m"(test));