Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Jeff Sullivan <jps@zk3.dec.com>
Subject: Re: Digital Unix 4.0 C compiler
Date: 1997/12/08	[thread overview]
Message-ID: <348C52FD.41C6@zk3.dec.com> (raw)


We are able to reproduce this problem with the DEC C compiler on
UNIX. We are investigating this problem now.

A quick analysis of the problem suggests that the structure-return
temporary isn't preserved until it is used in the enclosing function
call.

One possible workaround is to use "-oldc" to compile this module
only. Note that -oldc will use the default C compiler from V3.2,
which will not provide all of the optimizations and features of
DEC C on UNIX.

Another possible solution is to re-write the code to pass the
structures as output arguments. If possible, this would be the
better (cleaner and more efficient) fix.

Let me know if you have further questions or problems.

Thanks,
-Jeff
-- 
Jeff Sullivan | Digital Equipment Corp | sullivan@decc.enet.dec.com
DEC C and C++ | Nashua, NH  ZK3-2/2X09 |       or   jps@zk3.dec.com



                 reply	other threads:[~1997-12-08  5:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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