Commit 3e0da29a by Tobias Burnus Committed by Tobias Burnus

check.c (gfc_check_cmplx): Fix typo.

2014-04-04  Tobias Burnus  <burnus@net-b.de>

        * check.c (gfc_check_cmplx): Fix typo.

From-SVN: r209133
parent 961e89f2
2014-04-04 Tobias Burnus <burnus@net-b.de>
* check.c (gfc_check_cmplx): Fix typo.
2014-03-28 Mikael Morin <mikael@gcc.gnu.org> 2014-03-28 Mikael Morin <mikael@gcc.gnu.org>
Tobias Burnus <burnus@net-b.de> Tobias Burnus <burnus@net-b.de>
......
...@@ -1278,12 +1278,12 @@ gfc_check_cmplx (gfc_expr *x, gfc_expr *y, gfc_expr *kind) ...@@ -1278,12 +1278,12 @@ gfc_check_cmplx (gfc_expr *x, gfc_expr *y, gfc_expr *kind)
if (!kind && gfc_option.gfc_warn_conversion if (!kind && gfc_option.gfc_warn_conversion
&& x->ts.type == BT_REAL && x->ts.kind > gfc_default_real_kind) && x->ts.type == BT_REAL && x->ts.kind > gfc_default_real_kind)
gfc_warning_now ("Conversion from %s to default-kind COMPLEX(%d) at %L " gfc_warning_now ("Conversion from %s to default-kind COMPLEX(%d) at %L "
"might loose precision, consider using the KIND argument", "might lose precision, consider using the KIND argument",
gfc_typename (&x->ts), gfc_default_real_kind, &x->where); gfc_typename (&x->ts), gfc_default_real_kind, &x->where);
else if (y && !kind && gfc_option.gfc_warn_conversion else if (y && !kind && gfc_option.gfc_warn_conversion
&& y->ts.type == BT_REAL && y->ts.kind > gfc_default_real_kind) && y->ts.type == BT_REAL && y->ts.kind > gfc_default_real_kind)
gfc_warning_now ("Conversion from %s to default-kind COMPLEX(%d) at %L " gfc_warning_now ("Conversion from %s to default-kind COMPLEX(%d) at %L "
"might loose precision, consider using the KIND argument", "might lose precision, consider using the KIND argument",
gfc_typename (&y->ts), gfc_default_real_kind, &y->where); gfc_typename (&y->ts), gfc_default_real_kind, &y->where);
return true; return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment