This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]