public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/107083] New: internal compiler error: in core_vals, at cp/module.cc:6127
@ 2022-09-29 9:26 karl.weber99 at gmx dot net
2022-09-30 15:23 ` [Bug c++/107083] [modules] " alexander.lelyakin at googlemail dot com
2024-03-06 21:32 ` ppalka at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: karl.weber99 at gmx dot net @ 2022-09-29 9:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107083
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=53639&action=edit
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=c++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 <https://gcc.gnu.org/bugs/> for instructions.
Preprocessed source stored into /tmp/cc9Z23Fg.out file, please attach this to
your bugreport.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/107083] [modules] internal compiler error: in core_vals, at cp/module.cc:6127
2022-09-29 9:26 [Bug c++/107083] New: internal compiler error: in core_vals, at cp/module.cc:6127 karl.weber99 at gmx dot net
@ 2022-09-30 15:23 ` alexander.lelyakin at googlemail dot com
2024-03-06 21:32 ` ppalka at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: alexander.lelyakin at googlemail dot com @ 2022-09-30 15:23 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107083
Alexander Lelyakin <alexander.lelyakin at googlemail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alexander.lelyakin@googlema
| |il.com
--- Comment #1 from Alexander Lelyakin <alexander.lelyakin at googlemail dot com> ---
Similar output while precompiling header <exception> :
g++ --param=hash-table-verification-limit=1000 -std=c++20 -fmodules-ts -x
c++-system-header execution
----
/usr/local/include/c++/13.0.0/execution: internal compiler error: in core_vals,
at cp/module.cc:6234
0x77c95d trees_out::core_vals(tree_node*)
../../gcc/gcc/cp/module.cc:6234
0xb386b4 trees_out::tree_node_vals(tree_node*)
../../gcc/gcc/cp/module.cc:7178
0xb386b4 trees_out::tree_value(tree_node*)
../../gcc/gcc/cp/module.cc:9043
0xb34411 trees_out::tree_node(tree_node*)
../../gcc/gcc/cp/module.cc:9241
0xb35ac3 trees_out::core_vals(tree_node*)
../../gcc/gcc/cp/module.cc:6142
0xb32f1a trees_out::tree_node_vals(tree_node*)
../../gcc/gcc/cp/module.cc:7178
0xb32f1a trees_out::decl_value(tree_node*, depset*)
../../gcc/gcc/cp/module.cc:7757
0xb3a7a2 depset::hash::find_dependencies(module_state*)
../../gcc/gcc/cp/module.cc:13315
0xb3af31 module_state::write_begin(elf_out*, cpp_reader*, module_state_config&,
unsigned int&)
../../gcc/gcc/cp/module.cc:17887
0xb3c324 finish_module_processing(cpp_reader*)
../../gcc/gcc/cp/module.cc:20221
0xac9a1b c_parse_final_cleanups()
../../gcc/gcc/cp/decl2.cc:5112
0xcf3610 c_common_parse_file()
../../gcc/gcc/c-family/c-opts.cc:1273
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.
----
g++ (GCC) 13.0.0 20220929 (experimental)
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/107083] [modules] internal compiler error: in core_vals, at cp/module.cc:6127
2022-09-29 9:26 [Bug c++/107083] New: internal compiler error: in core_vals, at cp/module.cc:6127 karl.weber99 at gmx dot net
2022-09-30 15:23 ` [Bug c++/107083] [modules] " alexander.lelyakin at googlemail dot com
@ 2024-03-06 21:32 ` ppalka at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: ppalka at gcc dot gnu.org @ 2024-03-06 21:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107083
Patrick Palka <ppalka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Patrick Palka <ppalka at gcc dot gnu.org> ---
dup
*** This bug has been marked as a duplicate of bug 108080 ***
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-03-06 21:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-29 9:26 [Bug c++/107083] New: internal compiler error: in core_vals, at cp/module.cc:6127 karl.weber99 at gmx dot net
2022-09-30 15:23 ` [Bug c++/107083] [modules] " alexander.lelyakin at googlemail dot com
2024-03-06 21:32 ` ppalka 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).