This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/83503] [8 Regression] bogus -Wattributes for const and pure on function template specialization
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 28 Feb 2018 18:57:08 +0000
- Subject: [Bug c++/83503] [8 Regression] bogus -Wattributes for const and pure on function template specialization
- Auto-submitted: auto-generated
- References: <bug-83503-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83503
--- Comment #23 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Feb 28 18:56:36 2018
New Revision: 258079
URL: https://gcc.gnu.org/viewcvs?rev=258079&root=gcc&view=rev
Log:
PR c++/83871
PR c++/83503
* pt.c (INCLUDE_STRING): Remove define.
(warn_spec_missing_attributes): Use pretty_printer instead of
std::string. Fix up inform call so that the list of attributes
is in %s argument.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c