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++/83503] [8 Regression] bogus -Wattributes for const and pure on function template specialization


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

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