jeffe@omews40.intel.com (05/26/89)
The following example will cause gcc-1.35 to fail with a signal 6 on a
Sun 386i running SunOS 4.0.1. gcc was configured with 'config.gcc sun386'.
% cat bomb.c
const inline double tan(d)
double d;
{
double r1, r2;
asm( "fptan" : "=f" (r1), "=f" (r2) : "f" (d) );
return r2;
}
% gcc -v bomb.c
gcc version 1.35
/usr/local/lib/gcc-cpp -v -undef -D__GNUC__ -Dunix -Di386 -Dsun386 -Dsun -D__unix__ -D__i386__ -D__sun386__ -D__sun__ bomb.c /tmp/cca02158.cpp
GNU CPP version 1.35
/usr/local/lib/gcc-cc1 /tmp/cca02158.cpp -quiet -dumpbase bomb.c -version -o /tmp/cca02158.s
GNU C version 1.35 (80386, Sun syntax) compiled by GNU C version 1.35.
gcc: Program cc1 got fatal signal 6.
%
Jeff Eaton
Intel Corporation, Oregon Microcomputer Engineering.
jeffe@mipon2.intel.com (503) 696-4534