From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 617EA38417C7; Tue, 13 Dec 2022 06:51:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 617EA38417C7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1670914266; bh=NuRR0SVaB5v/OXp7GP94+TJUweMbCqA/+lG4qnb4KZg=; h=From:To:Subject:Date:From; b=KpIldE0acCZWk2y1Xs/1qQ3Fy0jAvOBRkayiDZfRgJPM+cXWwkBWyfQnOtpqAL1KG nmkOJrCrlKpsA8hvvdT5QLF0Jhtg5Q2IIu4JnBZYFEP0pJN8AYxYFqC2obKi/PJj4I mCcB0hdY/li2E7AUq8Jk4JUB77Y5+BOhjR5HFkKI= From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/108080] New: ICE: in core_vals, at cp/module.cc:6262 with -fmodule-header Date: Tue, 13 Dec 2022 06:51:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108080 Bug ID: 108080 Summary: ICE: in core_vals, at cp/module.cc:6262 with -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 54077 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D54077&action=3Dedit reduced testcase Maybe related to PR107083 Compiler output: $ x86_64-pc-linux-gnu-g++ -fmodule-header testcase.C=20 testcase.C: internal compiler error: in core_vals, at cp/module.cc:6262 0x7083ca trees_out::core_vals(tree_node*) /repo/gcc-trunk/gcc/cp/module.cc:6262 0xf3ea44 trees_out::tree_node_vals(tree_node*) /repo/gcc-trunk/gcc/cp/module.cc:7216 0xf3ea44 trees_out::tree_value(tree_node*) /repo/gcc-trunk/gcc/cp/module.cc:9081 0xf3a8b1 trees_out::tree_node(tree_node*) /repo/gcc-trunk/gcc/cp/module.cc:9279 0xf3bba0 trees_out::core_vals(tree_node*) /repo/gcc-trunk/gcc/cp/module.cc:6170 0xf3939a trees_out::tree_node_vals(tree_node*) /repo/gcc-trunk/gcc/cp/module.cc:7216 0xf3939a trees_out::decl_value(tree_node*, depset*) /repo/gcc-trunk/gcc/cp/module.cc:7795 0xf409e2 depset::hash::find_dependencies(module_state*) /repo/gcc-trunk/gcc/cp/module.cc:13326 0xf41171 module_state::write_begin(elf_out*, cpp_reader*, module_state_conf= ig&, unsigned int&) /repo/gcc-trunk/gcc/cp/module.cc:17893 0xf42574 finish_module_processing(cpp_reader*) /repo/gcc-trunk/gcc/cp/module.cc:20235 0xed1912 c_parse_final_cleanups() /repo/gcc-trunk/gcc/cp/decl2.cc:5148 0x10fd190 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 for instructions. $ x86_64-pc-linux-gnu-g++ -v Using built-in specs. COLLECT_GCC=3D/repo/gcc-trunk/binary-latest/bin/x86_64-pc-linux-gnu-g++ COLLECT_LTO_WRAPPER=3D/repo/gcc-trunk/binary-trunk-r13-4610-20221212132425-= g14d0f82cab3-checking-yes-rtl-df-extra-amd64/bin/../libexec/gcc/x86_64-pc-l= inux-gnu/13.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=3Dc,c++ --enable-valgrind-annotations --disable-nls --enable-checking=3Dyes,rtl,df,= extra --with-cloog --with-ppl --with-isl --build=3Dx86_64-pc-linux-gnu --host=3Dx86_64-pc-linux-gnu --target=3Dx86_64-pc-linux-gnu --with-ld=3D/usr/bin/x86_64-pc-linux-gnu-ld --with-as=3D/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=3D/repo/gcc-trunk//binary-trunk-r13-4610-20221212132425-g14d0f82ca= b3-checking-yes-rtl-df-extra-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.0.0 20221212 (experimental) (GCC)=