Article View: gnu.g++.help
Article #834Re: STL map class in 2.7.1
From: Mike Stump
Date: Wed, 22 Nov 1995 18:45
Date: Wed, 22 Nov 1995 18:45
60 lines
2398 bytes
2398 bytes
I'll include the patch below. The next rotd s going to take a little
work, as there are a few things that caused version lock that I have
to sort out.
> Date: Wed, 22 Nov 95 11:10:28 +0100
> From: klamer@ph.tn.tudelft.nl (Klamer Schutte)
> Message-Id: <9511221010.AA19000@ph.tn.tudelft.nl>
> References: <DIE9wG.3MA@tigger.jvnc.net> <48t8m8$scn@rtl.cygnus.com>
> Organization: Delft University of Technology
> In <48t8m8$scn@rtl.cygnus.com> mrs@cygnus.com (Mike Stump) writes:
> :This problem is fixed in the next minor release of g++.
> That is good news to hear.
> However, I think this is a rather serious problem, breaking lots of
> current code. And a next minor release good take a lot of time.
> 2.7.0 - 2.7.1 took a few months? I can imagine that much people do not
> want to wait that long,
> For that reason, could you release this patch seperately / make a rotd
> release which has this problem fixed?
> Thanks in advance,
Doing diffs in .:
*** ./init.c.~1~ Wed Oct 11 17:24:29 1995
--- ./init.c Mon Nov 20 17:10:37 1995
*************** expand_aggr_init (exp, init, alias_this,
*** 1176,1183 ****
--- 1176,1186 ----
&& TREE_TYPE (init) == type)
init = CONSTRUCTOR_ELTS (init);
#endif
+
+ TREE_TYPE (exp) = TYPE_MAIN_VARIANT (type);
expand_aggr_init_1 (TYPE_BINFO (type), exp, exp,
init, alias_this, LOOKUP_NORMAL|flags);
+ TREE_TYPE (exp) = type;
TREE_READONLY (exp) = was_const;
TREE_THIS_VOLATILE (exp) = was_volatile;
}
*** ./ChangeLog.~1~ Mon Nov 20 14:27:27 1995
--- ./ChangeLog Mon Nov 20 17:10:20 1995
*************** Mon Nov 20 14:05:00 1995 Mike Stump <m
*** 6,11 ****
--- 6,16 ----
* g++.c (pfatal_with_name): Add missing third argument to concat.
+ Thu Oct 26 13:59:54 1995 Mike Stump <mrs@cygnus.com>
+
+ * init.c (expand_aggr_init): Handle cv qualifiers on the object's
+ type.
+
Sun Nov 12 18:09:35 1995 Mike Stump <mrs@cygnus.com>
* Version 2.7.1 released.
--------------
Technical Details
Message-ID:
<199511221843.KAA05935@cygnus.com>Path:
arc1-ca.pugleaf.net!cygnus.com!mrsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!cygnus.com!mrs From: mrs@cygnus.com (Mike Stump) Newsgroups: gnu.g++.help,comp.lang.c++ Subject: Re: STL map class in 2.7.1 Date: 22 Nov 1995 13:45:01 -0500 Organization: Gatewayed from the GNU Project mailing list help-g++@prep.ai.mit.edu Sender: daemon@cis.ohio-state.edu Distribution: world Message-ID: <199511221843.KAA05935@cygnus.com>