This testcase fails if gcc configured with --enable-checking=yes,fold :

--------------------------
int a [2];
--------------------------

f.c:1: internal compiler error: tree check: expected function_decl, have
type_decl in fold_checksum_tree, at fold-const.c:10282

Exposed by this change:

2005-07-08  Daniel Berlin  <[EMAIL PROTECTED]>

        * Makefile.in (TREE_H): Add treestruct.def.

-- 
           Summary: [4.1 regression] ICE tree check: expected function_decl,
                    have type_decl in fold_checksum_tree, at fold-
                    const.c:10282
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, ice-checking
          Severity: normal
          Priority: P2
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: belyshev at depni dot sinp dot msu dot ru
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22455

Reply via email to