From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 561C03858D37; Thu, 29 Sep 2022 09:26:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 561C03858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664443596; bh=0Ru8RTLhuHKKc//6+YCsLVbaWPOp++0/PzCzOOc2kUU=; h=From:To:Subject:Date:From; b=GBz9645qZIJq2QUO/ldhLC3NF9Fbogs92TV4Hrj+UbGvfORE82EQUSnf0KCmU47+Q E16mcJdwGnA9hFrtGK0T+2petN4dsLstFBlf13vPv7aNKXH0lW0NxIjgDT1aG3MVpz D8DrM1kfVX/rS9LYDLgzkGm2fS7bUKDDpj1M88lo= From: "karl.weber99 at gmx dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107083] New: internal compiler error: in core_vals, at cp/module.cc:6127 Date: Thu, 29 Sep 2022 09:26:33 +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: 12.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: karl.weber99 at gmx dot net 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 bug_severity priority component assigned_to reporter target_milestone 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=3D107083 Bug ID: 107083 Summary: internal compiler error: in core_vals, at cp/module.cc:6127 Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: karl.weber99 at gmx dot net Target Milestone: --- Created attachment 53639 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D53639&action=3Dedit Output of compiler due to option -freport-bug Environment: openSUSE 15.3 linux system. I downloaded fmt::format from https://github.com/fmtlib/fmt/ and tried to compile the header file fmt/core.h of this package with g++ -freport-bug -fmodules-ts -std=3Dc++20 -c -x c++-system-header fmt/core= .h The output of the compiler is /usr/local/include/fmt/core.h: internal compiler error: in core_vals, at cp/module.cc:6127 0x407d0d trees_out::core_vals(tree_node*) ../../gcc_12.2/gcc-12.2.0/gcc/cp/module.cc:6127 0x54143b trees_out::tree_node_vals(tree_node*) ../../gcc_12.2/gcc-12.2.0/gcc/cp/module.cc:7073 0x54143b trees_out::tree_value(tree_node*) ../../gcc_12.2/gcc-12.2.0/gcc/cp/module.cc:8910 0x53a43c trees_out::tree_node(tree_node*) ../../gcc_12.2/gcc-12.2.0/gcc/cp/module.cc:9108 0x53ddf5 trees_out::core_vals(tree_node*) ../../gcc_12.2/gcc-12.2.0/gcc/cp/module.cc:6036 0x53e460 trees_out::tree_node_vals(tree_node*) ../../gcc_12.2/gcc-12.2.0/gcc/cp/module.cc:7073 0x53f35b trees_out::decl_value(tree_node*, depset*) ../../gcc_12.2/gcc-12.2.0/gcc/cp/module.cc:7652 0x53f9f1 depset::hash::find_dependencies(module_state*) ../../gcc_12.2/gcc-12.2.0/gcc/cp/module.cc:13139 0x53ff86 module_state::write(elf_out*, cpp_reader*) ../../gcc_12.2/gcc-12.2.0/gcc/cp/module.cc:17629 0x541290 finish_module_processing(cpp_reader*) ../../gcc_12.2/gcc-12.2.0/gcc/cp/module.cc:19886 0x4ed14b c_parse_final_cleanups() ../../gcc_12.2/gcc-12.2.0/gcc/cp/decl2.cc:5342 Please submit a full bug report, with preprocessed source. Please include the complete backtrace with any bug report. See for instructions. Preprocessed source stored into /tmp/cc9Z23Fg.out file, please attach this = to your bugreport.=