Oracle® Solaris Studio 12.4: Fortran User's Guide

Exit Print View

Updated: March 2015
 
 

3.3.3 Backward Compatibility and Legacy Options

The following options are provided for backward compatibility with earlier compiler releases, and certain Fortran legacy capabilities.

Table 3-6  Backward Compatibility Options
Action
Option
Preserve actual arguments over ENTRY statements
-arg=local
Allow assignment to constant arguments.
–copyargs
Treat hollerith constant as character or typeless in call argument lists.
-xhasc[={yes|no}]
Support Fortran 77 extensions and conventions
-f77
Nonstandard arithmetic—allow nonstandard arithmetic.
–fnonstd
Optimize performance for the host system.
–native
DO loops—use one trip DO loops.
–onetrip
Allow legacy aliasing situations
-xalias=keywords

Use of these option flags is not recommended for producing portable Fortran programs.