[gnu.gcc.bug] gcc-1.35.91/sun4-os4: cc1 gets fatal signal 6 when inline functions are multiply defined

meyering@CS.UTEXAS.EDU (Jim Meyering) (06/17/89)

% cat foo.c
/* Configuration: gcc-1.35.91 with rms's patches to integrate.c and c-parse.y
 * System: sun4-os4
 * Problem: cc1 dies with Signal 6
 * Options: -finline-functions (-g and -O don't influence outcome) */
double epslon(double x) { }
double epslon(double x) { }
foo() { double x; x = epslon(1.0); }

% make
gcc -v -finline-functions   -c foo.c -o foo.o
gcc version 1.35.91
 /p/lib/gcc-1.35.91/gcc-cpp -v -undef -D__GNUC__ -Dsparc -Dsun -Dunix -D__sparc__ -D__sun__ -D__unix__ foo.c /tmp/cca18609.cpp
GNU CPP version 1.35.91
 /p/lib/gcc-1.35.91/gcc-cc1 /tmp/cca18609.cpp -quiet -dumpbase foo.c -finline-functions -version -o /tmp/cca18609.s
GNU C version 1.35.91 (sparc) compiled by GNU C version 1.35.91.
foo.c: In function epslon:
foo.c:6: redefinition of `epslon'
foo.c:5: here is the previous declaration of `epslon'
gcc: Program cc1 got fatal signal 6.
make: *** Error 1
%
Jim Meyering      meyering@cs.utexas.edu