[Bug c++/27495] New: [4.0/4.1/4.2 regression] ICE using "." instead of "->"
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon May 8 15:34:00 GMT 2006
The following invalid code snippet causes an ICE since GCC 3.4.3:
===================================
struct A
{
template<int> void foo();
void bar() { this.A::foo<0>(); }
};
===================================
bug.cc: In member function 'void A::bar()':
bug.cc:4: internal compiler error: tree check: expected record_type or
union_type or qual_union_type, have pointer_type in lookup_base, at
cp/search.c:213
Please submit a full bug report, [etc.]
--
Summary: [4.0/4.1/4.2 regression] ICE using "." instead of "->"
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, monitored
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27495
More information about the Gcc-bugs
mailing list