This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/82219] [8 Regression] Not wanted warning: "type qualifiers ignored on cast result type" on template instantiation
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 30 Nov 2017 17:43:39 +0000
- Subject: [Bug c++/82219] [8 Regression] Not wanted warning: "type qualifiers ignored on cast result type" on template instantiation
- Auto-submitted: auto-generated
- References: <bug-82219-4@http.gcc.gnu.org/bugzilla/>
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