This is the mail archive of the
mailing list for the GCC project.
- From: Jeff Law <law at redhat dot com>
- To: Prathamesh Kulkarni <prathamesh dot kulkarni at linaro dot org>, gcc Patches <gcc-patches at gcc dot gnu dot org>, "Joseph S. Myers" <joseph at codesourcery dot com>
- Date: Tue, 3 Sep 2019 13:52:07 -0600
- Subject: Re: PR78736
- References: <CAAgBjMmTsmxY5eb7wfPOaV2gazP8B6cGOoExG0vYde+pvyOs7w@mail.gmail.com>
On 8/28/19 8:55 PM, Prathamesh Kulkarni wrote:
> This is a rebased patch on trunk for PR78736. The last time, it got
> stuck, because of warning issues with libgfortran, for which I filed
> PR91593. The patch relegates the warning to Wextra instead, which only
> triggers (non-fatal) warnings in libgfortran/io/transfer.c, and
> survives bootstrap+test on x86_64-unknown-linux-gnu. (Also IIRC, Wall
> triggered several instances of the warning with allmodconfig kernel
> build last time).
> Is the patch OK to commit ?
> 2019-08-29 Prathamesh Kulkarni <firstname.lastname@example.org>
> * doc/invoke.texi: Document -Wenum-conversion.
> * c-family/c.opt (Wenum-conversion): New option.
> * c/c-typeck.c (convert_for_assignment): Handle Wenum-conversion.
> * gcc.dg/Wenum-conversion.c: New test-case.
OK. I'd be nice to have a note on PR91593