Article View: gnu.gcc.bug
Article #2409sun-3 Sunos3.5 gcc-1.34 cc1 dies when using -fpcc-struct-return
From: Don Bennett 433-3311, 408
Date: Thu, 16 Mar 1989 21:40
Date: Thu, 16 Mar 1989 21:40
25 lines
942 bytes
942 bytes
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);
}
Technical Details
Message-ID:
<8903162140.AA11840@hpak>Path:
arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!SUN.COM!frame!hpak!dpbShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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