[Bug c++/107977] New: ICE: in add_specializations, at cp/module.cc:13186 with -fdump-ada-spec -fmodule-header
zsojka at seznam dot cz
gcc-bugzilla@gcc.gnu.org
Mon Dec 5 19:04:15 GMT 2022
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)
More information about the Gcc-bugs
mailing list