diff options
author | Daniel Franke <franke.daniel@gmail.com> | 2010-05-19 12:35:34 -0400 |
---|---|---|
committer | Daniel Franke <dfranke@gcc.gnu.org> | 2010-05-19 12:35:34 -0400 |
commit | daf8c6f03b7b7ae33e2e8e301d367eb8cce80e5c (patch) | |
tree | 64411c68c4c176fc8f0be9929910e6ff86e28d23 /config/mh-pa | |
parent | f311c3b4a64ad8752904a0261a306bf191e5fcdc (diff) | |
download | gcc-daf8c6f03b7b7ae33e2e8e301d367eb8cce80e5c.zip gcc-daf8c6f03b7b7ae33e2e8e301d367eb8cce80e5c.tar.gz gcc-daf8c6f03b7b7ae33e2e8e301d367eb8cce80e5c.tar.bz2 |
re PR fortran/44055 (Warn (-Wconversion*) when converting single to double precision)
gcc/fortran/:
2010-05-19 Daniel Franke <franke.daniel@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.daniel@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.
From-SVN: r159586
Diffstat (limited to 'config/mh-pa')
0 files changed, 0 insertions, 0 deletions