2 /* This used to ICE on the SPARC because of an unrecognized TLS pattern. */
4 /* { dg-do compile } */
5 /* { dg-options "-O -fPIC" } */
6 /* { dg-require-effective-target tls } */
7 /* { dg-require-effective-target fpic } */
9 extern void *memset(void *s
, int c
, __SIZE_TYPE__ n
);
19 static __thread
struct S2 m
;
23 memset(&m
.s
, 0, sizeof(m
.s
));