[Bug c++/53356] New: ICE in verify_gimple_stmt, at tree-cfg.c:4258
foom at fuhm dot net
gcc-bugzilla@gcc.gnu.org
Tue May 15 04:26:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53356
Bug #: 53356
Summary: ICE in verify_gimple_stmt, at tree-cfg.c:4258
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: foom@fuhm.net
On the code:
test.cpp:
===============
class A {};
struct B {
operator const A &() const;
};
A* cause_ICE() {
return new A(B());
}
===============
Running: g++ -std=c++0x -c test.cpp
With gcc version: g++ (Debian 4.7.0-8) 4.7.0
(which says it's built from r187339 on the gcc 4.7 branch).
On architecture: x86-64
Crashes with error message:
test.cpp: In function ‘Foo* cause_ICE()’:
test.cpp:7:6: internal compiler error: in verify_gimple_stmt, at
tree-cfg.c:4258
Removing -std=c++0x makes it not crash. 4.6.3 does not crash.
This looks similar to bug 49996, (but obviously different, because that one is
still fixed).
More information about the Gcc-bugs
mailing list