Debian Codegraph @

gcc/testsuite/gcc.target/arm/tls-disable-literal-pool.c

raw
1 /* { dg-do compile } */
2 /* { dg-require-effective-target tls_native } */
3 /* { dg-require-effective-target arm_cortex_m } */
4 /* { dg-require-effective-target arm_thumb2_ok } */
5 /* { dg-skip-if "-mslow-flash-data and -mword-relocations incompatible" { *-*-* } { "-mword-relocations" } } */
6 /* { dg-options "-mslow-flash-data" } */
7
8 __thread int x = 0;
9
10 int
11 bar ()
12 {
13 return x; /* { dg-message "sorry, unimplemented: accessing thread-local storage is not currently supported with -mpure-code or -mslow-flash-data" } */
14 }
15