[Bug c/35435] New: [4.1/4.2/4.3/4.4 regression] ICE with attribute tls_model in typedef

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Mar 3 20:49:00 GMT 2008


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



More information about the Gcc-bugs mailing list