public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/108330] New: [13 Regression] ICE in add, at hash-set.h:64
@ 2023-01-07 12:37 asolokha at gmx dot com
2023-01-07 20:15 ` [Bug lto/108330] " pinskia at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: asolokha at gmx dot com @ 2023-01-07 12:37 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug lto/108330] [13 Regression] ICE in add, at hash-set.h:64
2023-01-07 12:37 [Bug lto/108330] New: [13 Regression] ICE in add, at hash-set.h:64 asolokha at gmx dot com
@ 2023-01-07 20:15 ` pinskia at gcc dot gnu.org
2023-01-09 8:57 ` marxin at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-01-07 20:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108330
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |13.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug lto/108330] [13 Regression] ICE in add, at hash-set.h:64
2023-01-07 12:37 [Bug lto/108330] New: [13 Regression] ICE in add, at hash-set.h:64 asolokha at gmx dot com
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
3 siblings, 0 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2023-01-09 8:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108330
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0 |1
Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org
Last reconfirmed| |2023-01-09
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
I've got a patch candidate.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug lto/108330] [13 Regression] ICE in add, at hash-set.h:64
2023-01-07 12:37 [Bug lto/108330] New: [13 Regression] ICE in add, at hash-set.h:64 asolokha at gmx dot com
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
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-01-09 12:23 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108330
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Liska <marxin@gcc.gnu.org>:
https://gcc.gnu.org/g:fb082e3293d45d928ae107d8f351b04be89d1bc2
commit r13-5065-gfb082e3293d45d928ae107d8f351b04be89d1bc2
Author: Martin Liska <mliska@suse.cz>
Date: Mon Jan 9 09:51:01 2023 +0100
hash: do not insert deleted value to a hash_set
PR lto/108330
gcc/ChangeLog:
* lto-cgraph.cc (compute_ltrans_boundary): Do not insert
NULL (deleleted value) to a hash_set.
gcc/testsuite/ChangeLog:
* g++.dg/ipa/pr108830.C: New test.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug lto/108330] [13 Regression] ICE in add, at hash-set.h:64
2023-01-07 12:37 [Bug lto/108330] New: [13 Regression] ICE in add, at hash-set.h:64 asolokha at gmx dot com
` (2 preceding siblings ...)
2023-01-09 12:23 ` cvs-commit at gcc dot gnu.org
@ 2023-01-09 12:24 ` marxin at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2023-01-09 12:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108330
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-01-09 12:24 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-07 12:37 [Bug lto/108330] New: [13 Regression] ICE in add, at hash-set.h:64 asolokha at gmx dot com
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
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).