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++/82219] [8 Regression] Not wanted warning: "type qualifiers ignored on cast result type" on template instantiation


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

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Nov 30 17:43:08 2017
New Revision: 255279

URL: https://gcc.gnu.org/viewcvs?rev=255279&root=gcc&view=rev
Log:
        PR c++/82219 - bogus -Wignored-qualifiers with template

        * pt.c (tsubst_copy_and_build) [STATIC_CAST_EXPR]: Suppress
        -Wignored-qualifiers.

Added:
    trunk/gcc/testsuite/g++.dg/warn/Wignored-qualifiers1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c

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