[Bug c++/100928] New: [c++20] ICE with structural type value returned from constexpr function as template argument
josephcanedo at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Sat Jun 5 22:25:16 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100928
Bug ID: 100928
Summary: [c++20] ICE with structural type value returned from
constexpr function as template argument
Product: gcc
Version: 11.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: josephcanedo at hotmail dot com
Target Milestone: ---
Created attachment 50953
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50953&action=edit
test_tag.cpp
$ g++-11 -std=c++20 -c test_tag.cpp
test_tag.cpp:40:43: internal compiler error: Segmentation fault
40 | using concat_test = test<Name + "hhhh"_tag>;
| ^
0xe30681 internal_error(char const*, ...)
???:0
0x1062d42 resolve_args(vec<tree_node*, va_gc, vl_embed>*, int)
???:0
0x10a169a finish_template_type(tree_node*, tree_node*, int)
???:0
0x1492c03 c_parse_file()
???:0
0x148061e c_common_parse_file()
???:0
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-11/README.Bugs> for instructions.
More information about the Gcc-bugs
mailing list