aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tls/emutls-2.c
blob: 3b94dc7e45cf8518462c0ac46ce939856b5d0011 (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */
/* { dg-require-effective-target tls } */
/* { dg-require-effective-target global_constructor } */
/* { dg-options "-O2" } */

/* With emulated TLS, the constructor generated during IPA
   was not properly lowered to SSA form.  */

__thread int i __attribute__((common));