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 

Search found 1741 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Puzzling and Spurious Aborts with Integer Overflow
mecej4

Replies: 9
Views: 374

PostForum: Support   Posted: Thu Nov 17, 2022 12:10 pm   Subject: Re:
...
Bounds checking is being applied to a 1D array that is passed as an argument but is treated as a 2D (star-sized) array in the subprogram.

The bounds checking mechanism can't cope with this com ...
  Topic: hypertext stopped working
mecej4

Replies: 15
Views: 469

PostForum: ClearWin+   Posted: Sun Nov 13, 2022 2:25 pm   Subject:
On my Windows 11 system, a few days ago Windows updated itself and after that I could not open my old help files. Apparently, Microsoft is trying too hard do kill any "legacy" help support f ...
  Topic: FTN95 reports negative argument count for subprogram
mecej4

Replies: 5
Views: 256

PostForum: 64-bit   Posted: Sat Nov 12, 2022 5:25 am   Subject: Re:
As I noted in a recent thread, the integer overflow occurs during address calculations based on array subscript ranges.
I am puzzled by the error being related to array subscripts, when there are no ...
  Topic: FTN95 reports negative argument count for subprogram
mecej4

Replies: 5
Views: 256

PostForum: 64-bit   Posted: Fri Nov 11, 2022 12:13 pm   Subject:
John, thanks for running the additional tests.

It is understandable that using /inhibit_check 5 makes the bug go away, since Check-5 is the designation for checking argument sizes and types on fun ...
  Topic: FTN95 reports negative argument count for subprogram
mecej4

Replies: 5
Views: 256

PostForum: 64-bit   Posted: Fri Nov 11, 2022 2:52 am   Subject: FTN95 reports negative argument count for subprogram
The test code below, when compiled with /64 /check /inhibit_check 6, aborts with a strange error report.

The program:

program negcountarg
implicit none
real, external :: dumach
...
  Topic: Puzzling and Spurious Aborts with Integer Overflow
mecej4

Replies: 9
Views: 374

PostForum: Support   Posted: Tue Nov 08, 2022 5:31 pm   Subject:
John, I think that Forall is "obsolescent" as of Fortran 2018. Apart from that, such changes (array syntax to Forall, Do Concurrent, etc.) could be viable when one is writing new code, but i ...
  Topic: Spurious integer overflow: Short new reproducer
mecej4

Replies: 6
Views: 268

PostForum: Support   Posted: Tue Nov 08, 2022 3:23 pm   Subject: Re:
mecej4

In dvstep func is passed as an argument in the call to dvnlsd. dvnlsd has a "star-sized" assumed size array yh.

Part of /CHECK mode works by passing extra arguments to provide ...
  Topic: Spurious integer overflow: Short new reproducer
mecej4

Replies: 6
Views: 268

PostForum: Support   Posted: Tue Nov 08, 2022 2:34 pm   Subject: Re:
mecej4

...
This issue is on the list for further investigation but in the meantime /inhibit_check 5 (or 6) must be used for this program when using /check.

Thanks, Paul. Specifying /inhibit_che ...
  Topic: Spurious integer overflow: Short new reproducer
mecej4

Replies: 6
Views: 268

PostForum: Support   Posted: Tue Nov 08, 2022 1:55 pm   Subject: Re:
..., fsub is a subroutine, not a function. I have only used EXTERNAL for a function in the very limited cases where I have used EXTERNAL to define a dummy argument.

Is this an extension to the u ...
  Topic: Spurious integer overflow: Short new reproducer
mecej4

Replies: 6
Views: 268

PostForum: Support   Posted: Tue Nov 08, 2022 8:25 am   Subject: Spurious integer overflow: Short new reproducer
Paul,

I have succeeded in constructing a short reproducer for the false integer overflow bug that I reported recently ( http://forums.silverfrost.com/viewtopic.php?p=33464 ). The new reproducer is ...
  Topic: FTN95 accepts program with EXTERNAL decl for internal sub
mecej4

Replies: 6
Views: 328

PostForum: Support   Posted: Mon Nov 07, 2022 1:10 pm   Subject:
Apart from declaring a variable as External when the Fortran language rules require doing so, in the days of implicit typing (F-II, 66, 77), declaring a variable as External when not required to do so ...
  Topic: FTN95 accepts program with EXTERNAL decl for internal sub
mecej4

Replies: 6
Views: 328

PostForum: Support   Posted: Mon Nov 07, 2022 1:35 am   Subject:
Eddie, think of I(nstruction)Space and D(ata)Space. Fortran variables may be classified as to whether they are code entities held in Ispace (user subroutines, user written functions, compiler-provided ...
  Topic: Puzzling and Spurious Aborts with Integer Overflow
mecej4

Replies: 9
Views: 374

PostForum: Support   Posted: Sun Nov 06, 2022 1:29 am   Subject:
Paul, here is a link to a Fortran 77 fixed form version of the same test program:

https://www.dropbox.com/s/ytsa5dfu9j4wb2v/psovfl77.zip?dl=0

This version does not use any Fortran 90 features. I ...
  Topic: Puzzling and Spurious Aborts with Integer Overflow
mecej4

Replies: 9
Views: 374

PostForum: Support   Posted: Sat Nov 05, 2022 10:23 pm   Subject:
Paul, thanks for your analysis.

The original F77 source code with which I first noticed the issue is available, but that is about 30,000 lines of code, with lots of "spaghetti" style lab ...
  Topic: Puzzling and Spurious Aborts with Integer Overflow
mecej4

Replies: 9
Views: 374

PostForum: Support   Posted: Sat Nov 05, 2022 2:30 pm   Subject: Puzzling and Spurious Aborts with Integer Overflow
I now have a working demonstration of what I believe is a bug in the bug-checking code that is introduced into an EXE produced by FTN95 with options such as /check, /undef, etc.

SYMPTOMS

One sp ...
 
Page 1 of 117 Goto page 1, 2, 3 ... 115, 116, 117  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group