Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 6 years ago

Language

C++

Compiler

gcc HEAD 10.0.1 20200219 (experimental)

Options
Warnings
Boost 1.72.0
C++2a(GNU)
no pedantic

Author

anonymous

almost 6 years ago

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.72.0/gcc-head/include -std=gnu++2a
prog.cc:6:58: internal compiler error: Segmentation fault
    6 | int(&&int4_rvref)[4] = static_cast<int(&&)[4]>(intu_rvref); // ICE
      |                                                          ^
0xc173ef crash_signal
	../../source/gcc/toplev.c:328
0xe583b4 tree_nop_conversion
	../../source/gcc/tree.c:12663
0xe583b4 tree_nop_conversion
	../../source/gcc/tree.c:12652
0xe583b4 tree_strip_nop_conversions(tree_node*)
	../../source/gcc/tree.c:12694
0x63284e potential_constant_expression_1
	../../source/gcc/cp/constexpr.c:7381
0x6337d2 potential_constant_expression_1(tree_node*, bool, bool, bool, int)
	../../source/gcc/cp/constexpr.c:7981
0x6337d2 potential_constant_expression(tree_node*)
	../../source/gcc/cp/constexpr.c:7990
0x6779ac cp_finish_decl(tree_node*, tree_node*, bool, tree_node*, int)
	../../source/gcc/cp/decl.c:7550
0x6f96c0 cp_parser_init_declarator
	../../source/gcc/cp/parser.c:20828
0x6dc7c0 cp_parser_simple_declaration
	../../source/gcc/cp/parser.c:13678
0x701a82 cp_parser_declaration
	../../source/gcc/cp/parser.c:13377
0x7021a4 cp_parser_translation_unit
	../../source/gcc/cp/parser.c:4731
0x7021a4 c_parse_file()
	../../source/gcc/cp/parser.c:43709
0x7c9aab c_common_parse_file()
	../../source/gcc/c-family/c-opts.c:1186
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
Exit Code:
1