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" } */ 5 6void foo() 7{ 8 static int test; 9 int dummy; 10 asm volatile ("" : "=m"(test), "=r"(dummy) : "m"(test)); 11} 12