https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61687

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Jul 30 17:27:20 2014
New Revision: 213308

URL: https://gcc.gnu.org/viewcvs?rev=213308&root=gcc&view=rev
Log:
    PR c++/61659
    PR c++/61687
Revert:
gcc/c-family/
    * c.opt (-fuse-all-virtuals): New.
gcc/cp/
    * decl2.c (mark_all_virtuals): New variable.
    (maybe_emit_vtables): Check it instead of flag_devirtualize.
    (cp_write_global_declarations): Set it and give helpful diagnostic
    if it introduces errors.
    * class.c (finish_struct_1): Check it.

Removed:
    trunk/gcc/testsuite/g++.dg/template/dtor9a.C
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c.opt
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c
    trunk/gcc/cp/decl2.c
    trunk/gcc/doc/invoke.texi
    trunk/gcc/testsuite/g++.dg/template/dtor9.C

Reply via email to