Path: utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!SUN-VALLEY.STANFORD.EDU!wjj From: wjj@SUN-VALLEY.STANFORD.EDU (Warren Jasper) Newsgroups: gnu.gcc.bug Subject: gcc bug Message-ID: <8911092132.AA04883@aspen.Stanford.EDU> Date: 9 Nov 89 21:32:30 GMT Sender: daemon@tut.cis.ohio-state.edu Reply-To: uhilk@sun-valley.stanford.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 34 Here is the source file - ----------------------------------------------------------------------- extern float a,b,s,c; __inline static const void sincos (float angle, float *sinval, float *cosval) { float s,c; __asm ("fsincosx %2,%0:%1" : "=f" (s), "=f" (c) : "f" (angle)); *sinval = s; *cosval = c; } void test(void) { sincos(a-b,&s,&c); } - ------------------------------------------------------------------------ Here is the command line used to compile it - ------------------------------------------------------------------------ gcc -O -Wall -fstrength-reduce -fcombine-regs -fomit-frame-pointer -finline-fun ctions -fforce-mem -fforce-addr -Dsun3 -m68020 -m68881 -D__HAVE_68881__ -S junk .c - ------------------------------------------------------------------------ and here is the result - ------------------------------------------------------------------------ /local/lib/sun3/gcc: Program cc1 got fatal signal 11. - ------------------------------------------------------------------------ -- Chris