From: Pete Bradley <bradlepc@pweh.utc.com>
Subject: Re: Another C compiler problem
Date: 1996/05/20 [thread overview]
Message-ID: <31A0A8C0.20E0@pweh.utc.com> (raw)
In-Reply-To: 31A04BCE.167E@lsl.co.uk
Bill James wrote:
>
> We have another, distinct C compiler problem. The generated code
> seg faults at run-time, apparently due to an extraneous instruction
> in a common return sequence using 't12' - a temporary register.
> This is dUNIX V3.2C/D with OSFCMPLRS350/360. I have tried various
> optimisations, with and without debug, to no avail. OSFCMPLRS200 works,
> generating similar code, but without the offending instruction.
>
> Bad code:
>
[generated code deleted]
>
> Source routine:
>
[source of offending routine deleted]
I almost hate to ask this, but are you sure the code is ok? (lint clean,
doesn't assume anything about data sizes; doesn't invoke undefined
behavior, etc)?
Pete
--
Pete Bradley | The contents of this message express only the sender's
United Technologies | opinion and do not necessarily reflect the policy or
Pratt & Whitney | views of United Technologies. All responsibility for
| the statements made in this Usenet posting resides
| solely and completely with the sender.
next prev parent reply other threads:[~1996-05-20 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-05-20 4:00 Another C compiler problem Bill James
1996-05-20 4:00 ` Pete Bradley [this message]
1996-05-21 4:00 ` Bill James
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