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 

Short program exposes SDBG64 bug

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> 64-bit
View previous topic :: View next topic  
Author Message
mecej4



Joined: 31 Oct 2006
Posts: 1472

PostPosted: Mon Sep 05, 2016 4:18 pm    Post subject: Short program exposes SDBG64 bug Reply with quote

Here is a short "reproducer" program that serves only to pinpoint a bug in SDBG64. Much code that was originally in the program was removed and what is left does nothing of any other use than to point out the bug.

When the code is compiled with FTN95 8.05-64 and run under SDBG64, stepping into the subroutine causes a puzzling error message from the VC RTL to pop up: "Run-Time Check Failure #3 - The variable 'base_address' is being used without being initialized."

The problem does not occur in the 32-bit mode.

Code:
    program xdnls
      implicit none
      double precision :: c(3,2)
      double precision :: t(3) = (/ 1d0, 2d0, 3d0 /)
!
      call fitfun(c)

      stop
!
    CONTAINS

    subroutine fitfun(phi)
      implicit none
      double precision :: phi(3, 2)
!
        phi(:, 1) = 1 - exp(-t)

      return
    end subroutine fitfun
!
    end program xdnls
Back to top
View user's profile Send private message
silverfrost
Site Admin


Joined: 29 Nov 2006
Posts: 177
Location: Manchester

PostPosted: Tue Sep 06, 2016 7:19 pm    Post subject: Reply with quote

Thank you, this is being investigated.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> 64-bit 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