- 27 Jun, 2003 28 commits
-
-
* configure.in: Clean up config-lang.in handling. Delete useless assignment to "subdirs". * configure: Regenerate. From-SVN: r68588
Nathanael Nerode committed -
I am sorry for the way I handled this -gused commit. From-SVN: r68587
Devang Patel committed -
* 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
Krister Walfridsson committed -
* toplev.c (rest_of_decl_compilation): Only varpoolize argument when called before cgraph_optimize. From-SVN: r68583
Jan Hubicka committed -
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
Mark Mitchell committed -
* 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
Michael Koch committed -
* config/m68k/coff.h: ASM_FILE_START_FILE_DIRECTIVE should be TARGET_ASM_FILE_START_FILE_DIRECTIVE. From-SVN: r68578
Zack Weinberg committed -
* java/rmi/server/SkeletonNotFoundException.java (SkeletonNotFoundException): Removed wrong @deprecated tag. * java/rmi/server/UnicastRemoteObject.java (exportObject): Made package-private. From-SVN: r68577
Michael Koch committed -
* java/text/Format.java (serialVersionUID): Fixed value. From-SVN: r68576
Michael Koch committed -
* java/net/Inet4Address.java (Inet4Address): Made package-private. * java/net/Inet6Address.java (Inet4Address): Made package-private. From-SVN: r68575
Michael Koch committed -
* java/io/RandomAccessFile.java (readLine): Removed wrong @deprecated tag. (getChannel): Made final. From-SVN: r68574
Michael Koch committed -
* cgraph.c (cgraph_node, cgraph_varpool_node): Avoid re-initializing of known_decls. From-SVN: r68573
Jan Hubicka committed -
* gnu/java/nio/FileChannelImpl.java (write): Removed. From-SVN: r68572
Michael Koch committed -
* 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
Michael Koch committed -
* 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
Michael Koch committed -
* Makefile.am (awt_java_source_files): Added new files: javax/swing/Popup.java, javax/swing/PopupFactory.java * Makefile.in: Regenerated. From-SVN: r68569
Michael Koch committed -
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
Michael Koch committed -
* 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
Hans-Peter Nilsson committed -
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
Paolo Carlini committed -
From-SVN: r68563
Nathan Sidwell committed -
From-SVN: r68562
Richard Earnshaw committed -
* 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
Nathan Sidwell committed -
* 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
Nathan Sidwell committed -
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
Benjamin Kosnik committed -
* stmt.c (do_jump_if_equal): Return 0 earlier if OP1 and OP2 are known to be not equivalent. From-SVN: r68557
Kazu Hirata committed -
* final.c (debug_flush_symbol_queue): New function. (debug_queue_symbol): New function. (debug_free_queue): New function. (debug_nesting): New variable. (symbol_queue): New variable. (symbol_queue_index): Same. (symbol_queue_size): Same. * debug.h (debug_flush_symbol_queue): New. (debug_queue_symbol): New. (debug_free_queue): New. (debug_nesting): New. (symbol_queue_index): New. * dbxout.c (DBXOUT_DECR_NESTING): New macro. (DBXOUT_DECR_NESTING_AND_RETURN): New macro. (dbxout_init): Delay symbol output. (dbxout_global_decl): Save, set and reset TREE_USED bit around dbxout_symbol() call. (dbxout_begin_function): Same. (dbxout_finish): Free symbol queue. (dbxout_type): Put appropriate symbols in queue. (dbxout_symbol): Put info for symbol's type in queue. Decrement/Increment nesting counts flush symbol queue appropriately. (dbxout_parms): Increment dbxout nesting. (dbxout_reg_parms): Same. * flags.h (flag_debug_only_used_symbols): New. * toplev.c (flag_debug_only_used_symbols): New variable. (lang_independent_options): Add entries for new option -feliminate-unused-debug-symbols. * common.opt: Add entry for -feliminate-unused-debug-symbols. * opts.c (common_handle_options): Same. * config/rs6000/darwin.h (CC1_SPEC): Interpret -gused as -feliminate-unused-debug-symbols. * doc/invoke.texi (Debugging Options): Document -feliminate-unused-debug-symbols. From-SVN: r68556
Devang Patel committed -
builtins.c (expand_builtin_sprintf): Use c_getstr and strlen to obtain the format string instead of using... * builtins.c (expand_builtin_sprintf): Use c_getstr and strlen to obtain the format string instead of using TREE_STRING_POINTER and TREE_STRING_LENGTH. Only optimize sprintf(dst,"%s",src) when the return value is unused or the length of src is a known constant. * gcc.c-torture/execute/string-opt-16.c: Remove test for disabled sprintf(dst,"%s",src) optimization. * gcc.c-torture/execute/20030626-1.c: New test case. * gcc.c-torture/execute/20030626-2.c: New test case. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r68555
Roger Sayle committed -
From-SVN: r68552
GCC Administrator committed
-
- 26 Jun, 2003 12 commits
-
-
* config/ia64/ia64.c (ia64_expand_call): Don't add ar.pfs for sibcalls. (ia64_split_call): Only load descriptor for GP register inputs. (ia64_expand_epilogue): Check current_frame_info.mask not current_function_is_leaf to restore ar.pfs. From-SVN: r68549
Richard Henderson committed -
From-SVN: r68548
Richard Henderson committed -
* emit-rtl.c (try_split): Append to new CALL_INSN_FUNCTION_USAGE instead of replacing it. From-SVN: r68547
Richard Henderson committed -
* flow.c (propagate_one_insn): Kill function return value registers across tail calls. From-SVN: r68546
Richard Henderson committed -
* flow.c (propagate_one_insn): Preserve live-at-end registers across tail calls. From-SVN: r68544
Richard Henderson committed -
* configure.in: Rename 'target_libs' to 'target_libraries'. Remove useless reference to 'target_libs'. * configure: Regenerate. From-SVN: r68543
Nathanael Nerode committed -
* reload.c (can_reload_into): New function. (push_reload): Use it. From-SVN: r68542
J"orn Rennecke committed -
2003-06-26 H.J. Lu <hongjiu.lu@intel.com> * testsuite/demangle-expected: Add more GNU V3 testcases. From-SVN: r68540
H.J. Lu committed -
* config/h8300/h8300.c (compute_a_rotate_length): Fix the references to the amount of a rotation. From-SVN: r68539
Kazu Hirata committed -
2003-06-26 Nathan C. Myers <ncm-nospam@cantrip.org> Paolo Carlini <pcarlini@unitus.it> * testsuite/performance/filebuf_copy.cc: New, testing char by char file copy. Co-Authored-By: Paolo Carlini <pcarlini@unitus.it> From-SVN: r68538
Nathan C. Myers committed -
* config/sh/coff.h: Don't include dbxcoff.h. * config.gcc: List it here. From-SVN: r68537
Nathanael Nerode committed -
* call.c (build_op_delete_call): Use strip_array_call. Correct error message to say 'delete' or 'delete[]'. From-SVN: r68536
Nathan Sidwell committed
-