diff options
author | Daniel Franke <franke.daniel@gmail.com> | 2009-12-10 16:57:49 -0500 |
---|---|---|
committer | Daniel Franke <dfranke@gcc.gnu.org> | 2009-12-10 16:57:49 -0500 |
commit | 63bcb71f99965d29bc1023b92ae4744d5a897e7a (patch) | |
tree | daf1867df14a694f843b139cf737205d2769ddad /gcc/fortran/iresolve.c | |
parent | b94e5176d7e1ed624db4678244e421248421392d (diff) | |
download | gcc-63bcb71f99965d29bc1023b92ae4744d5a897e7a.zip gcc-63bcb71f99965d29bc1023b92ae4744d5a897e7a.tar.gz gcc-63bcb71f99965d29bc1023b92ae4744d5a897e7a.tar.bz2 |
re PR fortran/40287 (Spurious warnings with -Wconversion and COUNT())
2009-12-10 Daniel Franke <franke.daniel@gmail.com>
PR fortran/40287
* iresolve.c (resolve_mask_arg): Disabled warning on conversion
to LOGICAL(1).
From-SVN: r155142
Diffstat (limited to 'gcc/fortran/iresolve.c')
-rw-r--r-- | gcc/fortran/iresolve.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/iresolve.c b/gcc/fortran/iresolve.c index 7e8bdfb..1f8f9bc 100644 --- a/gcc/fortran/iresolve.c +++ b/gcc/fortran/iresolve.c @@ -106,7 +106,7 @@ resolve_mask_arg (gfc_expr *mask) { ts.type = BT_LOGICAL; ts.kind = 1; - gfc_convert_type (mask, &ts, 2); + gfc_convert_type_warn (mask, &ts, 2, 0); } } } |