Jump to content
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

Transition Impacts

Tru64 UNIX Software Transition Kit
» 

DSPP Home

» HP STK home
Tru64 UNIX STK
» Home
» Overview
» Tools
» Documentation
» Transition impacts
» Identifier types
» Impact list
» Porting to HP-UX
» FAQ
» Glossary
» Help
» Send us feedback
Site maps
» Tru64 UNIX STK
» DSPP
Content starts here

critical impact:

VOLATILE attribute - not supported; future availability planned (CrUn288)

F90 Impacts

Problem description

The VOLATILE attribute exists on Tru64 UNIX, but not on HP-UX.

The VOLATILE attribute specifies that the value of an object is entirely unpredictable, based on information local to the current program unit. It prevents objects from being optimized during compilation.

Note: VOLATILE statements are supported by HP Fortran on HP-UX.

Identifiers

Fortran KeywordsVOLATILE        

Old behavior

The Fortran compiler on HP-UX will report a syntax error for the following use of VOLATILE as an attribute:

INTEGER, VOLATILE :: i

However, the compiler allows the following use of VOLATILE in a statement:

INTEGER i
VOLATILE i

See also

Solution description

Support for the VOLATILE attribute is under consideration and is planned for the next release of the Fortran compiler for HP-UX.

Monitor the HP Fortran release notes in future releases for information about the availability of the VOLATILE attribute.

See also


Problem summary

classifications source types OS release severity type
F90 Fortran any HP-UX 11i version critical unavailable
Printable version
Privacy statement Using this site means you accept its terms Feedback to DSPP
© 2007 Hewlett-Packard Development Company, L.P.