aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/iresolve.c
diff options
context:
space:
mode:
authorDaniel Franke <franke.daniel@gmail.com>2009-12-10 16:57:49 -0500
committerDaniel Franke <dfranke@gcc.gnu.org>2009-12-10 16:57:49 -0500
commit63bcb71f99965d29bc1023b92ae4744d5a897e7a (patch)
treedaf1867df14a694f843b139cf737205d2769ddad /gcc/fortran/iresolve.c
parentb94e5176d7e1ed624db4678244e421248421392d (diff)
downloadgcc-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.c2
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);
}
}
}