Re: [libgfortran] Replace implicit conversions between enums in io/transfer.c by explicit casts.

2017-09-26 Thread Janne Blomqvist
On Mon, Sep 25, 2017 at 8:12 PM, Prathamesh Kulkarni wrote: > On 12 September 2017 at 17:08, Prathamesh Kulkarni > wrote: >> Hi, >> I am working on patch for PR78736 >> (https://gcc.gnu.org/ml/gcc-patches/2017-09/msg00011.html), >>

Re: [libgfortran] Replace implicit conversions between enums in io/transfer.c by explicit casts.

2017-09-25 Thread Prathamesh Kulkarni
On 12 September 2017 at 17:08, Prathamesh Kulkarni wrote: > Hi, > I am working on patch for PR78736 > (https://gcc.gnu.org/ml/gcc-patches/2017-09/msg00011.html), > which adds a new warning -Wenum-conversion to C front-end to warn for > implicit conversion between

[libgfortran] Replace implicit conversions between enums in io/transfer.c by explicit casts.

2017-09-12 Thread Prathamesh Kulkarni
Hi, I am working on patch for PR78736 (https://gcc.gnu.org/ml/gcc-patches/2017-09/msg00011.html), which adds a new warning -Wenum-conversion to C front-end to warn for implicit conversion between different enums. The warning in that patch triggered on io/transfer.c for following implicit