[Bug c/35435] [4.2/4.3/4.4 regression] ICE with attribute tls_model in typedef
jsm28 at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Feb 5 01:18:00 GMT 2009
------- Comment #4 from jsm28 at gcc dot gnu dot org 2009-02-05 01:18 -------
Subject: Bug 35435
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
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35435
More information about the Gcc-bugs
mailing list