Ping for the following C patch sent on 4/22/2018
https://gcc.gnu.org/ml/gcc-patches/2018-04/msg01034.html
Thanks,
--Dave
==========
On 04/22/2018 12:17 PM, dave.pa...@oracle.com wrote:
This patch fixes handling of -Werror=return-type as well as
-Wno-return-type. Currently, -Werror=return-type does not turn the
warnings into errors and -Wno-return-type does not turn off
warning/error. Now they both work as expected.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55976
Initialize warn_return_type only for C++/C++ with ObjC extensions. In
C, this allows us to differentiate between default (no option), or
cases where -Wreturn-type/-Wno-return-type are specified. Elsewhere,
update references to warn_return_type (for C) to reflect change in
initialization.
Patch was successfully bootstrapped and tested on x86_64-linux.
--Dave