[Bug c++/67407] New: ice in friend_accessible_p
dcb314 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Aug 31 11:22:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67407
Bug ID: 67407
Summary: ice in friend_accessible_p
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
Created attachment 36273
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36273&action=edit
gzipped C++ source code
The attached code, when compiled by gcc trunk dated 20150829,
does this
/home/dcb/rpmbuild/BUILD/qt-gstreamer-1.2.0/src/QGst/../QGlib/refpointer.h:48:43
: internal compiler error: in friend_accessible_p, at cp/sea
rch.c:847
return self.m_class->m_object == other.m_class->m_object;
^
0x787fab friend_accessible_p
../../src/trunk/gcc/cp/search.c:847
0x787f72 friend_accessible_p
../../src/trunk/gcc/cp/search.c:839
0x787d6c friend_accessible_p
../../src/trunk/gcc/cp/search.c:822
0x788382 dfs_accessible_post
../../src/trunk/gcc/cp/search.c:907
cp/search.c:847 is
gcc_checking_assert (!is_friend (type, scope));
More information about the Gcc-bugs
mailing list