[Bug c++/84621] bogus -Wreturn-type on a template instantiated on a function

2021-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84621

--- Comment #2 from Andrew Pinski  ---
We get the warning during the definition of ff and not after instantiating the
function.

[Bug c++/84621] bogus -Wreturn-type on a template instantiated on a function

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

Martin Sebor  changed:

   What|Removed |Added

   Keywords||diagnostic
Summary|bogus -Wresturn-type on a   |bogus -Wreturn-type on a
   |template instantiated on a  |template instantiated on a
   |function|function
  Known to fail||4.1.0, 4.5.4, 4.8.3, 4.9.4,
   ||5.4.0, 6.3.0, 7.3.0, 8.0

--- Comment #1 from Martin Sebor  ---
This never worked as expected so it's not a regresion.