[gnu.g++.bug] g++-1.36.2 crash

tiemann@SUN.COM (Michael Tiemann) (11/28/89)

The last patch was wrong.  This is the right one.  Sorry.

    teacake% diff -c2 cplus-typeck.c~ cplus-typeck.c
    *** cplus-typeck.c~	Mon Nov 27 00:07:45 1989
    --- cplus-typeck.c	Mon Nov 27 17:07:35 1989
    ***************
    *** 1265,1269 ****
	      && TREE_CODE (TYPE_NAME (context)) == TYPE_DECL)
	    {
    ! 	  tree assoc = value_member (context, CLASSTYPE_ASSOC (basetype));
	      if (assoc)
		{
    --- 1265,1269 ----
	      && TREE_CODE (TYPE_NAME (context)) == TYPE_DECL)
	    {
    ! 	  tree assoc = assoc_value (context, basetype);
	      if (assoc)
		{
    teacake% 

Michael