------- Comment #4 from dfranke at gcc dot gnu dot org 2010-05-19 16:36 ------- Subject: Bug 44055
Author: dfranke Date: Wed May 19 16:35:34 2010 New Revision: 159586 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159586 Log: gcc/fortran/: 2010-05-19 Daniel Franke <franke.dan...@gmail.com> PR fortran/44055 * lang.opt (Wconversion-extra): New option. * gfortran.h (gfc_option_t): Add warn_conversion_extra. * options.c (gfc_init_options): Disable -Wconversion-extra by default. (set_Wall): Enable -Wconversion. (gfc_handle_option): Set warn_conversion_extra. * intrinsic.c (gfc_convert_type_warn): Ignore kind conditions introduced for -Wconversion if -Wconversion-extra is present. * invoke.texi: Add -Wconversion to -Wall; document new behaviour of -Wconversion; document -Wconversion-extra. gcc/testsuite/: 2010-05-19 Daniel Franke <franke.dan...@gmail.com> PR fortran/44055 * gfortran.dg/c_sizeof_2.f90: Add -Wno-conversion to dg-options; Fixed scope of C_SIZEOF. * gfortran.dg/warn_conversion_2.f90: New. Added: trunk/gcc/testsuite/gfortran.dg/warn_conversion_2.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/gfortran.h trunk/gcc/fortran/intrinsic.c trunk/gcc/fortran/invoke.texi trunk/gcc/fortran/lang.opt trunk/gcc/fortran/options.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/c_sizeof_2.f90 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44055