This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[fortran,committed] Simplification of ERF and ERFC, and one more F2008 new feature
- From: FX Coudert <fxcoudert at gmail dot com>
- To: Fortran List <fortran at gcc dot gnu dot org>, gcc patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 6 Mar 2008 12:41:10 +0000
- Subject: [fortran,committed] Simplification of ERF and ERFC, and one more F2008 new feature
This simple patch was committed after bootstrapping and regtesting on
x86_64-linux (both -m32 and -m64). It adds simplification functions
for ERF and ERFC (trivial ones, relying on mpfr_erf() and mpfr_erfc
()). It also turns a GNU extension into F2008-allowed features: BIND
(C) attribute on internal procedure.
Committed as rev. 132970, no testcase provided as existing testcases
now trigger ERF/ERFC simplification.
FX
2008-03-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
PR fortran/33197
* intrinsic.c (add_functions): Add simplification routines for
ERF, DERF, ERFC and DERFC.
* decl.c (gfc_match_suffix, gfc_match_subroutine): Change GNU
extensions into Fortran 2008 features.
* intrinsic.h (gfc_simplify_erf, gfc_simplify_erfc): New
prototypes.
* simplify.c (gfc_simplify_erf, gfc_simplify_erfc): New
functions.
Attachment:
a.diff
Description: Binary data
--
François-Xavier Coudert
http://www.homepages.ucl.ac.uk/~uccafco/