[Bug c++/70844] [6/7/8 Regression] spurious -Wuseless-cast warning with inherited constructors

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 19 16:23:00 GMT 2017


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

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Jun 19 16:21:40 2017
New Revision: 249378

URL: https://gcc.gnu.org/viewcvs?rev=249378&root=gcc&view=rev
Log:
        PR c++/70844 - -Wuseless-cast and inheriting constructor.

        * method.c (forward_parm): Suppress warn_useless_cast.

Added:
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/inh-ctor27.C
Modified:
    branches/gcc-6-branch/gcc/cp/ChangeLog
    branches/gcc-6-branch/gcc/cp/method.c


More information about the Gcc-bugs mailing list