[Bug c++/70254] New: Compiler crash

dannix84 at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Mar 16 09:30:00 GMT 2016


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;
};


More information about the Gcc-bugs mailing list