[Bug c++/84158] [6/7 Regression] missing -Wreturn-type due to incorrect handling of attributes for template specializations

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

Martin Sebor  changed:

   What|Removed |Added

   Target Milestone|6.5 |8.0

--- Comment #8 from Martin Sebor  ---
Jason agrees with not backporting, so setting target milestone to 8.0.

[Bug c++/84158] [6/7 Regression] missing -Wreturn-type due to incorrect handling of attributes for template specializations

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

Martin Sebor  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED
   Assignee|unassigned at gcc dot gnu.org  |msebor at gcc dot 
gnu.org
Summary|[6/7/8 Regression] missing  |[6/7 Regression] missing
   |-Wreturn-type due to|-Wreturn-type due to
   |incorrect handling of   |incorrect handling of
   |attributes for template |attributes for template
   |specializations |specializations

--- Comment #7 from Martin Sebor  ---
Fixed by r258045.  I don't think the fix is safe to backport.