From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 37193 invoked by alias); 25 Mar 2015 16:31:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 37172 invoked by uid 48); 25 Mar 2015 16:31:39 -0000 From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/65557] New: ICE: SIGSEGV in hash_table<>::find_slot_with_hash() with -fdevirtualize -fipa-cp -fipa-icf-functions Date: Wed, 25 Mar 2015 16:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-03/txt/msg02779.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65557 Bug ID: 65557 Summary: ICE: SIGSEGV in hash_table<>::find_slot_with_hash() with -fdevirtualize -fipa-cp -fipa-icf-functions 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 35138 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35138&action=edit reduced testcase Compiler output: $ gcc -fdevirtualize -fipa-cp -fipa-icf-functions testcase.C testcase.C:16:6: internal compiler error: Segmentation fault S1 s1; ^ 0xe0a5cf crash_signal /mnt/svn/gcc-trunk/gcc/toplev.c:383 0xc123e2 hash_table::summary_hashmap_traits>::hash_entry, xcallocator, true>::find_slot_with_hash(int const&, unsigned int, insert_option) /mnt/svn/gcc-trunk/gcc/hash-table.h:1542 0xc12591 hash_map::summary_hashmap_traits>::get_or_insert(int const&, bool*) /mnt/svn/gcc-trunk/gcc/hash-map.h:232 0xc12591 function_summary::get(int) /mnt/svn/gcc-trunk/gcc/symbol-summary.h:230 0x18605de function_summary::get(cgraph_node*) /mnt/svn/gcc-trunk/gcc/symbol-summary.h:112 0x18605de ipa_icf::sem_function::equals_wpa(ipa_icf::sem_item*, hash_map&) /mnt/svn/gcc-trunk/gcc/ipa-icf.c:518 0x18581ca ipa_icf::sem_item_optimizer::subdivide_classes_by_equality(bool) /mnt/svn/gcc-trunk/gcc/ipa-icf.c:2518 0x185fb7a ipa_icf::sem_item_optimizer::execute() /mnt/svn/gcc-trunk/gcc/ipa-icf.c:2296 0x18624a6 ipa_icf_driver /mnt/svn/gcc-trunk/gcc/ipa-icf.c:3172 0x18624a6 ipa_icf::pass_ipa_icf::execute(function*) /mnt/svn/gcc-trunk/gcc/ipa-icf.c:3219 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. Tested revisions: r221607 - ICE