OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* gcc.dg/vect/vect-105.c: Prevent compiler from hoisting abort
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
tls
/
diag-2.c
diff --git
a/gcc/testsuite/gcc.dg/tls/diag-2.c
b/gcc/testsuite/gcc.dg/tls/diag-2.c
index
5e7e17b
..
8276cb3
100644
(file)
--- a/
gcc/testsuite/gcc.dg/tls/diag-2.c
+++ b/
gcc/testsuite/gcc.dg/tls/diag-2.c
@@
-1,4
+1,5
@@
/* Invalid __thread specifiers. */
+/* { dg-require-effective-target tls } */
__thread extern int g1; /* { dg-error "'__thread' before 'extern'" } */
__thread static int g2; /* { dg-error "'__thread' before 'static'" } */