* Fortran X4.0.1 w/ DU 4.0A and option -C
@ 1996-10-30 5:00 Eros Albertazzi
1996-10-31 5:00 ` Ian Mortimer
1996-11-01 5:00 ` Steve Lionel
0 siblings, 2 replies; 4+ messages in thread
From: Eros Albertazzi @ 1996-10-30 5:00 UTC (permalink / raw)
When compiled with the -C (-check_bounds) options a fortran program
produces the following:
forrtl: severe (139): array index out of bounds for index 1 (SIGTRAP)
and nothing more.
I feel that this info is too generic and of no much use when dubugging complex
programs.
Wasn't f77 able to specify the code line number as well, or am I
confusing with the SGI f77 compiler behaviour?
--
Eros Albertazzi CNR - LAMEL
Phone: +39 - 51 - 639 9152 Via P. Gobetti 101
Fax: +39 - 51 - 639 9216 40129 Bologna
E-mail: eros@lamel.bo.cnr.it Italy
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Fortran X4.0.1 w/ DU 4.0A and option -C
1996-10-30 5:00 Fortran X4.0.1 w/ DU 4.0A and option -C Eros Albertazzi
@ 1996-10-31 5:00 ` Ian Mortimer
1996-11-04 5:00 ` Steve Lionel
1996-11-01 5:00 ` Steve Lionel
1 sibling, 1 reply; 4+ messages in thread
From: Ian Mortimer @ 1996-10-31 5:00 UTC (permalink / raw)
Eros Albertazzi (eros@ala2.lamel.bo.cnr.it) wrote:
> When compiled with the -C (-check_bounds) options a fortran program
> produces the following:
> forrtl: severe (139): array index out of bounds for index 1 (SIGTRAP)
> and nothing more.
What's worse is if you run the program in dbx and this error occurs
it will point to the wrong line. At least under OSF1v3.2 it does.
Ian
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Fortran X4.0.1 w/ DU 4.0A and option -C
1996-10-31 5:00 ` Ian Mortimer
@ 1996-11-04 5:00 ` Steve Lionel
0 siblings, 0 replies; 4+ messages in thread
From: Steve Lionel @ 1996-11-04 5:00 UTC (permalink / raw)
In article <55989q$rrs@hobyah.cc.uq.oz.au>, mortimer@physics.uq.oz.au (Ian Mortimer) writes:
|>Eros Albertazzi (eros@ala2.lamel.bo.cnr.it) wrote:
|>> When compiled with the -C (-check_bounds) options a fortran program
|>> produces the following:
|>
|>> forrtl: severe (139): array index out of bounds for index 1 (SIGTRAP)
|>
|>What's worse is if you run the program in dbx and this error occurs
|>it will point to the wrong line. At least under OSF1v3.2 it does.
As of Digital Fortran V4.0, the correct line should be reported in most cases.
--
Steve Lionel mailto:lionel@quark.zko.dec.com
Fortran Development http://www.digital.com/info/slionel.html
Digital Equipment Corporation
110 Spit Brook Road, ZKO2-3/N30
Nashua, NH 03062-2698 "Free advice is worth every cent"
For information on Digital Fortran, see http://www.digital.com/info/hpc/fortran/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Fortran X4.0.1 w/ DU 4.0A and option -C
1996-10-30 5:00 Fortran X4.0.1 w/ DU 4.0A and option -C Eros Albertazzi
1996-10-31 5:00 ` Ian Mortimer
@ 1996-11-01 5:00 ` Steve Lionel
1 sibling, 0 replies; 4+ messages in thread
From: Steve Lionel @ 1996-11-01 5:00 UTC (permalink / raw)
In article <55865c$8gu@sirio.cineca.it>, eros@ala2.lamel.bo.cnr.it
(Eros Albertazzi) writes:
|>When compiled with the -C (-check_bounds) options a fortran program
|>produces the following:
|>
|>forrtl: severe (139): array index out of bounds for index 1 (SIGTRAP)
|>
|>and nothing more.
|>I feel that this info is too generic and of no much use when dubugging complex
|>programs.
|>Wasn't f77 able to specify the code line number as well, or am I
|>confusing with the SGI f77 compiler behaviour?
If you run this under the debugger, you'll get the specific line number. (But
be sure you're using a recent (3.8 or 4.0) compiler to get the most accurate
line number.
--
Steve Lionel mailto:lionel@quark.zko.dec.com
Fortran Development http://www.digital.com/info/slionel.html
Digital Equipment Corporation
110 Spit Brook Road, ZKO2-3/N30
Nashua, NH 03062-2698 "Free advice is worth every cent"
For information on Digital Fortran, see http://www.digital.com/info/hpc/fortran/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1996-11-04 5:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-10-30 5:00 Fortran X4.0.1 w/ DU 4.0A and option -C Eros Albertazzi
1996-10-31 5:00 ` Ian Mortimer
1996-11-04 5:00 ` Steve Lionel
1996-11-01 5:00 ` Steve Lionel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox