From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,a6a2dd20dfd28b8a X-Google-Attributes: gidfee84,public From: Pete Bradley Subject: Re: Another C compiler problem Date: 1996/05/20 Message-ID: <31A0A8C0.20E0@pweh.utc.com>#1/1 X-Deja-AN: 155780559 sender: news@cronkite.res.utc.com references: <31A04BCE.167E@lsl.co.uk> content-type: text/plain; charset=us-ascii organization: Pratt & Whitney mime-version: 1.0 newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 2.01 (X11; I; SunOS 5.5 sun4m) 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.