public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/107977] New: ICE: in add_specializations, at cp/module.cc:13186 with -fdump-ada-spec -fmodule-header
@ 2022-12-05 19:04 zsojka at seznam dot cz
2022-12-09 9:43 ` [Bug c++/107977] [11/12/13 Regression] ICE: in add_specializations, at cp/module.cc:13186 with -fdump-ada-spec -fmodule-header since r11-6084-g4efde6781bba8d64 marxin at gcc dot gnu.org
2022-12-09 14:38 ` [Bug c++/107977] " pinskia at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: zsojka at seznam dot cz @ 2022-12-05 19:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107977
Bug ID: 107977
Summary: ICE: in add_specializations, at cp/module.cc:13186
with -fdump-ada-spec -fmodule-header
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: zsojka at seznam dot cz
Target Milestone: ---
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Created attachment 54019
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54019&action=edit
reduced testcase
Compiler output:
$ x86_64-pc-linux-gnu-g++ -fdump-ada-spec -fmodule-header testcase.C
testcase.C: internal compiler error: in add_specializations, at
cp/module.cc:13186
0x705fad depset::hash::add_specializations(bool)
/repo/gcc-trunk/gcc/cp/module.cc:13186
0xf3f230 module_state::write_begin(elf_out*, cpp_reader*, module_state_config&,
unsigned int&)
/repo/gcc-trunk/gcc/cp/module.cc:17879
0xf406a4 finish_module_processing(cpp_reader*)
/repo/gcc-trunk/gcc/cp/module.cc:20235
0xecfe92 c_parse_final_cleanups()
/repo/gcc-trunk/gcc/cp/decl2.cc:5148
0x10fb220 c_common_parse_file()
/repo/gcc-trunk/gcc/c-family/c-opts.cc:1266
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
$ x86_64-pc-linux-gnu-g++ -v
Using built-in specs.
COLLECT_GCC=/repo/gcc-trunk/binary-latest-amd64/bin/x86_64-pc-linux-gnu-g++
COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-r13-4493-20221205115445-g109148dd16e-checking-yes-rtl-df-extra-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/13.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++
--enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra
--with-cloog --with-ppl --with-isl --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu
--with-ld=/usr/bin/x86_64-pc-linux-gnu-ld
--with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch
--prefix=/repo/gcc-trunk//binary-trunk-r13-4493-20221205115445-g109148dd16e-checking-yes-rtl-df-extra-amd64
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.0.0 20221205 (experimental) (GCC)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/107977] [11/12/13 Regression] ICE: in add_specializations, at cp/module.cc:13186 with -fdump-ada-spec -fmodule-header since r11-6084-g4efde6781bba8d64
2022-12-05 19:04 [Bug c++/107977] New: ICE: in add_specializations, at cp/module.cc:13186 with -fdump-ada-spec -fmodule-header zsojka at seznam dot cz
@ 2022-12-09 9:43 ` marxin at gcc dot gnu.org
2022-12-09 14:38 ` [Bug c++/107977] " pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-12-09 9:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107977
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|ICE: in |[11/12/13 Regression] ICE:
|add_specializations, at |in add_specializations, at
|cp/module.cc:13186 with |cp/module.cc:13186 with
|-fdump-ada-spec |-fdump-ada-spec
|-fmodule-header |-fmodule-header since
| |r11-6084-g4efde6781bba8d64
Status|UNCONFIRMED |NEW
CC| |marxin at gcc dot gnu.org,
| |nathan at gcc dot gnu.org
Last reconfirmed| |2022-12-09
Ever confirmed|0 |1
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r11-6084-g4efde6781bba8d64.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/107977] ICE: in add_specializations, at cp/module.cc:13186 with -fdump-ada-spec -fmodule-header since r11-6084-g4efde6781bba8d64
2022-12-05 19:04 [Bug c++/107977] New: ICE: in add_specializations, at cp/module.cc:13186 with -fdump-ada-spec -fmodule-header zsojka at seznam dot cz
2022-12-09 9:43 ` [Bug c++/107977] [11/12/13 Regression] ICE: in add_specializations, at cp/module.cc:13186 with -fdump-ada-spec -fmodule-header since r11-6084-g4efde6781bba8d64 marxin at gcc dot gnu.org
@ 2022-12-09 14:38 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-12-09 14:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107977
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[11/12/13 Regression] ICE: |ICE: in
|in add_specializations, at |add_specializations, at
|cp/module.cc:13186 with |cp/module.cc:13186 with
|-fdump-ada-spec |-fdump-ada-spec
|-fmodule-header since |-fmodule-header since
|r11-6084-g4efde6781bba8d64 |r11-6084-g4efde6781bba8d64
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is not a regression as -fmodule-header didn't exist before that revision.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-12-09 14:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-05 19:04 [Bug c++/107977] New: ICE: in add_specializations, at cp/module.cc:13186 with -fdump-ada-spec -fmodule-header zsojka at seznam dot cz
2022-12-09 9:43 ` [Bug c++/107977] [11/12/13 Regression] ICE: in add_specializations, at cp/module.cc:13186 with -fdump-ada-spec -fmodule-header since r11-6084-g4efde6781bba8d64 marxin at gcc dot gnu.org
2022-12-09 14:38 ` [Bug c++/107977] " pinskia 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).