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

--- Comment #13 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jason Merrill <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:4c6567b4090d9363f90b5c68e238e7d0964b6e89

commit r13-1824-g4c6567b4090d9363f90b5c68e238e7d0964b6e89
Author: Jason Merrill <ja...@redhat.com>
Date:   Sun Jul 24 23:26:59 2022 -0400

    c++: -Woverloaded-virtual false positive [PR87729]

    My attempt to shortcut unnecessary checking after finding a match was
    also wrong for multiple inheritance, so let's give up on it.

            PR c++/87729

    gcc/cp/ChangeLog:

            * class.cc (warn_hidden): Remove shortcut.

    gcc/testsuite/ChangeLog:

            * g++.dg/warn/Woverloaded-virt4.C: New test.
  • [Bug c++/87729] Please include ... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to