🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #1356

another gcc-2.3.1 -msoft-float bug

#1356
From: marvinw
Date: Tue, 10 Nov 1992 23:46
37 lines
2273 bytes
There is a small C program included in the script below which illustrates
the problem.  The compiler, cc1, core dumps!

		Marvin Wyckoff
		Tektronix, Inc.
		503-685-2985

---------------------------------------------------------------------------
Script started on Tue Nov 10 15:42:50 1992

[ent] cat config.status
#!/bin/sh
# GCC was configured as follows:
../configure --host=mips --target=mips-mips-bsd
echo host=mips-mips-none target=mips-mips-bsd build=mips-mips-none
[ent] uname -a
enterprise enterprise 5.0 RISCos mips
[ent] cat bug.c
double          prev_err, err;
float          *src_pd, *src_cdf;
_CreateMHLut()
{
        *src_cdf++ = *src_pd++;
        prev_err = err;
}
[ent] mgcc -O2 -v -c -msoft-float bug.c
gcc version 2.3.1
 /big1/people/marvinw/nwd/tools/mips/lib/gcc-lib/mips-mips-bsd/2.3.1/cpp -lang-c -v -undef -D__GNUC__=2 -Dmips -Dunix -Dhost_mips -DMIPSEB -DR3000 -DSYSTYPE_BSD43 -D_mips -D_unix -D_host_mips -D_MIPSEB -D_R3000 -D_SYSTYPE_BSD43 -D__mips__ -D__unix__ -D__host_mips__ -D__MIPSEB__ -D__R3000__ -D__SYSTYPE_BSD43__ -D___mips__ -D___unix__ -D___host_mips__ -D___MIPSEB__ -D___R3000__ -D___SYSTYPE_BSD43__ -D__mips -D__unix -D__host_mips -D__MIPSEB -D__R3000 -D__SYSTYPE_BSD43 -D___mips -D___unix -D___host_mips -D___




MIPSEB -D___R3000 -D___SYSTYPE_BSD43 -D__OPTIMIZE__ -D__LANGUAGE_C -D_LANGUAGE_C -DLANGUAGE_C bug.c /usr/tmp/cc016801.i
GNU CPP version 2.3.1 [AL 1.1, MM 28] RISC-OS BSD Mips
 /big1/people/marvinw/nwd/tools/mips/lib/gcc-lib/mips-mips-bsd/2.3.1/cc1 /usr/tmp/cc016801.i -mgpopt -quiet -dumpbase bug.c -msoft-float -O2 -version -o /usr/tmp/cc016801.s
GNU C version 2.3.1 [AL 1.1, MM 28] RISC-OS BSD Mips compiled by CC.
mgcc: Internal compiler error: program cc1 got fatal signal 4
Technical Details
Message-ID: <9211102346.AA14828@intrepid18.WV.TEK.COM_>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!netsys!agate!ames!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!intrepid18.wv.tek.COM!marvinw

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!netsys!agate!ames!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!intrepid18.wv.tek.COM!marvinw
From: marvinw@intrepid18.wv.tek.COM
Subject: another gcc-2.3.1 -msoft-float bug
Message-ID: <9211102346.AA14828@intrepid18.WV.TEK.COM_>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Tue, 10 Nov 1992 23:46:52 GMT
Approved: bug-gcc@prep.ai.mit.edu
Lines: 33