https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115310
Sam James <sjames at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sjames at gcc dot gnu.org --- Comment #2 from Sam James <sjames at gcc dot gnu.org> --- (In reply to Martin Jambor from comment #0) > > This reduces the ability to use -std=gnu89 to avoid new errors which > used to be warnings in environments where -Werror=return-type is the > default. In such environments, you don't need an explicit -Werror=return-type. So, you're asking presumably about testing with < GCC 14 to emulate >= GCC 14 behaviour? It works fine without the explicit -Werror=return-type on GCC 14.