This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]