This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49996] Internal error in verify_gimple_stmt: initializing struct in new-initializer
- From: "markus at trippelsdorf dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 25 Oct 2011 13:21:06 +0000
- Subject: [Bug c++/49996] Internal error in verify_gimple_stmt: initializing struct in new-initializer
- Auto-submitted: auto-generated
- References: <bug-49996-4@http.gcc.gnu.org/bugzilla/>
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,