> Hasn't it enabled it also for any other FEs other than C family and Fortran?
> Say jit, brig, go, lto?, ...

Very likely, yes.

> I think better would be to remove the initialization to -1 and revert the
> fortran/options.c change, and instead use in the C family:
>   if (!global_options_set.x_warn_return_type)
>     warn_return_type = c_dialect_cxx ();

No disagreement.

-- 
Eric Botcazou

Reply via email to