This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/70254] New: Compiler crash
- From: "dannix84 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 16 Mar 2016 09:30:25 +0000
- Subject: [Bug c++/70254] New: Compiler crash
- Auto-submitted: auto-generated
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;
};