Neil Booth
9756310a6e
Makefile.in: Update.
...
* Makefile.in: Update.
* opts.c: Include tm_p.h.
(handle_options): Make static.
(decode_options): Copied from toplev.c.
* opts.h (decode_options): New.
* toplev.c (parse_options_and_default_flags): Move most to opts.c,
some to...
(general_init): ...here.
(toplev_main): Use decode_options instead.
* toplev.h (save_argc, save_argv): New.
From-SVN: r68629
2003-06-28 06:18:10 +00:00
Kazu Hirata
f7400894d9
explow.c (find_next_ref): Remove.
...
* explow.c (find_next_ref): Remove.
* rtl.h: Remove the prototype for find_next_ref.
From-SVN: r68628
2003-06-28 05:39:40 +00:00
Matt Kraai
92fee0d0c1
* Make-lang.in: Add missing space to comment.
...
From-SVN: r68627
2003-06-28 05:24:12 +00:00
Roger Sayle
5591ef05e6
alpha.md (anonymous define_split): Adjust emit_note call to match recent API change.
...
* config/alpha/alpha.md (anonymous define_split): Adjust emit_note
call to match recent API change.
From-SVN: r68626
2003-06-28 02:21:49 +00:00
Gunther Nikl
b11e4747fe
re PR other/10240 (HOST_CFLAGS in gcc/Makefile.in shouldn't include XCFLAGS)
...
PR other/10240
* configure.in: Removed $(XCFLAGS) from BUILD_CFLAGS for build != host.
* configure: Rebuilt.
From-SVN: r68625
2003-06-27 18:27:46 -07:00
Zack Weinberg
a6d682a05f
dbxout.c (flag_debug_only_used_symbols): Delete redundant declaration.
...
* dbxout.c (flag_debug_only_used_symbols): Delete redundant
declaration.
f:
* com.c (input_file_stack_tick): Delete redundant declaration.
java:
* gjavah.c (flag_jni): Make non-static.
* parse-scan.y (ctxp): Make non-static.
From-SVN: r68624
2003-06-28 00:42:31 +00:00
Gunther Nikl
1d6302b177
re PR target/11014 ([m68k] MIT / MOTOROLA assembly conflict)
...
PR target/11014
* config/m68k/m68k.c (m68k_output_mi_thunk): Use correct assembly
syntax for MIT / MOTOROLA.
From-SVN: r68623
2003-06-27 17:36:23 -07:00
Zack Weinberg
8ce332308c
* c-format.c (check_format_string, get_constant)
...
* cfgrtl.c (rtl_split_edge):
Mark the definition static, matching the forward declaration.
cp:
* decl.c (build_typename_type)
* mangle.c (write_template_template_arg)
* parser.c (cp_parser_scope_through_which_access_occurs)
* pt.c (push_access_scope_real, push_access_scope, pop_access_scope)
* repo.c (get_base_filename)
* semantics.c (maybe_convert_cond):
Mark the definition static, matching the forward declaration.
java:
* class.c (build_method_symbols_entry)
* expr.c (get_offset_table_index)
* jcf-parse.c (jcf_parse):
Mark the definition static, matching the forward declaration.
From-SVN: r68622
2003-06-28 00:30:31 +00:00
Gerald Pfeifer
711f0333a2
gcc_release: Command "all" now creates .gz files only for releases and pre-releases.
...
* gcc_release: Command "all" now creates .gz files only for
releases and pre-releases.
From-SVN: r68620
2003-06-28 00:18:50 +00:00
GCC Administrator
1c49935743
Daily bump.
...
From-SVN: r68618
2003-06-28 00:16:06 +00:00
Gunther Nikl
396235c866
Patch from Gunther Nikl.
...
* unwind-c.c (PERSONALITY_FUNCTION): Delete duplicate define.
From-SVN: r68616
2003-06-27 17:02:30 -07:00
Mark Mitchell
dce50630a3
re PR c++/10468 (const typeof(x) is non-const, but only in templates)
...
PR c++/10468
* pt.c (tsubst): Handle qualified TYPEOF_TYPEs correctly.
PR c++/10468
* g++.dg/ext/typeof5.C: New test.
From-SVN: r68615
2003-06-27 22:46:47 +00:00
Chris Demetriou
7a0ec6071b
mips.c (mips_build_va_list): Make padding in va_list structure explicit to avoid -Wpadded warnings.
...
2003-06-27 Chris Demetriou <cgd@broadcom.com>
* config/mips/mips.c (mips_build_va_list): Make padding in
va_list structure explicit to avoid -Wpadded warnings.
From-SVN: r68613
2003-06-27 15:43:38 -07:00
Mark Mitchell
e455bc273e
re PR c++/10796 (ICE (segfault) when defining an enum with two values: -1 and MAX_INT_64BIT)
...
PR c++/10796
* decl.c (finish_enum): Implement DR377.
* decl.c (cp_finish_decl): Don't make variables with reference
type readonly while they are being initialized.
PR c++/10796
* g++.dg/init/enum1.C: New test.
From-SVN: r68610
2003-06-27 21:21:08 +00:00
Ulrich Weigand
dc65c307c8
s390.h (SECONDARY_OUTPUT_RELOAD_CLASS): Define.
...
gcc/ChangeLog:
* config/s390/s390.h (SECONDARY_OUTPUT_RELOAD_CLASS): Define.
* config/s390/s390.c (s390_secondary_output_reload_class): New function.
* config/s390/s390-protos.h (s390_secondary_output_reload_class):
Declare it.
* config/s390/s390.md ("reload_outti", "reload_outdi",
"reload_outdf"): New expanders.
* config/s390/s390.md ("movti" + splitters): Handle non-offsettable
memory operands as source.
("movdi" + splitters): Likewise.
("movdf" + splitters): Likewise.
* config/s390/s390.c (s390_split_ok_p): New function.
* config/s390/s390-protos.h (s390_split_ok_p): Declare it.
gcc/testsuite/ChangeLog:
* gcc.dg/20030627-1.c: New test.
From-SVN: r68607
2003-06-27 21:10:17 +00:00
Michael Koch
5bbd6c3ee0
BeanContextSupport.java: New version from classpath.
...
2003-06-27 Michael Koch <konqueror@gmx.de>
* java/beans/beancontext/BeanContextSupport.java:
New version from classpath.
From-SVN: r68606
2003-06-27 21:00:16 +00:00
Michael Koch
2f161fa8c1
Window.java, [...]: New versions from classpath.
...
2003-06-27 Michael Koch <konqueror@gmx.de>
* java/awt/Window.java,
java/awt/font/GraphicAttribute.java,
java/awt/font/ImageGraphicAttribute.java,
java/awt/image/DataBufferByte.java,
java/awt/image/DataBufferInt.java,
java/awt/image/DataBufferUShort.java,
java/awt/image/DirectColorModel.java,
java/awt/image/PixelGrabber.java:
New versions from classpath.
From-SVN: r68605
2003-06-27 20:53:01 +00:00
Kazu Hirata
fa9ea25574
combine.c (force_to_mode): Replace the equality comparison of INTVALs with a pointer equality comparison.
...
* combine.c (force_to_mode): Replace the equality comparison
of INTVALs with a pointer equality comparison.
(simplify_comparison): Likewise.
From-SVN: r68603
2003-06-27 19:42:24 +00:00
Kazu Hirata
47c7b4d250
jump.c (rtx_renumbered_equal_p): Replace an expression that is known to be 0 with 0.
...
* jump.c (rtx_renumbered_equal_p): Replace an expression that
is known to be 0 with 0.
From-SVN: r68602
2003-06-27 19:40:09 +00:00
Kazu Hirata
ebd7a7af83
gcse.c (expr_equiv_p): Replace expressions that are known to be 0 with 0.
...
* gcse.c (expr_equiv_p): Replace expressions that are known to
be 0 with 0.
From-SVN: r68601
2003-06-27 19:38:27 +00:00
Kazu Hirata
213d5fbccb
cse.c (fold_rtx): Replace the equality comparison of INTVALs with a pointer equality comparison.
...
* cse.c (fold_rtx): Replace the equality comparison of INTVALs
with a pointer equality comparison.
From-SVN: r68600
2003-06-27 19:36:38 +00:00
Kazu Hirata
9df4f93999
rtlanal.c (reg_mentioned_p): Return 0 earlier if REG and IN are known to be not equivalent.
...
* rtlanal.c (reg_mentioned_p): Return 0 earlier if REG and IN
are known to be not equivalent.
From-SVN: r68599
2003-06-27 19:35:41 +00:00
Gerald Pfeifer
36067e59cd
gcc_release (build_sources): Do not include gnats.html any longer.
...
* gcc_release (build_sources): Do not include gnats.html any longer.
Make an error message more descriptive.
From-SVN: r68597
2003-06-27 19:29:01 +00:00
Benjamin Kosnik
f1a22109ec
[multiple changes]
...
2003-06-27 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/testsuite_performance.h (__gnu_cxx_test): Change
output name to libstdc++-v3-performance.sum.
* testsuite/Makefile.am (CLEANFILES): Remove .performance.
* testsuite/Makefile.in: Regenerate.
2003-06-27 Matthias Klose <doko@debian.org>
* testsuite/Makefile.am (check-abi, check-abi-verbose): Save
output of abi-check in libstdc++-v3-abi.sum.
* testsuite/Makefile.in: Regenerate.
From-SVN: r68593
2003-06-27 18:13:12 +00:00
Richard Henderson
7e4fb06a51
alpha.c (function_arg): Don't pass small aggregates in floating point registers.
...
* config/alpha/alpha.c (function_arg): Don't pass small aggregates
in floating point registers. Validate that we don't receive complex
values here. Use #elif.
(return_in_memory, function_value): New.
(alpha_va_arg): Handle complex values as two arguments.
* config/alpha/alpha.h (RETURN_IN_MEMORY): Use return_in_memory.
(FUNCTION_VALUE, LIBCALL_VALUE): Use function_value.
(SPLIT_COMPLEX_ARGS): New.
* config/alpha/alpha-protos.h: Update.
From-SVN: r68591
2003-06-27 10:52:03 -07:00
Ulrich Weigand
75d75435b6
ggc-page.c (inverse_table): Change type of mult to size_t.
...
* ggc-page.c (inverse_table): Change type of mult to size_t.
(compute_inverse): Compute inverse using size_t, not unsigned int.
Compute inverse also for sizes larger than half a machine page.
From-SVN: r68589
2003-06-27 17:36:21 +00:00
Nathanael Nerode
07d1940e1c
configure.in: Clean up config-lang.in handling.
...
* configure.in: Clean up config-lang.in handling. Delete
useless assignment to "subdirs".
* configure: Regenerate.
From-SVN: r68588
2003-06-27 17:33:51 +00:00
Devang Patel
3006aa689d
Remove extra bits from my previous commit.
...
I am sorry for the way I handled this -gused commit.
From-SVN: r68587
2003-06-27 10:26:25 -07:00
Krister Walfridsson
2e8a523fa7
2003-06-27 Krister Walfridsson <cato@df.lth.se>
...
* config/os/bsd/netbsd/ctype_noninline.h
(_C_ctype_): Declare.
(ctype<char>::classic_table): Return _C_ctype_ + 1.
(ctype<char>::ctype): Use classic_table.
From-SVN: r68584
2003-06-27 16:59:04 +00:00
Jan Hubicka
5c20c06c78
toplev.c (rest_of_decl_compilation): Only varpoolize argument when called before cgraph_optimize.
...
* toplev.c (rest_of_decl_compilation): Only varpoolize argument
when called before cgraph_optimize.
From-SVN: r68583
2003-06-27 16:37:41 +00:00
Mark Mitchell
3a73bcc687
re PR c++/11332 (Spurious error with casts in ?: expression)
...
PR c++/11332
* typeck.c (build_static_cast): Avoid returning expressions with
reference type.
PR c++/11332
* g++.dg/expr/static_cast2.C: New test.
From-SVN: r68580
2003-06-27 16:24:49 +00:00
Michael Koch
560d4c592f
2003-06-27 Michael Koch <konqueror@gmx.de>
...
* java/security/Certificate.java
(getGuarantor): Removed wrong @deprecated tag.
(getPrincipal): Likewise.
(getPublicKey): Likewise.
(encode): Likewise.
(decode): Likewise.
(getFormat): Likewise.
(toString): Likewise.
* java/security/cert/PolicyQualifierInfo.java
(PolicyQualifierInfo): Made final.
* javax/security/auth/x500/X500Principal.java
(serialVersionUID): New member variable.
From-SVN: r68579
2003-06-27 16:11:27 +00:00
Zack Weinberg
720b7001a6
* config/darwin.h, config/elfos.h, config/i960/i960-coff.h
...
* config/m68k/coff.h: ASM_FILE_START_FILE_DIRECTIVE should
be TARGET_ASM_FILE_START_FILE_DIRECTIVE.
From-SVN: r68578
2003-06-27 16:08:43 +00:00
Michael Koch
24ce2fe6cd
2003-06-27 Michael Koch <konqueror@gmx.de>
...
* java/rmi/server/SkeletonNotFoundException.java
(SkeletonNotFoundException): Removed wrong @deprecated tag.
* java/rmi/server/UnicastRemoteObject.java
(exportObject): Made package-private.
From-SVN: r68577
2003-06-27 15:58:42 +00:00
Michael Koch
7e6ec0d8cc
2003-06-27 Michael Koch <konqueror@gmx.de>
...
* java/text/Format.java
(serialVersionUID): Fixed value.
From-SVN: r68576
2003-06-27 15:49:36 +00:00
Michael Koch
6ced3f39f6
2003-06-27 Michael Koch <konqueror@gmx.de>
...
* java/net/Inet4Address.java
(Inet4Address): Made package-private.
* java/net/Inet6Address.java
(Inet4Address): Made package-private.
From-SVN: r68575
2003-06-27 15:48:15 +00:00
Michael Koch
824d4a1036
2003-06-27 Michael Koch <konqueror@gmx.de>
...
* java/io/RandomAccessFile.java
(readLine): Removed wrong @deprecated tag.
(getChannel): Made final.
From-SVN: r68574
2003-06-27 15:46:59 +00:00
Jan Hubicka
67f2899de2
cgraph.c (cgraph_node, [...]): Avoid re-initializing of known_decls.
...
* cgraph.c (cgraph_node, cgraph_varpool_node): Avoid re-initializing
of known_decls.
From-SVN: r68573
2003-06-27 15:42:48 +00:00
Michael Koch
c938cb682b
2003-06-27 Michael Koch <konqueror@gmx.de>
...
* gnu/java/nio/FileChannelImpl.java
(write): Removed.
From-SVN: r68572
2003-06-27 13:41:25 +00:00
Michael Koch
1226b900dc
2003-06-27 Michael Koch <konqueror@gmx.de>
...
* java/nio/ByteBufferImpl.java
(ByteBufferImpl): Made it a package-private class
* java/nio/CharBufferImpl.java
(CharBufferImpl): Made it a package-private class
* java/nio/DirectByteBufferImpl.java
(DirectByteBufferImpl): Made it a package-private class
* java/nio/DoubleBufferImpl.java
(DoubleBufferImpl): Made it a package-private class
* java/nio/FloatBufferImpl.java
(FloatBufferImpl): Made it a package-private class
* java/nio/IntBufferImpl.java
(IntBufferImpl): Made it a package-private class
* java/nio/LongBufferImpl.java
(LongBufferImpl): Made it a package-private class
* java/nio/ShortBufferImpl.java
(ShortBufferImpl): Made it a package-private class
* java/nio/channels/FileChannel.java
(write): Made final.
* java/nio/channels/ServerSocketChannel.java
(ServerSocketChanne): Made protected.
From-SVN: r68571
2003-06-27 13:34:12 +00:00
Michael Koch
7fc600fc4c
2003-06-27 Michael Koch <konqueror@gmx.de>
...
* javax/naming/CompositeName.java
(serialVersionUID): New member variable.
* javax/naming/CompoundName.java
(serialVersionUID): New member variable.
* javax/naming/InitialContext.java
(InitialContext): Throws NamingException.
(init): Likewise.
* javax/naming/LinkRef.java
(serialVersionUID): New member variable.
(gteLinkName): Throws NamingException.
* javax/naming/NamingException.java
(serialVersionUID): New member variable.
* javax/naming/NamingSecurityException.java
(NamingSecurityException): Made abstract.
(serialVersionUID): New member variable.
* javax/naming/ReferralException.java
(serialVersionUID): New member variable.
* javax/naming/StringRefAddr.java
(serialVersionUID): New member variable.
* javax/naming/directory/BasicAttribute.java:
Reworked imports.
(serialVersionUID): New member variable.
(get): Throws NamingException.
(getAll): Throws NamingException.
* javax/naming/directory/BasicAttributes.java:
Reworked imports.
(serialVersionUID): New member variable.
* javax/naming/ldap/UnsolicitedNotificationEvent.java
(serialVersionUID): New member variable.
From-SVN: r68570
2003-06-27 13:06:50 +00:00
Michael Koch
3556d877f8
2003-06-27 Michael Koch <konqueror@gmx.de>
...
* Makefile.am
(awt_java_source_files): Added new files:
javax/swing/Popup.java,
javax/swing/PopupFactory.java
* Makefile.in: Regenerated.
From-SVN: r68569
2003-06-27 12:48:39 +00:00
Michael Koch
1c9d1c5bb9
JWindow.java, [...]: New versions from classpath.
...
2003-06-27 Michael Koch <konqueror@gmx.de>
* javax/swing/JWindow.java,
javax/swing/event/AncestorEvent.java,
javax/swing/event/HyperlinkEvent.java,
javax/swing/event/InternalFrameEvent.java,
javax/swing/event/ListDataEvent.java,
javax/swing/event/TableModelEvent.java,
javax/swing/plaf/PopupMenuUI.java,
javax/swing/plaf/SplitPaneUI.java,
javax/swing/plaf/TabbedPaneUI.java,
javax/swing/plaf/TextUI.java,
javax/swing/plaf/TreeUI.java,
javax/swing/plaf/basic/BasicTextUI.java,
javax/swing/plaf/basic/BasicTreeUI.java:
New versions from classpath.
* javax/swing/Popup.java,
javax/swing/PopupFactory.jav:
New source files from classpath.
* javax/swing/plaf/doc-files/TreeUI-1.png:
New binary files from classpath.
From-SVN: r68568
2003-06-27 12:41:52 +00:00
Hans-Peter Nilsson
37706dd19d
defaults.h (REGISTER_MOVE_COST): Define default here.
...
* defaults.h (REGISTER_MOVE_COST): Define default here.
* regclass.c: Don't define default REGISTER_MOVE_COST here.
* reload.c, reload1.c: Ditto.
From-SVN: r68567
2003-06-27 12:40:13 +00:00
Paolo Carlini
3461133d72
Nathan C.
...
2003-06-27 Paolo Carlini <pcarlini@unitus.it>
Nathan C. Myers <ncm-nospam@cantrip.org>
PR libstdc++/9178
* include/bits/fstream.tcc (_M_underflow): Properly estimate
the worst-case number of external bytes for a given get area.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New.
2003-06-27 Paolo Carlini <pcarlini@unitus.it>
Petur Runolfsson <peturr02@ru.is>
PR libstdc++/11305
* include/bits/fstream.tcc (overflow): Properly estimate the
worst-case number of external bytes for a given put area
(by using codecvt::max_length()).
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New.
Co-Authored-By: Nathan C. Myers <ncm-nospam@cantrip.org>
Co-Authored-By: Petur Runolfsson <peturr02@ru.is>
From-SVN: r68566
2003-06-27 12:33:49 +00:00
Nathan Sidwell
5648db5461
* config/linker-map.gnu: Remove ; after __numpunct_cache.
...
From-SVN: r68563
2003-06-27 11:01:27 +00:00
Richard Earnshaw
457515250c
* flags.h: Really install previous change.
...
From-SVN: r68562
2003-06-27 09:51:22 +00:00
Nathan Sidwell
2e04021970
rtl.h (emit_note): Remove FILE parameter.
...
* rtl.h (emit_note): Remove FILE parameter.
* emit-rtl.c (emit_line_note): Adjust emit_note call.
(emit_note): Remove FILE parameter. Adjust.
* builtins.c (expand_builtin_expect): Adjust emit_note call.
* c-semantics.c (genrtl_scope_stmt): Likewise.
(expand_stmt): Likewise.
* cfglayout.c (reemit_insn_block_notes): Likewise.
(duplicate_insn_chain): Likewise.
* except.c (expand_eh_region_start, expand_eh_region_end,
sjlj_emit_function_enter): Likewise.
* explow.c (probe_stack_range): Likewise.
* expr.c (emit_block_move_via_loop): Likewise.
* function.c (init_function_start, expand_function_start,
expand_function_end, thread_prologue_and_epilogue_insns): Likewise.
* integrate.c (expand_inline_function, copy_insn_list): Likewise.
* reg-stack.c (compensate_edge): Likewise.
* reload1.c (reload): Likewise.
* rtlanal.c (hoist_insn_to_edge): Likewise.
* stmt.c (expand_fixup, expand_start_loop, expand_start_null_loop,
expand_loop_continue_here, expand_end_loop, expand_continue_loop,
expand_exit_loop_top_cond, expand_value_return,
expand_start_bindings_and_block, expand_end_bindings,
expand_decl_cleanup, expand_start_case): Likewise.
* unroll.c (copy_loop_body
* config/alpha/alpha.c (alpha_output_mi_thunk_osf): Likewise.
* config/ia64/ia64.c (ia64_output_mi_thunk): Likewise.
* config/rs6000/rs6000.c (rs6000_emit_eh_toc_restore,
rs6000_emit_allocate_stack, rs6000_output_function_prologue,
rs6000_output_function_epilogue, rs6000_output_mi_thunk): Likewise.
* config/sh/sh.c (sh_output_mi_thunk): Likewise.
* config/sparc/sparc.c (sparc_output_mi_thunk): Likewise.
* ada/misc.c (record_code_position): Likewise.
From-SVN: r68561
2003-06-27 09:49:44 +00:00
Nathan Sidwell
bc4721b87e
c-tree.h (grokfield): Remove unused filename and line parameters.
...
* c-tree.h (grokfield): Remove unused filename and line parameters.
* c-decl.c (grokfield): Remove unused filename and line parameters.
* c-parse.in (component_decl): Adjust field grokking rules, adjust
grokfield calls.
(component_declarator): Likewise.
(component_notype_declarator): Likewise.
* objc/objc-act.c (build_module_descriptor): Adjust grokfield
calls.
(build_protocol_template, build_method_prototype_list_template,
build_method_prototype_template, build_category_template,
build_selector_template, build_class_template,
build_super_template, build_ivar_template,
build_ivar_list_template, build_method_list_template,
build_method_template, add_instance_variable): Likewise.
From-SVN: r68560
2003-06-27 09:05:45 +00:00
Benjamin Kosnik
215f9e283a
ios_base.h (ios_base::_M_getloc): Return reference to the imbued locale.
...
2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/ios_base.h (ios_base::_M_getloc): Return reference
to the imbued locale.
* include/bits/locale_facets.tcc (num_put::_M_convert_int): Use
_M_getloc.
(num_put::_M_convert_float): Use.
2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
Jerry Quinn <jlquinn@optonline.net>
* config/linker-map.gnu: Add __numpunct_cache.
* config/locale/gnu/numeric_members.cc
(numpunct::_M_initialize_numpunct): Account for _M_data, fill in
all elements for "C" locale.
(numpunct::~numpunct): Delete _M_data.
* config/locale/generic/numeric_members.cc: Same.
* include/bits/basic_ios.tcc
(basic_ios::init): Remove __locale_cache bits.
(basic_ios::_M_cache_locale): Same.
* include/bits/ios_base.h: Same. Tweaks.
* include/bits/locale_classes.h: Tweaks. Reorder classes.
(__use_cache): Make friends with _Impl, locale.
(_Impl::_M_caches): Add.
(_Impl::_M_install_cache): Add.
* include/bits/locale_facets.h (__numpunct_cache): New.
(numpunct): Encapsulate data members in __numpunct_cache member,
_M_data. Adjust virtuals.
(numpunct::numpunct): New ctor for the same.
(__locale_cache_base): Remove.
(__locale_cache): Remove.
* include/bits/locale_facets.tcc (__use_cache): New function,
specializations.
(num_put::_M_convert_int, _M_convert_float, do_put): Use it.
* src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w.
* src/ios.cc (ios_base::ios_base): Remove __locale_cache.
* src/locale-inst.cc: Same. Add __numpunct_cache.
* src/locale.cc: Tweak inlines.
(__use_cache): Define specializations.
* src/localename.cc: Use global bits.
(_Impl::~Impl): Deal with __numpunct_cache destruction.
(_Impl::_Impl): Same. Pre-cache standard numpunct facets.
(_Impl::_M_init_facet): Take into account __numpunct_cache.
* testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers.
* testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
Co-Authored-By: Jerry Quinn <jlquinn@optonline.net>
From-SVN: r68558
2003-06-27 07:25:38 +00:00