Article View: gnu.gcc.bug
Article #2157gcc 1.32 gets fatal signal on Sun 3.
From: "Douglas C. Schmidt"
Date: Mon, 16 Jan 1989 17:56
Date: Mon, 16 Jan 1989 17:56
33 lines
1384 bytes
1384 bytes
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
Technical Details
Message-ID:
<8901161010.aa01723@PARIS.ICS.UCI.EDU>Path:
arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!pollux!ti-csl!cs.utexas.edu!tut.cis.ohio-state.edu!POMPE.ICS.UCI.EDU!schmidtShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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