This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: PATCH RFA: Avoid new -Wc++-compat warnings
- From: Tobias Burnus <burnus at net-b dot de>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: Sun, 19 Apr 2009 08:43:12 +0200
- Subject: Re: PATCH RFA: Avoid new -Wc++-compat warnings
- References: <m3myadi2f4.fsf@google.com>
Ian Lance Taylor wrote:
> This large but fairly mechanical patch fixes all the warnings introduce
> by the changes to -Wc++-compat I proposed in
> http://gcc.gnu.org/ml/gcc-patches/2009-04/msg01459.html
> [...]
> OK for mainline?
>
The Fortran part is OK.
Tobias
> gcc/fortran/ChangeLog:
>
> 2009-04-18 Ian Lance Taylor <iant@google.com>
>
> * module.c (import_iso_c_binding_module): Add casts to enum type.
> * trans-intrinsic.c (gfc_conv_intrinsic_minmax): Change op to enum
> tree_code.
> (gfc_conv_intrinsic_anyall): Likewise.
> (gfc_conv_intrinsic_arith): Likewise.
> (gfc_conv_intrinsic_minmaxloc): Likewise.
> (gfc_conv_intrinsic_minmaxval): Likewise.
> (gfc_conv_intrinsic_bitop): Likewise.
> (gfc_conv_intrinsic_singlebitop): Likewise.
> (gfc_conv_intrinsic_strcmp): Likewise