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]

Re: [PATCH]: Use mpc_pow in the fortran frontend


From: "Steve Kargl" <sgk@troutmask.apl.washington.edu>

On Thu, Jul 02, 2009 at 10:24:11AM -0700, Kaveh R. Ghazi wrote:
I believe C99 fallback implementations are included in libgfortran/intrinsics/c99_functions.c, so that shouldn't be a blocker.


Kaveh,


Fortran does not define the complex versions of sinh/cosh/tanh (didn't check for tan) until the draft for Fortran 2008. A quick
inspection of intrinsics.c suggests that gfortran currently doesn't
support these functions. Adding the basic support would be fairly
straight forward, but it will require fallback implementations of
of the functions for the runtime library.

Do the fallback functions in libgfortran's c99_functions.c not suffice?




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