[Patch,Fortran] PR 36158 - Run-time implementation of BESSEL_JN/YN

Tobias Burnus burnus@net-b.de
Fri Aug 20 23:18:00 GMT 2010


  The attached patch implements the run-time version of BESSEL_JN/YN. At 
the same time it allows to mark arguments of intrinsic functions as 
(call by) VALUE. In order to get this working, I had to modify the 
trans-intrinsics.c to use the interface - and I had to fix the fall out 
ICEs.

Build and regtested on x86-64-linux.
OK for the trunk?

Tobias

PS: I wouldn't be too surprised if there are some ICEs lurking due to 
the intrinsics formal args change; on the other hand, together with PR 
43665 it might help with generating faster programs by telling the ME 
that a function does not clobber the arguments - the INTENT(IN) 
attribute is currently not used passed on to the ME.

PPS: When reviewing the patch, you can ignore the generated files (cf. 
changelog). I included them for convenience (mine but also for those 
which want to test the patch without building GCC in maintainer mode 
with the correct autoconf). I hope that's OK.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bessel-rt-2.diff
Type: text/x-patch
Size: 55676 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20100820/c458bcec/attachment.bin>


More information about the Fortran mailing list