[gnu.g++.bug] multidimensional array destructors

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

Here's a fix to a bug in 1.36.2- that was reported minutes after I
sent out my message:

    diff -c2 cplus-init.c~ cplus-init.c
    *** cplus-init.c~	Sun Nov 26 23:41:03 1989
    --- cplus-init.c	Mon Nov 27 12:08:21 1989
    ***************
    *** 3315,3318 ****
    --- 3315,3319 ----
		  multi = 1;
		}
    + 	  amaxindex = array_type_nelts (ptype);
	      maxindex = fold (build (MULT_EXPR, integer_type_node,
				      fold (build (PLUS_EXPR, integer_type_node,
    ***************
    *** 3319,3323 ****
						   amaxindex, integer_one_node)),
				      maxindex));
    - 	  amaxindex = array_type_nelts (ptype);
	    }

    --- 3320,3323 ----

Michael