This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [patch] new string instantiations



Hey Nathan. This stuff is now in, thanks. It cleaned up things, and it
looks like it slightly reduced binary size for static compiles as well
(see results below.)

>Note that the two lines commented out under '#ifdef MAIN' in 
>src/string-inst.cc, if uncommented, cause an "internal error" 
>in yesterday's compiler.

I'm currently using the Apr11 compilers, as current CVS seems to be
especially shaky. I have these errors too, so it looks like this bug
is at least a week old.

Yukkk!!!

Can you please the problem down to something small enough for
gcc-bugs@gcc.gnu.org? That would be nice......

Anyway.

What the ChangeLog looks like (hint.......)

2000-04-18  Nathan Myers  <ncm@zembu.com>

	* bits/basic_string.h: Remove inlines.
	
	* src/string-inst.cc: Modify.
	* src/stringADDCS.cc, stringADDPS.cc, stringADDSC.cc, stringADDSP.cc,
	stringADDSS.cc, stringBIST.cc, stringBOST.cc, stringCHTR.cc,
	stringEQPS.cc, stringEQSP.cc, stringEQSS.cc, stringEXTRA.cc,
	stringGEPS.cc, stringGESP.cc, stringGESS.cc, stringGETLI.cc,
	stringGTPS.cc, stringGTPS.cc, stringGTSP.cc, stringGTSS.cc,
	stringINSER.cc, stringLEPS.cc, stringLESP.cc, stringLESS.cc,
	stringLESP.cc, stringLTPS.cc, stringLTPS.cc, stringLTSP.cc,
	stringLTSS.cc, stringMAIN.cc, stringNEPS.cc, stringNESP.cc,
	stringNESS.cc, stringSCOPY.cc: Remove.
	* src/wstringADDCS.cc, etc: Remove.

	Benjamin Kosnik  <bkoz@haight.constant.com>
	* src/Makefile.am: Modify to reflect above.
	* src/Makefile.in: Regenerate.


----------with old mechanism
+ 6	0.000	204693	31115	1351534	21_strings/append.cc

+ 8	0.000	201333	30571	1245018	21_strings/capacity.cc

+ 7	0.000	185669	30443	1151466	21_strings/char_traits.cc

+ 5	0.000	189765	30539	1165331	21_strings/compare.cc

+ 5	0.000	191317	30571	1193028	21_strings/ctor_copy_dtor.cc

+ 5	0.000	186421	30603	1156802	21_strings/element_access.cc

+ 5	0.010	203749	30763	1329687	21_strings/find.cc

+ 6	0.000	193221	30987	1184503	21_strings/insert.cc

+ 13	0.000	494149	40389	3274225	21_strings/inserters_extractors.cc

+ 5	0.000	194069	30635	1182742	21_strings/invariants.cc

+ 6	0.000	199125	30571	1188015	21_strings/nonmember.cc

+ 5	0.000	187653	30485	1160079	21_strings/operations.cc

+ 5	0.000	193045	30507	1187551	21_strings/replace.cc

+ 5	0.000	187797	30507	1165343	21_strings/substr.cc


----------with new mechanism
+ 4	0.000	194965	30827	1237902	21_strings/append.cc

+ 4	0.000	201333	30571	1245018	21_strings/capacity.cc

+ 2	0.000	185669	30443	1151466	21_strings/char_traits.cc

+ 3	0.000	189765	30539	1165331	21_strings/compare.cc

+ 4	0.000	191317	30571	1193028	21_strings/ctor_copy_dtor.cc

+ 3	0.010	186421	30603	1156802	21_strings/element_access.cc

+ 6	0.000	190757	30475	1212638	21_strings/find.cc

+ 5	0.000	193221	30987	1184503	21_strings/insert.cc

+ 10	0.010	494149	40389	3274004	21_strings/inserters_extractors.cc

+ 4	0.000	194069	30635	1182742	21_strings/invariants.cc

+ 6	0.000	199125	30571	1188015	21_strings/nonmember.cc

+ 6	0.000	187653	30485	1160079	21_strings/operations.cc

+ 5	0.000	193045	30507	1187551	21_strings/replace.cc

+ 4	0.000	187797	30507	1165343	21_strings/substr.cc






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]