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 

Ver 8.91.1 compiler_version

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



Joined: 16 Feb 2006
Posts: 2554
Location: Sydney

PostPosted: Fri Oct 21, 2022 6:11 am    Post subject: Ver 8.91.1 compiler_version Reply with quote

Paul,

The following program will not run using Ver 8.91.1 with the CONTAINS code, but will if CONTAINS is removed, all runs.

I am compiling with :
ftn95 identify.f90 /64 /lgo

With CONTAINS, compiler_version and compilet_options are not found in CLEARWIN64.DLL or SALFLIBC64.dll ?

Code:
! compilation: ftn95 identify.f90 /64 /lgo
!
  use iso_fortran_env
 
    integer*4, parameter :: million = 1000000
    real*4, dimension(:,:), allocatable :: Arr4
    integer*4 :: nA, nB, ierr, i, pass
    real*4    :: SpeedGBps, t0, t1, dt
 
    write (*,*) 'Compiler Version :',compiler_version ()
    write (*,*) 'Compiler Options :',compiler_options ()

  Contains
 
    real*4 function delta_sec ()
      integer*8 :: tick, rate, last=0
      call system_clock ( tick, rate)
      delta_sec = dble (tick-last) / dble (rate)
      last = tick
    end function delta_sec
   
    End


error message is
Code:
Silverfrost 64-bit exception report on C:\temp\forum\stream_io\lgotemp@.exe  Fri Oct 21 16:09:20 2022


Access violation (c0000005) at address 7ffb1b44de73

Within file CLEARWIN64.DLL
In  _winop_fun at address DA03
In  _winio at address 8AB
In  _system_exception_handler(<ptr>structÄ_EXCEPTION_POINTERS) at address D65
Within file SALFLIBC64.DLL
in __system_exception_handler(<ptr>structÄ_EXCEPTION_POINTERS) at address d65
Within file ntdll.dll
In  RtlRaiseException at address 256
In  KiUserExceptionDispatcher at address 2E
In  _MissingRoutine at address 2B
Within file SALFLIBC64.DLL
in __MissingRoutine at address 2b
Within file lgotemp@.exe
in MAIN@ at address 91


RAX = 0000000000000000   RBX = ffffffffffffffff   RCX = ffffffffffffffff   RDX = 00000000023ffd70
RBP = 00000000023ff270   RSI = 0000000000000000   RDI = 0000000000000000   RSP = 00000000023ff150
R8  = 00007ffb1b3b0000   R9  = 0000000000000000   R10 = 0000000000000001   R11 = 00000000023ffcf8
R12 = 00000000023ffd70   R13 = ffffffffffffffff   R14 = ffffffffffffffff   R15 = 0000000000000000

7ffb1b44de73) repne_scas_b
Back to top
View user's profile Send private message
Kenneth_Smith



Joined: 18 May 2012
Posts: 697
Location: Hamilton, Lanarkshire, Scotland.

PostPosted: Fri Oct 21, 2022 3:04 pm    Post subject: Reply with quote

I can replicate this problem.

I did note that if CONTAINS is present - but contains no functions or subroutines, the code runs as expected.
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


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

PostPosted: Sat Oct 22, 2022 9:39 am    Post subject: Reply with quote

John and Ken

Thank you for the bug report. This bug has now been fixed for the next release of FTN95.
Back to top
View user's profile Send private message AIM Address
JohnCampbell



Joined: 16 Feb 2006
Posts: 2554
Location: Sydney

PostPosted: Sun Oct 23, 2022 3:14 am    Post subject: Reply with quote

Thanks Paul.

It was a strange exclusion for ISO_FORTRAN_ENV and contains.
Back to top
View user's profile Send private message
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