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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

-qzerosize Option<br />

Syntax<br />

-qzerosize | -qnozerosize<br />

ZEROSIZE | NOZEROSIZE<br />

Improves per<strong>for</strong>mance of FORTRAN 77 and some <strong>Fortran</strong> 90 and <strong>Fortran</strong> 95<br />

programs by preventing checking <strong>for</strong> zero-sized character strings and arrays.<br />

For <strong>Fortran</strong> 90 and <strong>Fortran</strong> 95 programs that might process such objects, use<br />

-qzerosize. For FORTRAN 77 programs, where zero-sized objects are not allowed,<br />

or <strong>for</strong> <strong>Fortran</strong> 90 and <strong>Fortran</strong> 95 programs that do not use them, compiling with<br />

-qnozerosize can improve the per<strong>for</strong>mance of some array or character-string<br />

operations.<br />

Defaults<br />

The default setting depends on which command invokes the compiler: -qzerosize<br />

<strong>for</strong> the xlf90, xlf90_r, xlf90_r7, xlf95, xlf95_r, xlf95_r7, f90, and f95 commands and<br />

-qnozerosize <strong>for</strong> the xlf, xlf_r, xlf_r7, and f77/<strong>for</strong>t77 commands (<strong>for</strong> compatibility<br />

with FORTRAN 77).<br />

Rules<br />

Run-time checking per<strong>for</strong>med by the -C option takes slightly longer when<br />

-qzerosize is in effect.<br />

268 <strong>XL</strong> <strong>Fortran</strong> <strong>Enterprise</strong> <strong>Edition</strong> <strong>for</strong> <strong>AIX</strong> : User’s <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!