[gnu.gcc.bug] sun-3 Sunos3.5 gcc-1.34 cc1 dies when using -fpcc-struct-return

dpb@SUN.COM (Don Bennett 433-3311, 408) (03/17/89)

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);
}