https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84318
Martin Sebor <msebor at gcc dot gnu.org> 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 <msebor at gcc dot gnu.org> --- This is a regression from 4.4. The likely revision that caused it is r147293: 2009-05-08 H.J. Lu <hongjiu...@intel.com> 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.