Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Greg Woodbury <ggw@cds.duke.edu>
Subject: Re: RH4.2 fort77 bug??
Date: Tue, 15 Jul 1997 16:07:35 -0400 (EDT)	[thread overview]
Message-ID: <m0woDsm-000A1HC@dukcds.cds.duke.edu> (raw)
In-Reply-To: <199707142059.QAA27512@adder.cs.Virginia.EDU>

> > 	Has anyone seen weirdnesses in the RH4.2 (gcc 2.7.2.1) release
> > of fort77? Specifically, for all but trivial cases I'm getting the response:
> > 
> >Compiler error line XXXX of : floating exception during constant evaluaion; cannotr recover.
> 
> Yes, we are seeing this on the RH4.2 alpha release but not the
> Pentium release. Instead of diagnosing it we just ran the files
> through f2c on a pentium box.

I diagnosed this problem, and it isn't in f2c, but rather a problem in
GCC!  The code generator for GCC is not properly short-circuiting logical
evaluations when && and || are mixed in C expressions.

I have a patch for one of the f2c modules, and I'll post it in a bit.

Greg Woodbury

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

  reply	other threads:[~1997-07-15 20:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-07-14 20:59 RH4.2 fort77 bug?? Greg Lindahl
1997-07-15 20:07 ` Greg Woodbury [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-07-14 22:30 m. capel
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox