From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,bf7c76c283b4ccc X-Google-Attributes: gidfee84,public From: lionel@quark.zko.dec.com (Steve Lionel) Subject: Re: Fortran X4.0.1 w/ DU 4.0A and option -C Date: 1996/11/01 Message-ID: <55dnhs$idq$1@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 193760299 distribution: world sender: lionel@quark.enet.dec.com (Steve Lionel) references: <55865c$8gu@sirio.cineca.it> organization: Digital Equipment Corporation, Nashua NH reply-to: lionel@quark.zko.dec.com (Steve Lionel) newsgroups: comp.unix.osf.osf1 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/