24.05.2014 Views

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

What’s New <strong>for</strong> <strong>XL</strong> <strong>Fortran</strong><br />

<strong>XL</strong> <strong>Fortran</strong> Version 9.1 provides the following new and changed features:<br />

New or changed compiler options and suboptions:<br />

v The -qflttrap=nanq suboption detects all NaN values handled or generated by<br />

floating point instructions, including those not created by invalid operations.<br />

v The -qport=nullarg suboption treats an empty argument, which is delimited by<br />

a left parenthesis and a comma, two commas, or a comma and a right<br />

parenthesis, as a null argument.<br />

v The -qmodule=mangle81 option provides compatibility with Version 8.1 module<br />

naming conventions <strong>for</strong> non-intrinsic modules.<br />

v The -qsaveopt option saves the command-line options used <strong>for</strong> compiling a<br />

source file in the corresponding object file.<br />

v The -qversion option provides the version and release <strong>for</strong> the invoking compiler.<br />

The following <strong>XL</strong> <strong>Fortran</strong> enhancements adapted from the <strong>Fortran</strong> 2003 draft<br />

standard:<br />

v<br />

v<br />

v<br />

v<br />

v<br />

The 2003std and 2003pure run-time options provide con<strong>for</strong>mance checking of<br />

code <strong>for</strong> adherence to the draft standard.<br />

The ISO_C_BINDING intrinsic module, BIND attribute and statement, module<br />

variables, common block, subroutine/function and -qalign=bindc compiler<br />

suboption provide support <strong>for</strong> interoperability with C.<br />

PUBLIC/PRIVATE attribute on derived type components.<br />

The ASSOCIATE construct associates an entity with either a variable or the<br />

value of an expression.<br />

Command-line argument intrinsics:<br />

– COMMAND_ARGUMENT_COUNT<br />

– GET_COMMAND_ARGUMENT<br />

– GET_ENVIRONMENT_VARIABLE<br />

v The FLUSH statement makes data from an external file available to other<br />

processes.<br />

v<br />

v<br />

v<br />

v<br />

v<br />

The IOMSG= specifier on the data-transfer operation, file-positioning, FLUSH,<br />

and file inquiry statements.<br />

The ISO_FORTRAN_ENV intrinsic module provides public entities relating to<br />

the <strong>Fortran</strong> environment.<br />

The NEW_LINE intrinsic returns a new line character.<br />

The IMPORT statement makes named entities from the host scoping unit<br />

accessible in the interface body by host association.<br />

The PROCEDURE statement declares a dummy procedure or external<br />

procedure.<br />

© Copyright <strong>IBM</strong> Corp. 1990, 2004 xi

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!