This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17456] New: [3.3 regression] ICE when brackets missing from member function call
- From: "zak at transversal dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Sep 2004 11:49:05 -0000
- Subject: [Bug c++/17456] New: [3.3 regression] ICE when brackets missing from member function call
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following code produces a sensible error (statement cannot resolve address
of overloaded function) immediately followed by an ICE.
Note that removing the base class makes the ICE go away.
Fails in all 3.3 versions; other branches seem unaffected.
struct B { };
struct D : B
{
void foo();
D() { foo; }
};
--
Summary: [3.3 regression] ICE when brackets missing from member
function call
Product: gcc
Version: 3.3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: zak at transversal dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17456