c0221884ec
PR c++/61659 PR c++/61687 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. * decl.c (grokdeclarator): Clear virtualp after 'virtual auto' error. From-SVN: r212436 |
||
---|---|---|
.. | ||
array-notation-common.c | ||
c-ada-spec.c | ||
c-ada-spec.h | ||
c-cilkplus.c | ||
c-common.c | ||
c-common.def | ||
c-common.h | ||
c-cppbuiltin.c | ||
c-dump.c | ||
c-format.c | ||
c-format.h | ||
c-gimplify.c | ||
c-lex.c | ||
c-objc.h | ||
c-omp.c | ||
c-opts.c | ||
c-pch.c | ||
c-ppoutput.c | ||
c-pragma.c | ||
c-pragma.h | ||
c-pretty-print.c | ||
c-pretty-print.h | ||
c-semantics.c | ||
c-target-def.h | ||
c-target.def | ||
c-target.h | ||
c-ubsan.c | ||
c-ubsan.h | ||
c.opt | ||
ChangeLog | ||
cilk.c | ||
cppspec.c | ||
stub-objc.c |