This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11294] New: ICE in resolve_offset_ref, at cp/init.c: 1886
- From: "christoph dot pesch at siemens dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jun 2003 15:34:05 -0000
- Subject: [Bug c++/11294] New: ICE in resolve_offset_ref, at cp/init.c: 1886
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11294
Summary: ICE in resolve_offset_ref, at cp/init.c: 1886
Product: gcc
Version: 3.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: christoph dot pesch at siemens dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: i486-suse-linux
When compiling the following source an ICE is reported:
#include <functional>
struct C
{
void mf();
};
void f()
{
std::mem_fun(&(C::mf));
// ^ ^ ICE if parenthesis are added
}
pesch@kstbu027[~/src/c++/test]285: g++ -c gcc_bug.cpp
gcc_bug.cpp: In function `void f()':
gcc_bug.cpp:10: Internal compiler error in resolve_offset_ref, at cp/init.c:
1886
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.