|
forums.silverfrost.com Welcome to the Silverfrost forums
|
View previous topic :: View next topic |
Author |
Message |
sigment
Joined: 17 Dec 2007 Posts: 10
|
Posted: Wed Dec 19, 2007 2:43 pm Post subject: Problem Report: Access Violation during compile |
|
|
Hi,
Here's a small program that demonstrates an access violation bug in FTN95 5.10.0 and the work-around:
IMPLICIT DOUBLE PRECISION (A-H,O-Z)
! DOUBLE PRECISION EXPCHK ! OK if this is used
EXPFUN(T,N)=EXPCHK(T)/N
GLTFUN(T)=EXPFUN(T,3)
PRINT *, GLTFUN(22.2D0)
END
! Compiling this on FTN95 5.10.0 with:
!
! ftn95 /NO_BANNER /132 /ALT_KINDS /COLOUR /ERROR_NUMBERS /NO_OBSOLETE /OLD_ARRAYS /P6 /SAVE /CHECKMATE /FULL_DEBUG
!
! gives Access Violation: The instruction at 00509a25 attempted to read from location 0000000c
!
! 005099fe inline_substitute(<ref>struct─tree_ptr,<ptr>struct─scoped_entity,<ptr>struct─tr [+0027]
! 004a5733 fix_array_fun_rec(struct─tree_ptr,enum─tree_kind) [+135f]
! 004a2b22 scan_the_tree(<ref>struct─tree_ptr,int,enum─tree_kind) [+057f] [recur= 1]
! 0041cdb4 process_assignment(<ptr>char,<ref>int,int) [+0216]
! 0041202b handle_token(<ptr>char,int,int,int,int,<ref>int) [+1169]
! 0040514d ProcessEntireLine(void) [+0695]
! 0040619b compile(<ptr>char) [+00ce]
! 00401000 main [+049b] |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8061 Location: Salford, UK
|
Posted: Thu Dec 20, 2007 9:23 am Post subject: |
|
|
Thanks for the information.
We will investigate the bug and aim to fix it for the next release. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8061 Location: Salford, UK
|
Posted: Thu Dec 20, 2007 5:29 pm Post subject: |
|
|
This bug has now been fixed for the next release. |
|
Back to top |
|
|
sigment
Joined: 17 Dec 2007 Posts: 10
|
Posted: Thu Dec 20, 2007 6:35 pm Post subject: |
|
|
Cool. Thanks. That was fast!
Any hint as to when the next release is due out?
S. |
|
Back to top |
|
|
|
|
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
|