https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68348
Bug ID: 68348 Summary: ice in cxx_eval_constant_expression at cp/constexpr.c:3172 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 36707 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36707&action=edit gzipped C++ source code I used gcc trunk dated 20151114 to compile the attached C++ code. The compiler said ../../analitzaplot/plotter2d.cpp: In member function ‘QRectF Analitza::Plotter2D ::normalizeUserViewport(QRectF)’: ../../analitzaplot/plotter2d.cpp:944:41: in constexpr expansion of ‘#‘result_d ecl’ not supported by dump_expr#<expression error>.QRectF::width()’ ../../analitzaplot/plotter2d.cpp:968:1: internal compiler error: Segmentation fa ult 0xd6ab3f crash_signal ../../src/trunk/gcc/toplev.c:336 0x7f3d12 cxx_eval_constant_expression ../../src/trunk/gcc/cp/constexpr.c:3172 0x7f5d5a cxx_eval_indirect_ref ../../src/trunk/gcc/cp/constexpr.c:2609 0x7f2dbf cxx_eval_constant_expression ../../src/trunk/gcc/cp/constexpr.c:3363