This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Sun Jun 18 04:25:15 2017
New Revision: 249344

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

        * method.c (forward_parm): Suppress warn_useless_cast.

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

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Sun Jun 18 04:28:03 2017
New Revision: 249345

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

        * method.c (forward_parm): Suppress warn_useless_cast.

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]