[Bug c++/49996] Internal error in verify_gimple_stmt: initializing struct in new-initializer
markus at trippelsdorf dot de
gcc-bugzilla@gcc.gnu.org
Tue Oct 25 13:21:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49996
--- Comment #5 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2011-10-25 13:21:06 UTC ---
Further reduced:
% < 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,
More information about the Gcc-bugs
mailing list