This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14089] New: ICE in check_pointer_types_r
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Feb 2004 23:45:44 -0000
- Subject: [Bug c++/14089] New: ICE in check_pointer_types_r
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
% cat min4.c
struct pair {
typedef void (pair::*fp)();
int first;
pair::fp second;
pair(const int& a, const pair::fp& b) : first(a), second(b) {}
void f(const int& a, const pair::fp& b) { first = a; second = b; }
};
void op() {
pair(5, pair::fp());
}
% g++ -c min4.c
min4.c: In member function `void pair::f(const int&, void (pair::*const&)())':
min4.c:6: internal compiler error: in check_pointer_types_r, at gimplify.c:3460
Please submit a full bug report,
--
Summary: ICE in check_pointer_types_r
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: falk at debian dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: alphaev68-unknown-linux-gnu
GCC host triplet: alphaev68-unknown-linux-gnu
GCC target triplet: alphaev68-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14089