Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/20020122-4.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
/* Alpha -msmall-data didn't transform (mem (symbol_ref)) to (mem (lo_sum pic (symbol_ref))) within an asm at the right time. */ /* { dg-do compile { target fpic } } */ /* { dg-options "-O2 -fpic" } */ void foo() { static int test; int dummy; asm volatile ("" : "=m"(test), "=r"(dummy) : "m"(test)); }