[Bug c++/84318] [6/7/8 Regression] attribute deprecated on function templates different than class templates

2018-02-12 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84318

Martin Sebor  changed:

   What|Removed |Added

   Keywords||patch

--- Comment #3 from Martin Sebor  ---
Patch: https://gcc.gnu.org/ml/gcc-patches/2018-02/msg00688.html

[Bug c++/84318] [6/7/8 Regression] attribute deprecated on function templates different than class templates

2018-02-12 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84318

Martin Sebor  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2018-02-12
   Assignee|unassigned at gcc dot gnu.org  |msebor at gcc dot 
gnu.org
 Ever confirmed|0   |1

--- Comment #2 from Martin Sebor  ---
Testing a patch.

[Bug c++/84318] [6/7/8 Regression] attribute deprecated on function templates different than class templates

2018-02-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84318

Richard Biener  changed:

   What|Removed |Added

   Priority|P3  |P2
   Target Milestone|--- |6.5

[Bug c++/84318] [6/7/8 Regression] attribute deprecated on function templates different than class templates

2018-02-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84318

Martin Sebor  changed:

   What|Removed |Added

   Keywords||diagnostic
  Component|debug   |c++
Summary|attribute deprecated on |[6/7/8 Regression]
   |function templates  |attribute deprecated on
   |different than class|function templates
   |templates   |different than class
   ||templates

--- Comment #1 from Martin Sebor  ---
This is a regression from 4.4.  The likely revision that caused it is r147293:

2009-05-08  H.J. Lu  

PR c/36892
* call.c (build_call_a): Updated warn_deprecated_use call.
(build_over_call): Likewise.
* decl.c (grokdeclarator): Likewise.
(grokparms): Likewise.
* semantics.c (finish_id_expression): Likewise.
* typeck.c (build_class_member_access_expr): Likewise.
(finish_class_member_access_expr): Likewise.