https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84573

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2021-12-17

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Plus this is valid:
template <class T>
T g () { }   // missing warning

template<> void g<void>();


So having a return here would be invalid code and the warning might influence
someone to add it.

What do you think?

Reply via email to