aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgexpand.c
diff options
context:
space:
mode:
authorMatthew Beliveau <mbelivea@redhat.com>2019-06-11 15:03:21 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2019-06-11 15:03:21 +0000
commitd3786ebbb06f501be93cceaf087339986e4829c7 (patch)
treee9d8906df0f5a198c89227bd39ecdfc5ca01878a /gcc/cfgexpand.c
parentda10c178007d4edea4ad97f49041c6a6a8c5b02d (diff)
downloadgcc-d3786ebbb06f501be93cceaf087339986e4829c7.zip
gcc-d3786ebbb06f501be93cceaf087339986e4829c7.tar.gz
gcc-d3786ebbb06f501be93cceaf087339986e4829c7.tar.bz2
PR c++/90449 - add -Winaccessible-base option.
* doc/invoke.texi (Winaccessible-base): Document. * c.opt (Winaccessible-base): Added new option. * class.c (warn_about_ambiguous_bases): Changed name to: maybe_warn_about_inaccessible_bases. (maybe_warn_about_inaccessible_bases): Implemented new Winaccessible-base warning option for both direct and virtual base warnings. (layout_class_type): Call to warn_about_ambiguous_bases changed to fit new name. * g++.dg/warn/Winaccessible-base-1.C: New file. * g++.dg/warn/Winaccessible-base-2.C: New file. * g++.dg/warn/Winaccessible-virtual-base-1.C: New file. * g++.dg/warn/Winaccessible-virtual-base-2.C: New file. From-SVN: r272157
Diffstat (limited to 'gcc/cfgexpand.c')
0 files changed, 0 insertions, 0 deletions