[gnu.gcc.bug] gcc 1.37.1 core dumps when compilin

north@m.cs.uiuc.edu (02/28/90)

When compiling gcc 1.37.1 I'm getting a core drop as well.  The system
is a Data General AViiON (88000)

The culprit in this case is gnulib as well.


% make
        for name in _adddi3 _subdi3 _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _n
egdi2  _anddi3 _iordi3 _xordi3 _lshrdi3 _lshldi3 _ashldi3 _ashrdi3 _one_cmpldi2
  _bdiv _cmpdi2 _ucmpdi2 _fixunsdfdi _fixdfdi _floatdidf _varargs; \
        do \
          echo    .
        do \
          echo ${name}; \
          ./gcc -B./ -fstrength-reduce -O -I. -I. -I./config  -c -DL${name} ./gn
ulib2.c -o ${name}.o; \
          ar rc gnulib ${name}.o; \
          rm -f ${name}.o; \
        done
_adddi3
./gcc: Program cc1 got fatal signal 11.
*** Error code 1

Stop.
%

A stack trace of this from sdb reveals.....

% sdb cc1 core
0x33ef4 in split_tree:712:   if (TREE_CODE (in) == code
*t
split_tree()   [fold-const.c:712]
fold()   [fold-const.c:1412]
build_binary_op_nodefault()   [c-typeck.c:1619]
build_enumerator()   [c-decl.c:3435]
yyparse()   [c-parse.tab.c:92]
compile_file()   [toplev.c:1118]
main()   [toplev.c:1995]
*

wood@DG-RTP.DG.COM (Tom Wood) (02/28/90)

> When compiling gcc 1.37.1 I'm getting a core drop as well.  The system
> is a Data General AViiON (88000)

I wasn't aware that I've released 1.37.1 yet!  The 88k support provided
with FSF releases doesn't work and isn't expected to.  You can, if you
want, get patches via anonymous ftp to dg-rtp.dg.com for 1.35 and 1.36.
-- 
Tom Wood