🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #624

multidimensional array destructors

#624
From: Michael Tiemann
Date: Mon, 27 Nov 1989 20:15
24 lines
1100 bytes
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
Technical Details
Message-ID: <8911272015.AA24063@teacake.sun.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!SUN.COM!tiemann

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!SUN.COM!tiemann
From: tiemann@SUN.COM (Michael Tiemann)
Newsgroups: gnu.g++.bug
Subject: multidimensional array destructors
Message-ID: <8911272015.AA24063@teacake.sun.com>
Date: 27 Nov 89 20:15:29 GMT
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: tiemann@sun.com
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 24