From dg-rtp!uunet!tut.cis.ohio-state.edu!gzilla.eng.sun.com!tiemann Mon Jun  4 13:52:00 EDT 1990
Article 1947 of gnu.g++.bug:
Path: dg-rtp!uunet!tut.cis.ohio-state.edu!gzilla.eng.sun.com!tiemann
>From: tiemann@gzilla.eng.sun.com (Michael Tiemann)
Newsgroups: gnu.g++.bug
Subject: 1.37.1 bug
Message-ID: <9006030409.AA05480@gzilla.Eng.Sun.COM>
Date: 3 Jun 90 04:09:34 GMT
References: <9005251945.AA13644@lubalin.cs.arizona.edu>
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: tiemann@cygnus.com
Distribution: gnu
Organization: Cygnus Support (+1 415 322 3811)
Lines: 34

When the compiler does this:

    g++ version 1.37.1 (based on GCC 1.37)
     /usr/local/lib/gcc-cpp -+ -v -undef -D__GNUC__ -D__GNUG__ -D__cplusplus -Dmc68000 -Dsun -Dunix -D__mc68000__ -D__sun__ -D__unix__ -Dmc68020 test.cc /usr/tmp/cca13583.cpp
    GNU CPP version 1.37.1
     /usr/local/lib/gcc-cc1plus /usr/tmp/cca13583.cpp -quiet -dumpbase test.cc -version -o /usr/tmp/cca13583.s
    GNU C++ version 1.37.1 (based on GCC 1.37) (68k, MIT syntax) compiled by GNU C version 1.37.1.
    default target switches: -m68020 -mc68020 -mbitfield
    Failed assertion `!integer_zerop (expr)' at line 1126 of `cplus-cvt.c'.
    g++: Program cc1plus got fatal signal 6.

...counter with this:

    gzilla% diff -c2 cplus-init.c~ cplus-init.c
    *** cplus-init.c~	Mon May 21 09:02:58 1990
    --- cplus-init.c	Sat Jun  2 20:55:42 1990
    ***************
    *** 3341,3346 ****
		this_auto_delete = integer_zero_node;

    ! 	  expr = build_delete (basetype, ref, this_auto_delete,
    ! 			       flags|LOOKUP_PROTECTED_OK, 0);
	      exprstmt = tree_cons (NULL_TREE, expr, exprstmt);
	    }
    --- 3341,3346 ----
		this_auto_delete = integer_zero_node;

    ! 	  expr = build_delete (TYPE_POINTER_TO (basetype), addr,
    ! 			       this_auto_delete, flags|LOOKUP_PROTECTED_OK, 0);
	      exprstmt = tree_cons (NULL_TREE, expr, exprstmt);
	    }
    gzilla% 

Michael


