replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Support for VOLATILE statements
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Support for VOLATILE statements

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
localmini



Joined: 11 Apr 2025
Posts: 2

PostPosted: Fri Jun 13, 2025 12:21 pm    Post subject: Support for VOLATILE statements Reply with quote

Hi! I'm all new to ftn95. I have existing Fortran code that was originally written for OpenVMS, compiled with the VSI Fortran compiler. I have managed to compile the same Fortran code on Linux and Windows with gfortran. I'm now trying out ftn95 on Windows, but I'm struggling with getting it to accept my Fortran code. For various reasons, the code contains VOLATILE statements as such:

Code:
INTEGER*4 NUM001
VOLATILE NUM001


but I can't seem to find a command line switch that makes ftn95 accept this construct. The Fortran code is fixed format, using byte size KIND specifications, and I'm currently trying to compile it with

Code:
ftn95 /FIXED_FORMAT /ALT_KINDS
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8216
Location: Salford, UK

PostPosted: Sat Jun 14, 2025 7:05 am    Post subject: Reply with quote

The VOLATILE attribute is not currently implemented in FTN95 but I will add it to the wish list for the next full release of FTN95.
Back to top
View user's profile Send private message AIM Address
localmini



Joined: 11 Apr 2025
Posts: 2

PostPosted: Mon Jun 16, 2025 9:27 am    Post subject: Reply with quote

I see, thank you!
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8216
Location: Salford, UK

PostPosted: Tue Jun 17, 2025 8:02 am    Post subject: Reply with quote

VOLATILE and ASYNCHRONOUS have now been added to FTN95 for the next release.

This is currently a minimal implementation in that these attributes are tollerated but have no consequences other than that VOLATILE inhibits optimisation.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group