http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50866
Bug #: 50866
Summary: [4.7 Regression] ICE in verify_gimple_stmt, at
tree-cfg.c:4175
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: [email protected]
ReportedBy: [email protected]
Consider:
% < test.cpp
#include <string>
struct KeyParams {
std::string hostname;
std::string username;
};
class SyncInternal
{
void SetPassphrase();
};
void SyncInternal::SetPassphrase()
{
KeyParams params = {
"a","b"
};
}
% g++ -w -fpermissive test.cpp
test.cpp: In member function ‘void SyncInternal::SetPassphrase()’:
test.cpp:10:6: internal compiler error: in verify_gimple_stmt, at
tree-cfg.c:4175
Please submit a full bug report
bit-bisect points to:
b3c93f85c7135781bfe1a520feab3fbe440338e6 is the first bad commit
commit b3c93f85c7135781bfe1a520feab3fbe440338e6
Author: jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Thu Oct 20 19:13:51 2011 +0000
PR c++/41449
* typeck2.c (split_nonconstant_init_1): Handle EH cleanup of
initialized subobjects.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180267
138bc75d-0d04-0410-961f-82ee72b054a4