https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91388
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |2019-11-08 0:00
CC| |jakub at gcc dot gnu.org
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
It would be nice if it wasn't just any errorcount, but only if the errorcount
increased in the current function. Because -Wreturn-type warnings can be still
useful for unrelated functions.
A question is what to do with errors during function template parsing though,
whether
we'd remember it in some FUNCTION_DECL flag.