https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84621
Martin Sebor <msebor at gcc dot gnu.org> 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 <msebor at gcc dot gnu.org> ---
This never worked as expected so it's not a regresion.