2014-04-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr58690.c
blob87a87cc9c907d4f3c3baceac2c424344fe0a5466
1 /* { dg-do compile { target { ! { ia32 } } } } */
2 /* { dg-require-effective-target maybe_x32 } */
3 /* { dg-options "-O2 -mx32 -maddress-mode=short" } */
5 struct gomp_thread
7 char foo[41];
8 };
9 extern __thread struct gomp_thread gomp_tls_data;
10 void
11 foo (void)
13 __builtin_memset (&gomp_tls_data, '\0', sizeof (gomp_tls_data));