Silverfrost Forums

Welcome to our forums

Bug in Compiler or Clearwin64.DLL

5 Sep 2017 2:07 (Edited: 5 Sep 2017 6:42) #20132

The test program below, when built using FTN95 V8.1 with /debug /64, gives an illegal instruction breakpoint when run.

      program tst
      implicit none
      double precision, parameter :: one=1.d+0, three=3.d+0
      double precision machep,mepcrt
!
      machep = epsilon(machep)
      mepcrt = machep**(one/three)
      print *,mepcrt
      end     

The contents of the exception pop-up:

Within file CLEARWIN64.DLL
In  XX$DD at address 4
Within file tst.exe
in TST in line 7, at address 3b

The DLL has file version 19.5.4.6, creation date March 31, 2017, and modification date May 4, 2017.

XX$DD appears to be the routine that calculates x**y for x and y double precision.

5 Sep 2017 2:31 #20134

Thanks for the feedback. This program runs OK for me so it looks like the bug has already been fixed.

5 Sep 2017 4:22 #20136

'Creation date 1017'? Blimey, that makes FTN95 positively Dark Ages ! (Pre the Norman Conquest, anyway). Had Maori arrived in NZ? Were there still Moa roaming the land?

6 Sep 2017 1:57 #20153

Quoted from LitusSaxonicum 'Creation date 1017'? Typo, corrected.

Please login to reply.