http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59918
Bug ID: 59918 Summary: [4.9 Regression] ICE in record_target_from_binfo, at ipa-devirt.c:693 Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: doko at gcc dot gnu.org Created attachment 31931 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31931&action=edit preprocessed source seen with trunk 20140122, works with the 4.8 branch. Lowering to -O1 works around the issue. $ g++ -c -g -O2 dll.ii In file included from seckey.h:8:0, from rijndael.h:7, from aes.h:4, from dll.h:11, from dll.cpp:6: cryptlib.h: In member function 'bool CryptoPP::NameValuePairs::GetValue(const char*, T&) const [with T = int]': cryptlib.h:263:46: internal compiler error: in record_target_from_binfo, at ipa-devirt.c:693 return GetVoidValue(name, typeid(T), &value); ^ Please submit a full bug report, with preprocessed source if appropriate.