[Bug fortran/64104] [F2003][IEEE] Allow IEEE functions in specification expressions
fxcoudert at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Aug 7 15:02:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64104
--- Comment #4 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
Author: fxcoudert
Date: Fri Aug 7 15:02:15 2015
New Revision: 226723
URL: https://gcc.gnu.org/viewcvs?rev=226723&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gfortran.dg/ieee/ieee_8.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/expr.c
trunk/gcc/fortran/gfortran.h
trunk/gcc/fortran/simplify.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list