https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61998
Bug ID: 61998 Summary: [4.10 Regression] ICE: Segmentation fault with -Wsuggest-final-types Product: gcc Version: 4.10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org CC: hubicka at gcc dot gnu.org markus@x4 ~ % touch foo.ii markus@x4 ~ % g++ -Wsuggest-final-types -O2 foo.ii foo.ii:1:0: internal compiler error: Segmentation fault 0xb9445f crash_signal ../../gcc/gcc/toplev.c:337 0x9fcab9 ipa_devirt ../../gcc/gcc/ipa-devirt.c:3102 0x9fcab9 execute ../../gcc/gcc/ipa-devirt.c:3372 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. Also both -Wsuggest-final-types -Wsuggest-final-methods should probably only be enabled for C++11 or higher, because C++98 doesn't support the final keyword.