This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r143948 - in /trunk/gcc: ChangeLog c-common.c t...
- From: jsm28 at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 05 Feb 2009 01:18:03 -0000
- Subject: r143948 - in /trunk/gcc: ChangeLog c-common.c t...
Author: jsm28
Date: Thu Feb 5 01:18:02 2009
New Revision: 143948
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143948
Log:
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.
Added:
trunk/gcc/testsuite/gcc.dg/tls/diag-6.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-common.c
trunk/gcc/testsuite/ChangeLog