schmidt@BONNIE.ICS.UCI.EDU ("Douglas C. Schmidt") (11/26/88)
Bug Report for GCC:
-------------------
Problem : gcc 1.31 dies on the following input file:
1.) Version : gcc 1.31
-----------
2.) Input Program :
-----------------
struct E {
int : 24;
int f : 24;
} EE;
struct t1 {char x[2];} zzz;
struct t2 {char x[6];} zzz1;
struct t3 {char x[10];} zzz3;
struct t4 {char x[3];} zzz4;
lose ()
{
win (EE.f);
win1 (zzz);
win2 (zzz1);
win3 (zzz3);
win4 (zzz4);
winnn (zzz3,zzz3,zzz3,zzz3);
winnn (zzz3,zzz3,zzz3,zzz3);
}
win1 (z, a)
struct t1 z;
{
return z.x[0] + 5 * z.x[1] + a;
}
win2 (z, a)
struct t2 z;
{
return z.x[0] + 5 * z.x[1] + a;
}
win3 (z, a)
struct t3 z;
{
return z.x[0] + 5 * z.x[1] + a;
}
3.) Command Used : gcc -v
----------------
4.) Files used :
--------------
config.gcc sequent-i386
5.) Machine(s) used :
-------------------
Sequent Symmetry DYNIX (TM)V3 (BSD 4.3 features)
6.) Compiler diagnostics :
------------------------
gcc version 1.31
/usr/public/lib/gcc/gcc-cpp -v -undef -D__GNU__ -D__GNUC__ -Dunix
-Di386 -Dsequent save4.c /tmp/cc013001.cpp
GNU CPP version 1.31
/usr/public/lib/gcc/gcc-cc1 /tmp/cc013001.cpp -quiet -dumpbase
save4.c -version -o /tmp/cc013001.s
gcc: Program cc1 got fatal signal 4.