Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/tls/alpha-1.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
/* Make sure that we honor initial-exec. */ /* { dg-do compile { target alpha*-*-* } } */ /* { dg-options "" } */ /* { dg-require-effective-target tls_native } */ static __thread int xyzzy __attribute__ ((tls_model ("initial-exec"))); int foo(void) { return xyzzy; } /* { dg-final { scan-assembler "gottprel" } } */ /* { dg-final { scan-assembler-not "tprel(lo|hi|16)" } } */