Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!gem.mps.ohio-state.edu!uwm.edu!ux1.cso.uiuc.edu!steven@uicadb.csl.uiuc.edu From: steven@uicadb.csl.uiuc.edu (Steven Parkes) Newsgroups: gnu.gcc.bug Subject: Re: Passing structs by-value from gcc to Sun C on a sparc. Message-ID: <1989Sep18.231207.28920@ux1.cso.uiuc.edu> Date: 18 Sep 89 23:12:07 GMT References: <8909182118.AA17239@honir.cs.cornell.edu> Sender: news@ux1.cso.uiuc.edu (News) Reply-To: steven@pacific.csl.uiuc.edu Distribution: gnu Organization: Coordinated Science Laboratory, University of Illinois Lines: 5 While we're on the subject, does -fpcc-struct-return work on a sparc? Running gcc 1.35 and SunOS 4.0.3c on a sparc-station1, the simplest example of returning a struct does not work (functions identically whether -fpcc-struct-return exisits or not). The caller is compiled with cc and the subroutine with gcc. Examples available on request.