https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88830
Bug ID: 88830 Summary: ice in maybe_emit_vtables Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- For this C++ code, compiled with recent gcc: struct a { ~a(); }; class b { virtual void c(int &); }; class C : b { void c(int &); virtual int d() = 0; a e; }; void C::c(int &) {} does this: $ ~/gcc/results/bin/gcc -c -w bug495.cc <built-in>: internal compiler error: Segmentation fault 0x10c3017 crash_signal ../../trunk/gcc/toplev.c:326 0x9765b4 maybe_emit_vtables ../../trunk/gcc/cp/decl2.c:2232 0x9765b4 c_parse_final_cleanups() ../../trunk/gcc/cp/decl2.c:4797 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. $ The bug seems to occur between revisions 267850 and 267900.