This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/43314] New: ICE: expected tree that contains 'decl minimal' structure, have 'integer_cst' in is_in_new_vars_htab, at ipa-struct-reorg.c:587


Command line:
gcc -O1 -fipa-struct-reorg -fwhole-program -fipa-type-escape -g testcase.c

Tested revisions:
r157326 - crash
r156999 - crash
r154830 - crash
r153685 - crash (in find_new_var_of_type, at ipa-struct-reorg.c:590)
4.4 r157120 - crash (in find_new_var_of_type, at ipa-struct-reorg.c:588)
4.4 r154975 - crash (in find_new_var_of_type, at ipa-struct-reorg.c:588)
4.3.4, 4.4.3, 4.5.0_alpha - segfault (without checking)

Output - trunk:
$ /mnt/svn/gcc-trunk/binary-157326-lto/bin/gcc -O1 -fipa-struct-reorg
-fwhole-program -fipa-type-escape -g testcase.c
testcase2.c: In function 'main':
testcase2.c:10:17: warning: initialization makes pointer from integer without a
cast
testcase2.c:12:1: internal compiler error: tree check: expected tree that
contains 'decl minimal' structure, have 'integer_cst' in is_in_new_vars_htab,
at ipa-struct-reorg.c:587

Output - 4.4 and old trunk:
$ /mnt/svn/gcc-4_4/binary-157120-enable-checking/bin/gcc -O1 -fipa-struct-reorg
-fwhole-program -fipa-type-escape -g testcase2.c
testcase2.c: In function 'main':
testcase2.c:10: warning: initialization makes pointer from integer without a
cast
testcase2.c:12: internal compiler error: in find_new_var_of_type, at
ipa-struct-reorg.c:588


-- 
           Summary: ICE: expected tree that contains 'decl minimal'
                    structure, have 'integer_cst' in is_in_new_vars_htab, at
                    ipa-struct-reorg.c:587
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zsojka at seznam dot cz


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]