]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c/35435
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Feb 2009 01:18:02 +0000 (01:18 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Feb 2009 01:18:02 +0000 (01:18 +0000)
commitc34f8a7844e5dc3703f4333015af25aaabec7b0e
tree56e68154a7b8fc728b201d3220d4c952afea9169
parent7f28086cba6019cf0da2f73ea1e2d28886adb7d9
PR c/35435
* c-common.c (handle_tls_model_attribute): Ignore attribute for
non-VAR_DECLs without checking DECL_THREAD_LOCAL_P.

testsuite:
* gcc.dg/tls/diag-6.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143948 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tls/diag-6.c [new file with mode: 0644]