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: rs@sarnoff.com (Ron Sverdlove x2517) Subject: Re: SUMMARY: Code errors which can masquerade as compiler bugs Re: Mysterious data corruption in Fortran with -automatic Date: 1998/06/11 Message-ID: <6lp8sm$epd1@news.sarnoff.com>#1/1 X-Deja-AN: 361772871 References: <01bd91bc$ac64ac80$LocalHost@stupidwin95> Organization: David Sarnoff Research Center Reply-To: rs@sarnoff.com Newsgroups: comp.sys.dec,comp.lang.fortran In article <01bd91bc$ac64ac80$LocalHost@stupidwin95>, "Kevin G. Rhoads" writes: >Summary: > >Compiler bugs are real, but should be one of the >*last* >things to check. > The best evidence that compiler bugs exist is when you submit a report to a vendor with an example of your problem and they confirm that it is indeed a compiler error. In some cases they have a patch ready to send. In others, they say it will be fixed in the next version. I use one Fortran 77 compiler and two Fortran 90 compilers from different vendors. I have found only a few bugs in the 77 compiler (not surprising since it has been around for a long time), but I regularly find bugs in both of the 90 comiplers. Again, I know that these are compiler bugs because the vendors have agreed that they are. Nevertheless, I agree with the statement that one should check every other possibility carefully first because user errors are certainly much more common that compiler errors. -- Ronald Sverdlove Computing Systems Research rs@sarnoff.com Sarnoff Corporation Tel. 609-734-2517 CN 5300 FAX 609-734-2662 Princeton, NJ 08543-5300