public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/106152] New: New ICE compiling template expressions
@ 2022-06-30 19:16 byteslice at airmail dot cc
2022-07-04 12:05 ` [Bug c++/106152] New ICE compiling template expressions since r13-1045-gcb7fd1ea85feea7e marxin at gcc dot gnu.org
2022-07-05 12:53 ` ppalka at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: byteslice at airmail dot cc @ 2022-06-30 19:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106152
Bug ID: 106152
Summary: New ICE compiling template expressions
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: byteslice at airmail dot cc
Target Milestone: ---
Created attachment 53229
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53229&action=edit
Reduced example
Compile with -std=gnu++20. No ICE on 12.
g++ (f35dbc02092fbcd3d814fcd9fe8e871c3f741fd, binutils-2.38) 13.0.0 20220626
--
<source>: In instantiation of 'struct invert_typelist_impl<index_tuple<0> >':
<source>:20:75: required from 'struct invert_typelist<typelist<int> >'
<source>:22:11: required from here
<source>:15:21: internal compiler error: in iterative_hash_template_arg, at
cp/pt.cc:1819
15 | static const long last_idx;
| ^~~~~~~~
0x2212db9 internal_error(char const*, ...)
???:0
0x74a531 fancy_abort(char const*, int, char const*)
???:0
0x9a2397 iterative_hash_template_arg(tree_node*, unsigned int)
???:0
0x9a16bd iterative_hash_template_arg(tree_node*, unsigned int)
???:0
0x9cb387 tsubst(tree_node*, tree_node*, int, tree_node*)
???:0
0x9f7d56 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
???:0
0x9caeea tsubst(tree_node*, tree_node*, int, tree_node*)
???:0
0x9e6987 tsubst_pack_expansion(tree_node*, tree_node*, int, tree_node*)
???:0
0x9f7fd2 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
???:0
0x9cb0e9 tsubst(tree_node*, tree_node*, int, tree_node*)
???:0
0x9cb387 tsubst(tree_node*, tree_node*, int, tree_node*)
???:0
0xa118b1 instantiate_class_template(tree_node*)
???:0
0xa11b27 instantiate_class_template(tree_node*)
???:0
0xa87f8b complete_type_or_maybe_complain(tree_node*, tree_node*, int)
???:0
0x9b8750 process_template_parm(tree_node*, unsigned int, tree_node*, bool,
bool)
???:0
0x993a5d c_parse_file()
???:0
0xb2a161 c_common_parse_file()
???:0
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/106152] New ICE compiling template expressions since r13-1045-gcb7fd1ea85feea7e
2022-06-30 19:16 [Bug c++/106152] New: New ICE compiling template expressions byteslice at airmail dot cc
@ 2022-07-04 12:05 ` marxin at gcc dot gnu.org
2022-07-05 12:53 ` ppalka at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-07-04 12:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106152
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2022-07-04
Status|UNCONFIRMED |NEW
Summary|New ICE compiling template |New ICE compiling template
|expressions |expressions since
| |r13-1045-gcb7fd1ea85feea7e
Ever confirmed|0 |1
CC| |marxin at gcc dot gnu.org,
| |ppalka at gcc dot gnu.org
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r13-1045-gcb7fd1ea85feea7e.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/106152] New ICE compiling template expressions since r13-1045-gcb7fd1ea85feea7e
2022-06-30 19:16 [Bug c++/106152] New: New ICE compiling template expressions byteslice at airmail dot cc
2022-07-04 12:05 ` [Bug c++/106152] New ICE compiling template expressions since r13-1045-gcb7fd1ea85feea7e marxin at gcc dot gnu.org
@ 2022-07-05 12:53 ` ppalka at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: ppalka at gcc dot gnu.org @ 2022-07-05 12:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106152
Patrick Palka <ppalka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Status|NEW |RESOLVED
--- Comment #2 from Patrick Palka <ppalka at gcc dot gnu.org> ---
dup
*** This bug has been marked as a duplicate of bug 105956 ***
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-07-05 12:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-30 19:16 [Bug c++/106152] New: New ICE compiling template expressions byteslice at airmail dot cc
2022-07-04 12:05 ` [Bug c++/106152] New ICE compiling template expressions since r13-1045-gcb7fd1ea85feea7e marxin at gcc dot gnu.org
2022-07-05 12:53 ` 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).