[Bug fortran/36158] Transformational function BESSEL_YN(n1,n2,x) and BESSEL_JN missing
ibolton at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 7 14:20:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36158
Ian Bolton <ibolton at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ibolton at gcc dot gnu.org
--- Comment #15 from Ian Bolton <ibolton at gcc dot gnu.org> 2011-02-07 13:47:35 UTC ---
(In reply to comment #10)
> Subject: Bug 36158
>
> Author: burnus
> Date: Sat Aug 21 10:12:53 2010
> New Revision: 163440
>
> URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163440
> Log:
> 2010-08-21 Tobias Burnus <burnus@net-b.de>
>
> PR fortran/36158
> PR fortran/33197
> * intrinsic.c (add_sym): Init value attribute.
> (set_attr_value): New function.
> (add_functions) Use it and add JN/YN resolvers.
> * symbol.c (gfc_copy_formal_args_intr): Copy value attr.
> * intrinsic.h (gfc_resolve_bessel_n2): New prototype.
> * gfortran.h (gfc_intrinsic_arg): Add value attribute.
> * iresolve.c (gfc_resolve_bessel_n2): New function.
> * trans-intrinsic.c (gfc_get_symbol_for_expr): Create
> formal arg list.
> (gfc_conv_intrinsic_function,gfc_is_intrinsic_libcall):
> Add GFC_ISYM_JN2/GFC_ISYM_YN2 as case value.
> * simplify.c (): For YN set to -INF if previous values
> was -INF.
> * trans-expr.c (gfc_conv_procedure_call): Don't crash
> if sym->as is NULL.
> * iresolve.c (gfc_resolve_extends_type_of): Set the
> type of the dummy argument to the one of the actual.
>
> 2010-08-21 Tobias Burnus <burnus@net-b.de>
>
> PR fortran/36158
> PR fortran/33197
> * m4/bessel.m4: Implement bessel_jn and bessel_yn.
> * gfortran.map: Add the generated bessel_jn_r{4,8,10,16}
> and bessel_yn_r{4,8,10,16}.
> * Makefile.am: Add bessel.m4.
> * Makefile.in: Regenerated.
> * generated/bessel_r4.c: Generated.
> * generated/bessel_r16.c: Generated.
> * generated/bessel_r8.c: Generated.
> * generated/bessel_r10.c: Generated.
>
> 2010-08-21 Tobias Burnus <burnus@net-b.de>
>
> PR fortran/36158
> PR fortran/33197
> * gfortran.dg/bessel_6.f90: New.
> * gfortran.dg/bessel_7.f90: New.
>
Is this going to be backported to 4.5? It is required to make CSHIFT function
correctly.
More information about the Gcc-bugs
mailing list