Path: utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!SUN.COM!frame!hpak!dpb From: frame!hpak!dpb@SUN.COM (Don Bennett 433-3311, 408) Newsgroups: gnu.gcc.bug Subject: sun-3 Sunos3.5 gcc-1.34 cc1 dies when using -fpcc-struct-return Message-ID: <8903162140.AA11840@hpak> Date: 16 Mar 89 21:40:15 GMT Sender: daemon@tut.cis.ohio-state.edu Reply-To: dpb%frame@sun.com Distribution: gnu Organization: GNUs Not Usenet Lines: 25 My sun-3 gcc-1.34 built under Sun-os 3.5 dies with a segmentation fault when using -fpcc-struct-return on the following test file. Don Bennett (408)433-3311 dpb%frame@sun.com or, sun!frame!dpb Frame Technology ----- cut here ------- /* Breaks sun-3 gcc 1.34 when compiled with -fpcc-struct-return; */ typedef struct { int x,y; } PointT; PointT XYToPoint(); void badfunc() { PointT *origins, xyz; *origins++ = XYToPoint(0,0); }