Commit 67749498 by Kaveh R. Ghazi Committed by Kaveh Ghazi

simplify.c (gfc_simplify_acos, [...]): Fix error message.

	* simplify.c (gfc_simplify_acos, gfc_simplify_acosh,
	gfc_simplify_asin, gfc_simplify_asinh, gfc_simplify_atan,
	gfc_simplify_atanh): Fix error message.

From-SVN: r152155
parent 7930dab0
2009-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* simplify.c (gfc_simplify_acos, gfc_simplify_acosh,
gfc_simplify_asin, gfc_simplify_asinh, gfc_simplify_atan,
gfc_simplify_atanh): Fix error message.
2009-09-24 Steven G. Kargl <kargl@gcc.gnu.org> 2009-09-24 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/41459 PR fortran/41459
......
...@@ -749,7 +749,7 @@ gfc_simplify_acos (gfc_expr *x) ...@@ -749,7 +749,7 @@ gfc_simplify_acos (gfc_expr *x)
case BT_COMPLEX: case BT_COMPLEX:
return NULL; return NULL;
default: default:
gfc_internal_error ("in gfc_simplify_cos(): Bad type"); gfc_internal_error ("in gfc_simplify_acos(): Bad type");
} }
result = gfc_constant_result (x->ts.type, x->ts.kind, &x->where); result = gfc_constant_result (x->ts.type, x->ts.kind, &x->where);
...@@ -783,7 +783,7 @@ gfc_simplify_acosh (gfc_expr *x) ...@@ -783,7 +783,7 @@ gfc_simplify_acosh (gfc_expr *x)
case BT_COMPLEX: case BT_COMPLEX:
return NULL; return NULL;
default: default:
gfc_internal_error ("in gfc_simplify_cos(): Bad type"); gfc_internal_error ("in gfc_simplify_acosh(): Bad type");
} }
return range_check (result, "ACOSH"); return range_check (result, "ACOSH");
...@@ -1045,7 +1045,7 @@ gfc_simplify_asin (gfc_expr *x) ...@@ -1045,7 +1045,7 @@ gfc_simplify_asin (gfc_expr *x)
case BT_COMPLEX: case BT_COMPLEX:
return NULL; return NULL;
default: default:
gfc_internal_error ("in gfc_simplify_cos(): Bad type"); gfc_internal_error ("in gfc_simplify_asin(): Bad type");
} }
return range_check (result, "ASIN"); return range_check (result, "ASIN");
...@@ -1069,7 +1069,7 @@ gfc_simplify_asinh (gfc_expr *x) ...@@ -1069,7 +1069,7 @@ gfc_simplify_asinh (gfc_expr *x)
case BT_COMPLEX: case BT_COMPLEX:
return NULL; return NULL;
default: default:
gfc_internal_error ("in gfc_simplify_cos(): Bad type"); gfc_internal_error ("in gfc_simplify_asinh(): Bad type");
} }
return range_check (result, "ASINH"); return range_check (result, "ASINH");
...@@ -1093,7 +1093,7 @@ gfc_simplify_atan (gfc_expr *x) ...@@ -1093,7 +1093,7 @@ gfc_simplify_atan (gfc_expr *x)
case BT_COMPLEX: case BT_COMPLEX:
return NULL; return NULL;
default: default:
gfc_internal_error ("in gfc_simplify_cos(): Bad type"); gfc_internal_error ("in gfc_simplify_atan(): Bad type");
} }
return range_check (result, "ATAN"); return range_check (result, "ATAN");
...@@ -1125,7 +1125,7 @@ gfc_simplify_atanh (gfc_expr *x) ...@@ -1125,7 +1125,7 @@ gfc_simplify_atanh (gfc_expr *x)
case BT_COMPLEX: case BT_COMPLEX:
return NULL; return NULL;
default: default:
gfc_internal_error ("in gfc_simplify_cos(): Bad type"); gfc_internal_error ("in gfc_simplify_atanh(): Bad type");
} }
return range_check (result, "ATANH"); return range_check (result, "ATANH");
......
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