[Bug optimization/15358] New: ICE in get_scalar_for_field with pointer-to-member
falk at debian dot org
gcc-bugzilla@gcc.gnu.org
Sun May 9 22:42:00 GMT 2004
g++ (GCC) 3.5-tree-ssa 20040430 (merged 20040428)
% cat test.cc
struct Validators { };
typedef bool (Validators::*IsValid)();
struct Action {
IsValid getIsValid() const { return isValid_; };
IsValid isValid_;
};
void f(IsValid isValid);
void initActionBindings() {
IsValid isValid = 0;
f (isValid);
}
% g++ -c -O test.cc
test.cc: In function `void initActionBindings()':
test.cc:10: internal compiler error: in get_scalar_for_field, at tree-sra.c:255
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Reminds me a bit of bug 14089.
--
Summary: ICE in get_scalar_for_field with pointer-to-member
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P2
Component: optimization
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=15358
More information about the Gcc-bugs
mailing list