1  /* { dg-do compile } */
       2  /* { dg-require-effective-target tls } */
       3  /* { dg-require-effective-target global_constructor } */
       4  /* { dg-options "-O2" } */
       5  
       6  /* With emulated TLS, the constructor generated during IPA
       7     was not properly lowered to SSA form.  */
       8  
       9  __thread int i __attribute__((common));