Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by marvinw
Wed, 11 Nov 1992 18:56
another gcc-2.3.1 -msoft-float -O2 bug
Author: marvinw
Date: Wed, 11 Nov 1992 18:56
Date: Wed, 11 Nov 1992 18:56
42 lines
2351 bytes
2351 bytes
There is a small C program included below which produces the problem. The
compiler is aborting.
Marvin Wyckoff
Tektronix, Inc.
503-685-2985
marvinw@orca.wv.tek.com
---------------------------------------------------------------------------
Script started on Wed Nov 11 10:52:47 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 bug4.c
static void CalcEdgeValue (fwidth)
unsigned short *fwidth;
{
float scale;
int temp3;
if (temp3 < 0)
{
if (!scale)
scale = 1.0;
*fwidth += (((1.0 / scale) * abs(temp3)) + 0.5);
}
}
[ent] gcc -msoft-float -O2 -c -v bug4.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 bug4.c /usr/tmp/cc019120.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/cc019120.i -mgpopt -quiet -dumpbase bug4.c -msoft-float -O2 -version -o /usr/tmp/cc019120.s
GNU C version 2.3.1 [AL 1.1, MM 28] RISC-OS BSD Mips compiled by CC.
/big1/people/marvinw/nwd/tools/mips/bin/mgcc: Internal compiler error: program cc1 got fatal signal 4
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads