libgfortran generated and long double calls

Steve Kargl sgk@troutmask.apl.washington.edu
Sun May 27 07:52:00 GMT 2007


On Sun, May 27, 2007 at 01:50:53AM -0400, Jack Howarth wrote:
>    A quick stab at changing...
> 
>    specific__exp_r16 = exp (parm)
> 
> to
> 
>    specific__exp_r16 = expl (parm)
> 
> ...in gcc/libgfortran/generated/_exp_r16.F90
> produced the followimg compilation error on
> Darwin PPC...
> 
> ../../../gcc-4.2-20070526/libgfortran/generated/_exp_r16.F90:47.23:
> 
>    specific__exp_r16 = expl (parm)
>                       1
> Error: Function reference to 'expl' at (1) is to a non-PURE procedure within a PURE procedure

Well, that was a stupid thing to do.  _exp_r16.F90 is compiled by
a Fortran compiler and expl() is not an intrinsic function in Fortran.

-- 
Steve



More information about the Gcc mailing list