Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 6 years ago

Language

C++

Compiler

gcc HEAD 10.0.0 20190430 (experimental)

Options
Warnings
Don't Use Boost
C++17
no pedantic

Author

anonymous

about 6 years ago

$ g++ prog.cc -Wall -Wextra -std=c++17
during RTL pass: expand
prog.cc: In function 'void __static_initialization_and_destruction_0(int, int)':
prog.cc:10:11: internal compiler error: in assign_temp, at function.c:982
   10 | D a { f() };
      |           ^
0x596de0 assign_temp(tree_node*, int, int)
	../../source/gcc/function.c:982
0x7b185f expand_call(tree_node*, rtx_def*, int)
	../../source/gcc/calls.c:3459
0x8b0236 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool)
	../../source/gcc/expr.c:11033
0x8bdc73 expand_normal
	../../source/gcc/expr.h:285
0x8bdc73 store_field
	../../source/gcc/expr.c:7022
0x8bb2d3 expand_assignment(tree_node*, tree_node*, bool)
	../../source/gcc/expr.c:5296
0x7bd3d0 expand_call_stmt
	../../source/gcc/cfgexpand.c:2722
0x7bd3d0 expand_gimple_stmt_1
	../../source/gcc/cfgexpand.c:3691
0x7bd3d0 expand_gimple_stmt
	../../source/gcc/cfgexpand.c:3850
0x7c20f7 expand_gimple_basic_block
	../../source/gcc/cfgexpand.c:5886
0x7c448e execute
	../../source/gcc/cfgexpand.c:6509
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