public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/108330] New: [13 Regression] ICE in add, at hash-set.h:64
Date: Sat, 07 Jan 2023 12:37:42 +0000	[thread overview]
Message-ID: <bug-108330-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 108330
           Summary: [13 Regression] ICE in add, at hash-set.h:64
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, lto
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

gcc 13.0.0 20230101 snapshot (g:4f1314f547f69d3a2b1f16ce301267e3bfb4e427) ICEs
when compiling gcc/testsuite/g++.dg/pr82128.C w/ -flto:

% g++-13 -flto -c gcc/testsuite/g++.dg/pr82128.C
during IPA pass: modref
gcc/testsuite/g++.dg/pr82128.C:20:1: internal compiler error: in add, at
hash-set.h:64
   20 | }
      | ^
0x7fdc6d hash_set<void*, false, default_hash_traits<void*> >::add(void* const&)
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20230101/work/gcc-13-20230101/gcc/hash-set.h:64
0x7fdc6d hash_set<void*, false, default_hash_traits<void*> >::add(void* const&)
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20230101/work/gcc-13-20230101/gcc/hash-set.h:56
0x7fdc6d compute_ltrans_boundary(lto_symtab_encoder_d*)
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20230101/work/gcc-13-20230101/gcc/lto-cgraph.cc:921
0x10fa1df ipa_write_summaries()
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20230101/work/gcc-13-20230101/gcc/passes.cc:2897
0xd34497 ipa_passes
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20230101/work/gcc-13-20230101/gcc/cgraphunit.cc:2218
0xd34497 symbol_table::compile()
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20230101/work/gcc-13-20230101/gcc/cgraphunit.cc:2291
0xd36ef7 symbol_table::compile()
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20230101/work/gcc-13-20230101/gcc/cgraphunit.cc:2271
0xd36ef7 symbol_table::finalize_compilation_unit()
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20230101/work/gcc-13-20230101/gcc/cgraphunit.cc:2543

             reply	other threads:[~2023-01-07 12:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-07 12:37 asolokha at gmx dot com [this message]
2023-01-07 20:15 ` [Bug lto/108330] " pinskia at gcc dot gnu.org
2023-01-09  8:57 ` marxin at gcc dot gnu.org
2023-01-09 12:23 ` cvs-commit at gcc dot gnu.org
2023-01-09 12:24 ` marxin at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-108330-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).