This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/35435] New: [4.1/4.2/4.3/4.4 regression] ICE with attribute tls_model in typedef
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Mar 2008 20:49:07 -0000
- Subject: [Bug c/35435] New: [4.1/4.2/4.3/4.4 regression] ICE with attribute tls_model in typedef
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following (valid?) code snippet triggers an ICE since GCC 3.3:
==============================================================
typedef int X __attribute__((tls_model("initial-exec")));
==============================================================
bug.c:1: internal compiler error: tree check: expected var_decl, have type_decl
in handle_tls_model_attribute, at c-common.c:5936
Please submit a full bug report, [etc.]
--
Summary: [4.1/4.2/4.3/4.4 regression] ICE with attribute
tls_model in typedef
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, monitored
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35435