Add malloc predictor (PR middle-end/83023).
[official-gcc.git] / gcc / testsuite / gcc.dg / tls / section-2.c
blob9c213074c91c2216b65c3aefd5bd6aeb5cd7e1ca
1 /* Verify that we get errors for trying to put TLS data in
2 sections which can't work. */
3 /* { dg-do compile { target *-*-vxworks } } */
4 /* { dg-require-effective-target tls } */
6 #define A(X) __attribute__((section(X)))
8 __thread int i A("foo"); /* { dg-error "cannot be overridden" } */