public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ipa/65557] New: ICE: SIGSEGV in hash_table<>::find_slot_with_hash() with -fdevirtualize -fipa-cp -fipa-icf-functions
@ 2015-03-25 16:49 zsojka at seznam dot cz
  2015-03-31 16:27 ` [Bug ipa/65557] " marxin at gcc dot gnu.org
  2015-04-01  8:37 ` marxin at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: zsojka at seznam dot cz @ 2015-03-25 16:49 UTC (permalink / raw)
  To: gcc-bugs

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<hash_map<int, ipa_node_params*,
function_summary<ipa_node_params*>::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<int, ipa_node_params*,
function_summary<ipa_node_params*>::summary_hashmap_traits>::get_or_insert(int
const&, bool*)
        /mnt/svn/gcc-trunk/gcc/hash-map.h:232
0xc12591 function_summary<ipa_node_params*>::get(int)
        /mnt/svn/gcc-trunk/gcc/symbol-summary.h:230
0x18605de function_summary<ipa_node_params*>::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<symtab_node*, ipa_icf::sem_item*, default_hashmap_traits>&)
        /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 <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r221607 - ICE


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-04-01  8:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-25 16:49 [Bug ipa/65557] New: ICE: SIGSEGV in hash_table<>::find_slot_with_hash() with -fdevirtualize -fipa-cp -fipa-icf-functions zsojka at seznam dot cz
2015-03-31 16:27 ` [Bug ipa/65557] " marxin at gcc dot gnu.org
2015-04-01  8:37 ` marxin at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).