https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85092
Bug ID: 85092 Summary: ICE under -std=gnu++1z in build_over_call under, at cp/call.c:8149 Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: rimvydas.jas at gmail dot com Target Milestone: --- Recent regression. $ cat citra.cpp #include <string> struct Part { Part(const std::int32_t& value) : value{std::to_string(value)} {} std::string value; }; $ /opt/gcc/20180327/bin/g++ citra.cpp -std=gnu++1z citra.cpp: In constructor ‘Part::Part(const int32_t&)’: citra.cpp:4:66: internal compiler error: in build_over_call, at cp/call.c:8149 Part(const std::int32_t& value) : value{std::to_string(value)} {}