* Re: Digital Unix 4.0 C compiler
@ 1997-12-08 5:00 Jeff Sullivan
0 siblings, 0 replies; only message in thread
From: Jeff Sullivan @ 1997-12-08 5:00 UTC (permalink / 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-12-08 5:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-12-08 5:00 Digital Unix 4.0 C compiler Jeff Sullivan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox