From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1094ba,cf4ba3d07912d446 X-Google-Attributes: gid1094ba,public X-Google-Thread: 1164f8,cf4ba3d07912d446 X-Google-Attributes: gid1164f8,public From: Steve Lionel Subject: Re: Mysterious data corruption in Fortran with -automatic Date: 1998/06/08 Message-ID: <6lh4ft$43b@usenet.pa.dec.com>#1/1 X-Deja-AN: 360721617 Distribution: world References: Organization: Digital Equipment Corporation, Nashua NH Reply-To: Steve Lionel Newsgroups: comp.sys.dec,comp.lang.fortran In article , rubber@bounce.com (Keith Refson - real email address in signature) writes: |>I have just wasted about 3 days attempting to debug a really |>mysterious problem with a FORTRAN program on DU 4.0D. The original |>problem is that the program gives different results when compiled with |>the "-automatic" flag to put variables on the stack. I can't add much to the extensive discussion that has gone on here already. Yes, many times coding errors do reveal themselves at higher optimization levels. Yes, compiler bugs do exist. Which is the case here? Insufficient data. You don't say what compiler version you're using (or even which compiler). The current version of DIGITAL Fortran is V5.1. If you have V4.1, there is a downloadable update at www.digital.com/fortran/downloads.html that you should try. Should you manage to come up with a reasonable test case, please do send it to us at fortran@digital.com - we'll be glad to take a look. -- Steve Lionel mailto:Steve.Lionel@digital.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/fortran