[fortran,committed] Emit direct calls to malloc() and free()

FX fxcoudert@gmail.com
Fri Aug 28 20:49:00 GMT 2015


For the MALLOC and FREE Cray pointer-related intrinsics, we used to emit calls to _gfortran_malloc and _gfortran_free, which would in turn call the libc routines. The attached patch makes us directly emit the calls to the BUILT_IN_MALLOC and BUILT_IN_FREE.

Committed as revision 227311 after regtesting on x86_64-apple-darwin15.
I have updated the wiki ABI cleanup page.

FX


-------------- next part --------------
A non-text attachment was scrubbed...
Name: z.diff
Type: application/octet-stream
Size: 6970 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20150828/5044d129/attachment.obj>


More information about the Fortran mailing list