https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70254
Bug ID: 70254 Summary: Compiler crash Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dannix84 at gmail dot com Target Milestone: --- g++ crashes with internal compiler error: Segmentation fault when trying to instantiate the following template class: template<typename Creator> class NamedResourceFactory { using ResourceType = decltype(Creator())::type::pointer; };