https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81014
Bug ID: 81014 Summary: internal compiler error: in make_decl_rtl, at varasm.c:1311 Product: gcc Version: 7.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: rain.backnet at gmail dot com Target Milestone: --- Unfortunately source and preprocessed files are not available in this instance, but hopefully this is still of some use. In file included from /home/slowriot/code/sphereface/vectorstorm/vectorstorm.h:109:0, from /home/slowriot/code/sphereface/vectorstorm/vectorstorm.cpp:1: /home/slowriot/code/sphereface/vectorstorm/quat/quat.h: In constructor ‘constexpr quaternion<T>::quaternion(const matrix3<T>&) [with T = long double]’: /home/slowriot/code/sphereface/vectorstorm/quat/quat.h:119:34: internal compiler error: in make_decl_rtl, at varasm.c:1311 root = static_cast<T>(0.5) / root; // 1/(4w) ~~~~~~~~~~~~~~~~~~~~^~~~~~ 0xd2801d make_decl_rtl(tree_node*) ../../src/gcc/varasm.c:1307 0x863f27 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) ../../src/gcc/expr.c:9804 0x86c505 expand_expr ../../src/gcc/expr.h:276 0x86c505 expand_expr_addr_expr_1 ../../src/gcc/expr.c:7782 0x862dde expand_expr_addr_expr ../../src/gcc/expr.c:7903 0x862dde expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) ../../src/gcc/expr.c:11046 0x863bf2 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) ../../src/gcc/expr.c:9773 0x873847 expand_expr ../../src/gcc/expr.h:276 0x873847 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode, expand_modifier) ../../src/gcc/expr.c:8301 0x77fc6d expand_gimple_stmt_1 ../../src/gcc/cfgexpand.c:3676 0x77fc6d expand_gimple_stmt ../../src/gcc/cfgexpand.c:3737 0x780b9f expand_gimple_basic_block ../../src/gcc/cfgexpand.c:5744 0x785ce6 execute ../../src/gcc/cfgexpand.c:6357 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-7/README.Bugs> for instructions.