Re: I cannot disable GCC TLS support thoroughly.

2011-09-22 Thread Ian Lance Taylor
Terry Guo writes: > I configured my gcc with "--disable-tls" for arm-none-eabi. But it can > still successfully compile the below case: > > __thread int i; > int f (void) { return i; } > void main (int j) { i = j; } > > The "dg-require-effective-target tls" use this case to chec

I cannot disable GCC TLS support thoroughly.

2011-09-22 Thread Terry Guo
Hello, I configured my gcc with "--disable-tls" for arm-none-eabi. But it can still successfully compile the below case: __thread int i; int f (void) { return i; } void main (int j) { i = j; } The "dg-require-effective-target tls" use this case to check whether target supports