This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/77869] New: ICE on a code piece
- From: "ab at fmap dot me" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 05 Oct 2016 15:34:00 +0000
- Subject: [Bug c++/77869] New: ICE on a code piece
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77869
Bug ID: 77869
Summary: ICE on a code piece
Product: gcc
Version: 6.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ab at fmap dot me
Target Milestone: ---
Created attachment 39758
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39758&action=edit
test.cpp
This piece of code (minimized as far as I tried) causes a segfault on GCCs
6.2.0 and 6.2.1. Clang compiles the piece correctly. I'm not sure what's going
on here -- it seems related to a friend class when the class name is typedef'd
in the parent with involvement of templates.
If there's anything more that is helpful to nail this bug down, I'll be happy
to help!