Path: utzoo!telly!ddsw1!lll-winken!killer!pollux!ti-csl!cs.utexas.edu!tut.cis.ohio-state.edu!POMPE.ICS.UCI.EDU!schmidt From: schmidt@POMPE.ICS.UCI.EDU ("Douglas C. Schmidt") Newsgroups: gnu.gcc.bug Subject: gcc 1.32 gets fatal signal on Sun 3. Message-ID: <8901161010.aa01723@PARIS.ICS.UCI.EDU> Date: 16 Jan 89 17:56:16 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 33 Hi, Gcc 1.32 gets a fatal signal for the following program: ---------------------------------------- main () { int i = 10; int j = 11; printf ( "i = %d, j = %d\n", i, j); /* exchange the values of i and j */ asm ("exg %2,%0" : "+d" (i) : "0" (i), "+d" (j)); printf ( "i = %d, j = %d\n", i, j); } ---------------------------------------- Here are the diagnostics: ---------------------------------------- gcc version 1.32 /usr/public/lib/gcc/gcc-cpp -v -undef -D__GNUC__ -Dmc68000 -Dsun -Dunix -D__mc68000__ -D__sun__ -D__unix__ -D__HAVE_68881__ -Dmc68020 asm-bug.1.32.c /tmp/cca12713.cpp GNU CPP version 1.32 /usr/public/lib/gcc/gcc-cc1 /tmp/cca12713.cpp -quiet -dumpbase asm-bug.1.32.c -version -o /tmp/cca12713.s GNU C version 1.32 (68k, MIT syntax) compiled by GNU C version 1.32. /usr/public/gcc: Program cc1 got fatal signal 6. ---------------------------------------- Doug