From: mike@inform.co.NZ (Mike Williams)
Subject: gcc-2.2.2 cc1plus dumps core building libg++-2.0
Organization: GNUs Not Usenet
Distribution: gnu
Date: Sat, 15 Aug 1992 01:51:42 GMT

  * GCC version: gcc-2.2.2
  * Hardware: Data General AViiON 4600
  * OS: DG/UX 5.4.1 (svr4)

  * Configuration:
      md -> config/m88k.md
      tconfig.h -> config/xm-m88k.h
      tm.h -> config/m88kdgux.h

  * Description:

    When building libg++-2.0, cc1plus dumps core when compiling BitSet.cc

  * Backtrace:

  | bin@raygun$ sde-target
  | environment is m88kbcs
  | bin@raygun$ make
  |         (rootme=`pwd` ; export rootme ; cd src ; \
  |                 make "CC=`if [ -d ${rootme}/../gcc ] ; \
  |         then echo ${rootme}/../gcc/gcc -B${rootme}/../gcc/ ; \
  |         else echo gcc ; fi`" "XTRAFLAGS=`if [ -d ${rootme}/../gcc ] ; \
  |         then echo -I${rootme}/../gcc/include ; \
  |         else echo ; fi`" \
  |                 "AR=`if [ -d ${rootme}/../binutils ] ; \
  |         then echo ${rootme}/../binutils/ar ; \
  |         else echo ar ; fi`" "RANLIB=`if [ -d ${rootme}/../binutils ] ; \
  |         then echo ${rootme}/../binutils/ranlib ; \
  |         else echo ranlib ; fi`")
  |         gcc -I. -I./../iostream -I./../g++-include  -c BitSet.cc
  | gcc: Internal compiler error: program cc1plus got fatal signal 6
  | *** Error code 1
  |  
  | Stop.
  | *** Error code 1
  |  
  | Stop.
  | bin@raygun$ find . -name core -print
  | ./src/core
  | bin@raygun$ dbx /usr/local/lib/gcc-lib/m88k-dg-dgux/2.2.2/cc1plus src/core
  |  
  | This version of DBX is implemented on top of GDB 3.6.9.12,
  | Copyright (C) 1988 Free Software Foundation, Inc. and is in
  | total compliance with the GDB copyright agreement.
  |  
  | According to GDB copyright agreement, you are welcome to distribute
  | copies of this DBX under certain conditions; type "help copying" to see
  | the conditions.
  |  
  | Reading symbol data from /usr/local/lib/gcc-lib/m88k-dg-dgux/2.2.2/cc1plus...done.
  | Type "help" for a list of commands.
  | (dbx) where
  | Stack level 0 : 0x15e99c in _kill ()
  | Stack level 1 : 0x15e574 in _abort ()
  | Stack level 2 : 0x4644c in break_out_calls (exp=(union tree_node *) 0x41b8e8), file cp-tree.c, line 207
  | Stack level 3 : 0x46470 in break_out_calls (exp=(union tree_node *) 0x41b928), file cp-tree.c, line 217
  | Stack level 4 : 0x464d4 in break_out_calls (exp=(union tree_node *) 0x41b948), file cp-tree.c, line 234
  | Stack level 5 : 0x405c8 in build_modify_expr (lhs=(union tree_node *) 0x41b948,
  | modifycode=NOP_EXPR, rhs=(union tree_node *) 0x41b908), file cp-typeck.c, line 5157
  | Stack level 6 : 0x1d344 in yyparse (), file cp-parse.c, line 3838
  | Stack level 7 : 0x85568 in compile_file (name=( *) 0xeffff342 "/usr/tmp/cca11492.i"), file toplev.c, line 1638
  | Stack level 8 : 0x87f40 in main (argc=7, argv=( **) 0xeffff2f0, envp=<Value Optimized Out>), file toplev.c, line 3055
  | Stack level 9 : 0x10144 in _start ()

    ------------------------------------------------------------------
        Mike Williams, InForm Group Ltd., Wellington, New Zealand.
   Email: mike@inform.co.nz   Phone: 64 4 472 0996   Fax: 64 4 473 2407

Newsgroups: gnu.gcc.bug