[Bug ipa/63909] New: ICE: SIGSEGV in ipa_icf_gimple::func_checker::compare_bb()

zsojka at seznam dot cz gcc-bugzilla@gcc.gnu.org
Mon Nov 17 10:48:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63909

            Bug ID: 63909
           Summary: ICE: SIGSEGV in
                    ipa_icf_gimple::func_checker::compare_bb()
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz

Created attachment 33998
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33998&action=edit
reduced testcase

Compiler output:
$ gcc -O2 -fno-guess-branch-probability testcase.c                     
testcase.c:15:1: internal compiler error: Segmentation fault
 }
 ^
0xc662af crash_signal
        /mnt/svn/gcc-trunk/gcc/toplev.c:359
0x16ccf68 ipa_icf_gimple::func_checker::compare_bb(ipa_icf_gimple::sem_bb*,
ipa_icf_gimple::sem_bb*)
        /mnt/svn/gcc-trunk/gcc/ipa-icf-gimple.c:575
0x16c159e ipa_icf::sem_function::equals_private(ipa_icf::sem_item*,
hash_map<symtab_node*, ipa_icf::sem_item*, default_hashmap_traits>&)
        /mnt/svn/gcc-trunk/gcc/ipa-icf.c:484
0x16c1a63 ipa_icf::sem_function::equals_private(ipa_icf::sem_item*,
hash_map<symtab_node*, ipa_icf::sem_item*, default_hashmap_traits>&)
        /mnt/svn/gcc-trunk/gcc/ipa-icf.c:383
0x16c1a63 ipa_icf::sem_function::equals(ipa_icf::sem_item*,
hash_map<symtab_node*, ipa_icf::sem_item*, default_hashmap_traits>&)
        /mnt/svn/gcc-trunk/gcc/ipa-icf.c:384
0x16c3e6a ipa_icf::sem_item_optimizer::subdivide_classes_by_equality(bool)
        /mnt/svn/gcc-trunk/gcc/ipa-icf.c:1824
0x16c84fc ipa_icf::sem_item_optimizer::execute()
        /mnt/svn/gcc-trunk/gcc/ipa-icf.c:1643
0x16c8fa1 ipa_icf_driver
        /mnt/svn/gcc-trunk/gcc/ipa-icf.c:2373
0x16c8fa1 ipa_icf::pass_ipa_icf::execute(function*)
        /mnt/svn/gcc-trunk/gcc/ipa-icf.c:2421
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r217624 - ICE



More information about the Gcc-bugs mailing list