This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r143963 - in /branches/gcc-4_3-branch/gcc: Chan...
- From: jsm28 at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 05 Feb 2009 12:13:53 -0000
- Subject: r143963 - in /branches/gcc-4_3-branch/gcc: Chan...
Author: jsm28
Date: Thu Feb 5 12:13:52 2009
New Revision: 143963
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143963
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:
branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/tls/diag-6.c
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/c-common.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog