This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/49996] Internal error in verify_gimple_stmt: initializing struct in new-initializer


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,


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]