re PR fortran/64104 ([F2003][IEEE] Allow IEEE functions in specification expressions)
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Fri, 7 Aug 2015 15:02:15 +0000 (15:02 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Fri, 7 Aug 2015 15:02:15 +0000 (15:02 +0000)
commit0e360db97091f31bf8a16ec50e99b31ebe6c52e1
tree8a5b785abc55fa5c397eb33f2c98ba742798a57c
parenta044d2b1b6c85f88451e83649977ad908011b1f4
re PR fortran/64104 ([F2003][IEEE] Allow IEEE functions in specification expressions)

PR fortran/64104

* expr.c (gfc_check_init_expr): Allow some IEEE functions in
constant expressions.
(external_spec_function): Allow some IEEE functions in specification
expressions.
* simplify.c (gfc_simplify_ieee_selected_real_kind): Remove.
(simplify_ieee_selected_real_kind, simplify_ieee_support,
matches_ieee_function_name, gfc_simplify_ieee_functions): New
functions.
* gfortran.h (gfc_simplify_ieee_selected_real_kind): Remove
prototype.
(gfc_simplify_ieee_functions): Add prototype.

* gfortran.dg/ieee/ieee_8.f90: New test.

From-SVN: r226723
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/fortran/gfortran.h
gcc/fortran/simplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/ieee/ieee_8.f90 [new file with mode: 0644]