1. 29 Apr, 2003 16 commits
    • c-pragma.c (maybe_apply_renaming_pragma): Fix typo. · 8e854b76
      	* c-pragma.c (maybe_apply_renaming_pragma): Fix typo.
      	* gcc.c (display_help): Likewise.
      	* toplev.c (f_options): Likewise.
      	* params.def (PARAM_MAX_INLINE_SCOPE): Likewise.
      	* config/c4x/c4x.h (TARGET_SWITCHES): Likewise.
      	* config/mcore/mcore.h (TARGET_SWITCHES): Likewise.
      	* config/s390/s390.h (TARGET_SWITCHES): Likewise.
      	* config/v850/v850.h (TARGET_SWITCHES): Likewise.
      
      	* call.c (build_operator_new_call): Fix typo.
      	* lang-options.h: Likewise.
      
      From-SVN: r66228
      Kriang Lerdsuwanakij committed
    • freebsd-aout.h (NO_PROFILE_COUNTERS): New macro. · fbf17dab
      	* config/i386/freebsd-aout.h (NO_PROFILE_COUNTERS): New macro.
      	(SET_ASM_OP): New macro.
      	(HANDLE_SYSV_PRAGMA): New macro.
      	(ASM_WEAKEN_LABEL): New macro.
      
      From-SVN: r66223
      David O'Brien committed
    • 2003-04-29 Michael Koch <konqueror@gmx.de> · ca55ba49
      	* javax/swing/JTable.java
      	(AUTO_RESIZE_ALL_COLUMNS): New constant.
      	(AUTO_RESIZE_LAST_COLUMN): New constant.
      	(AUTO_RESIZE_NEXT_COLUMN): New constant.
      	(AUTO_RESIZE_OFF): New constant.
      	(AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
      	(JTable): New method.
      	(columnAdded): New method.
      	(columnMarginChanged): New method.
      	(columnMoved): New method.
      	(columnRemoved): New method.
      	(columnSelectionChanged): New method.
      	(editingCanceled): New method.
      	(editingStopped): New method.
      	(getColumnModel): New method.
      	(getPreferredScrollableViewportSize): New method.
      	(getScrollableBlockIncrement): New method.
      	(getScrollableTracksViewportHeight): New method.
      	(getScrollableTracksViewportWidth): New method.
      	(getScrollableUnitIncrement): New method.
      	(getSelectedRow): New method.
      	(getSelectionModel): New method.
      	(tableChanged): New method.
      	(setModel): New method.
      	(setSelectionMode): New method.
      	(setSelectionModel): New method.
      	(setShowGrid): New method.
      	(valueChanged): New method.
      	* javax/swing/text/DefaultEditorKit.java
      	(backwardAction): New constant.
      	(beepAction): New constant.
      	(beginAction): New constant.
      	(beginLineAction): New constant.
      	(beginParagraphAction): New constant.
      	(beginWordAction): New constant.
      	(copyAction): New constant.
      	(cutAction): New constant.
      	(defaultKeyTypedAction): New constant.
      	(deleteNextCharAction): New constant.
      	(deletePrevCharAction): New constant.
      	(downAction): New constant.
      	(endAction): New constant.
      	(endLineAction): New constant.
      	(endOfLineStringProperty): New constant.
      	(endParagraphAction): New constant.
      	(endWordAction): New constant.
      	(forwardAction): New constant.
      	(insertBreakAction): New constant.
      	(insertContentAction): New constant.
      	(insertTabAction): New constant.
      	(nextWordAction): New constant.
      	(pageDownAction): New constant.
      	(pageUpAction): New constant.
      	(pasteAction): New constant.
      	(previousWordAction): New constant.
      	(readOnlyAction): New constant.
      	(selectAllAction): New constant.
      	(selectionBackwardAction): New constant.
      	(selectionBeginAction): New constant.
      	(selectionBeginLineAction): New constant.
      	(selectionBeginParagraphAction): New constant.
      	(selectionBeginWordAction): New constant.
      	(selectionDownAction): New constant.
      	(selectionEndAction): New constant.
      	(selectionEndLineAction): New constant.
      	(selectionEndParagraphAction): New constant.
      	(selectionEndWordAction): New constant.
      	(selectionForwardAction): New constant.
      	(selectionNextWordAction): New constant.
      	(selectionPreviousWordAction): New constant.
      	(selectionUpAction): New constant.
      	(selectLineAction): New constant.
      	(selectParagraphAction): New constant.
      	(selectWordAction): New constant.
      	(upAction): New constant.
      	(writableAction): New constant.
      
      From-SVN: r66221
      Michael Koch committed
    • freebsd.h (LINK_SHLIB_SPEC): New macro. · 5b51b1f5
      	* config/rs6000/freebsd.h (LINK_SHLIB_SPEC): New macro.
      	(SIZE_TYPE): New macro.
      
      From-SVN: r66217
      David O'Brien committed
    • PropertyPermission.java: New version from classpath · fbba7d68
      2003-04-29  Michael Koch  <konqueror@gmx.de>
      
      	* java/util/PropertyPermission.java:
      	New version from classpath
      	* java/util/ResourceBundle.java:
      	Partly merged from classpath
      	(getObject): Reformated.
      	(tryBundle): Set foundBundle = null if no bundle found.
      
      From-SVN: r66214
      Michael Koch committed
    • AbstractListModel.java, [...]: New Versions from classpath. · cac9b0bc
      2003-04-29  Michael Koch  <konqueror@gmx.de>
      
      	* javax/swing/AbstractListModel.java,
      	javax/swing/DefaultBoundedRangeModel.java,
      	javax/swing/DefaultSingleSelectionModel.java:
      	New Versions from classpath.
      
      From-SVN: r66212
      Michael Koch committed
    • 2003-04-29 Michael Koch <konqueror@gmx.de> · 7e89296c
      	* java/awt/Window.java
      	(show): Call super.show() instead of setVisible() to avoid endless
      	loop.
      	(hide): Call super.hide() instead of setVisible() to avoid endless
      	loop.
      
      From-SVN: r66208
      Michael Koch committed
    • Deflater.java, [...]: Partly merged with classpath. · 8efaad21
      2003-04-29  Michael Koch  <konqueror@gmx.de>
      
      	* java/util/zip/Deflater.java,
      	java/util/zip/DeflaterOutputStream.java:
      	Partly merged with classpath.
      
      From-SVN: r66207
      Michael Koch committed
    • Remove accidental commit · 29f4fece
      From-SVN: r66206
      Mark Mitchell committed
    • decl.c (maybe_commonize_var): Further tweak support for systems without weak symbols. · 0dbc5cd3
      	* decl.c (maybe_commonize_var): Further tweak support for systems
      	without weak symbols.
      
      	* g++.old-deja/g++.pt/deduct5.C: Remove unnecessary initializer.
      
      From-SVN: r66205
      Mark Mitchell committed
    • Fix date typo. · 48f2318c
      From-SVN: r66203
      Loren J. Rittle committed
    • re PR c++/10180 (gcc fails to warn about non-inlined function) · a833faa5
      	PR c++/10180
      	* tree-inline.c (expand_call_inline): Call push_srcloc when
      	encountering EXPR_WITH_FILE_LOCATION.  Honor warn_inline.
      
      	PR c++/10180
      	* g++.dg/warn/Winline-1.C: New test.
      
      From-SVN: r66202
      Mark Mitchell committed
    • Daily bump. · 3e1be8c1
      From-SVN: r66200
      GCC Administrator committed
  2. 28 Apr, 2003 24 commits
    • std_streambuf.h (_M_buf): is currently used only for basic_filebuf, therefore move it there. · 479a1811
      2003-04-28  Paolo Carlini  <pcarlini@unitus.it>
      
      	* include/std/std_streambuf.h (_M_buf): is currently
      	used only for basic_filebuf, therefore move it there.
      	(basic_streambuf(), ~basic_streambuf()): Adjust.
      	* include/std/std_fstream.h (_M_buf): Moved here.
      	* include/std/std_sstream.h (setbuf): Don't set _M_buf,
      	is actually redundant for basic_stringbuf.
      	(_M_really_sync): Likewise.
      	* include/bits/fstream.tcc (basic_filebuf()): Adjust.
      	* include/bits/sstream.tcc (seekoff): Adjust.
      
      From-SVN: r66193
      Paolo Carlini committed
    • localename.cc: Standardize exception strings. · 988ad90d
      2003-04-28  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* src/localename.cc: Standardize exception strings.
      	* src/locale.cc: Same.
      	* src/ios.cc: Same.
      	* include/bits/basic_string.tcc: Same.
      	* include/bits/basic_ios.tcc: Same.
      	* include/std/std_bitset.h: Same.
      	* include/ext/ropeimpl.h: Same.
      	* include/bits/stl_vector.h: Same.
      	* include/bits/stl_deque.h: Same.
      	* include/bits/stl_bvector.h: Same.
      	* config/locale/generic/c_locale.cc: Same.
      	* config/locale/gnu/c_locale.cc: Same.
      	* config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
      
      	* testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.
      
      From-SVN: r66192
      Benjamin Kosnik committed
    • std_streambuf.h (_M_buf_size): is currently used only for basic_filebuf, therefore move it there. · 6ef4b79c
      2003-04-28  Paolo Carlini  <pcarlini@unitus.it>
      
      	* include/std/std_streambuf.h (_M_buf_size): is currently
      	used only for basic_filebuf, therefore move it there.
      	(basic_streambuf(), ~basic_streambuf()): Adjust.
      	* include/std/std_fstream.h (_M_buf_size): Moved here.
      	* include/bits/fstream.tcc (basic_filebuf()): Adjust.
      
      From-SVN: r66191
      Paolo Carlini committed
    • streambuf.tcc (__copy_streambufs): Don't use _M_buf_size (synced input is now… · 44b84cc9
      streambuf.tcc (__copy_streambufs): Don't use _M_buf_size (synced input is now correctly dealt with elsewhere)...
      
      2003-04-28  Paolo Carlini  <pcarlini@unitus.it>
      
      	* include/bits/streambuf.tcc (__copy_streambufs): Don't use
      	_M_buf_size (synced input is now correctly dealt with
      	elsewhere); when the output buffer is full don't fall back
      	to a snextc-sputc loop, call overflow instead.
      
      From-SVN: r66190
      Paolo Carlini committed
    • sstream.tcc (pbackfail): Shorten a bit (6 lines) the innermost 'if' by factoring out some code. · ca78f36a
      2003-04-28  Paolo Carlini  <pcarlini@unitus.it>
      
      	* include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
      	the innermost 'if' by factoring out some code.
      
      From-SVN: r66187
      Paolo Carlini committed
    • * gdbinit.in: Update to reflect new identifier structure. · a72bf3e9
      From-SVN: r66186
      Mike Stump committed
    • configure.in: Test for libintl.h. · ad414290
      2003-04-28  Phil Edwards  <pme@gcc.gnu.org>
      
      	* configure.in:  Test for libintl.h.
      	* include/bits/c++config:  Define __N for everybody.
      	* include/bits/basic_string.h, include/bits/stl_bvector.h,
      	include/bits/stl_deque.h, include/bits/stl_vector.h,
      	include/std/std_bitset.h:  Wrap all __throw* text with __N.
      	* po/Makefile.am (pot):  New rule, mostly working.
      	* src/functexcept.cc:  Call gettext on all __throw* arguments when
      	-fexceptions is in effect.
      	* po/Makefile.in, config.h.in, configure:  Regenerate.
      
      From-SVN: r66185
      Phil Edwards committed
    • configure.in: define GC_DLL under mingw if --enable-shared · e83a44d2
      2003-04-28  Mohan Embar  <gnustuff@thisiscool.com>
      
      	* configure.in: define GC_DLL under mingw if --enable-shared
      	* configure: rebuilt
      	* win32_threads.c: add #ifdef GC_DLL around DllMain
      
      From-SVN: r66183
      Mohan Embar committed
    • tree.h (TREE_CST_RTL, [...]): Delete. · 0864034e
      	* tree.h (TREE_CST_RTL, CST_OR_CONSTRUCTOR_CHECK): Delete.
      	(struct tree_int_cst, struct tree_real_cst, struct tree_string,
      	struct tree_complex, struct tree_vector): Remove RTL field.
      	(CONSTRUCTOR_ELTS): Use elt 0.
      	* tree.def (CONSTRUCTOR): Delete first of its two operands.
      	* varasm.c (output_constant_def): Remove early exit if
      	TREE_CST_RTL is set.  Don't set TREE_CST_RTL.
      	(decode_addr_const): Don't mention TREE_CST_RTL in comment.
      	* target.h (select_section): Don't mention TREE_CST_RTL in comment.
      	* doc/tm.texi (encode_section_info): Don't talk about TREE_CST_RTL.
      
      ada:
      	* utils.c (convert): No need to clear TREE_CST_RTL.
      
      From-SVN: r66182
      Zack Weinberg committed
    • c-decl.c (finish_decl): When prototype with asmspec is found for built-in... · 9661b15f
      	* c-decl.c (finish_decl): When prototype with asmspec is found
      	for built-in, adjust built_in_decls as well as expr.c decls.
      	* expr.c (init_block_move_fn, init_block_clear_fn): New functions.
      	(emit_block_move_libcall_fn, clear_storage_libcall_fn): Use it.
      	* expr.c (init_block_move_fn, init_block_clear_fn): New prototypes.
      
      	* gcc.c-torture/execute/string-opt-asm-1.c: New test.
      	* gcc.c-torture/execute/string-opt-asm-2.c: New test.
      
      From-SVN: r66181
      Jakub Jelinek committed
    • natString.cc (_Jv_AllocString): Initialize cachedHashCode. · 62a3446b
      	* java/lang/natString.cc (_Jv_AllocString): Initialize
      	cachedHashCode.
      	(init): Likewise.
      	(_Jv_NewStringUtf8Const): Likewise.
      
      From-SVN: r66180
      Tom Tromey committed
    • sparc.c (print_operand): Add 's' to sign-extend. · 8707fe93
              * config/sparc/sparc.c (print_operand): Add 's' to sign-extend.
              * config/sparc/sparc.md (const_mulsidi3_v8plus): Fix mode of
              integral constant mult operand.
              (const_mulsidi3_sp32, const_mulsidi3_sp64): Likewise.
              (const_smulsi3_highpart_v8plus): Likewise.
              (const_smulsi3_highpart): Likewise.
              (const_umulsidi3_sp32): Likewise; sign-extend it in the output.
              (const_umulsidi3_sp64, const_umulsidi3_v8plus): Likewise.
              (const_umulsi3_highpart_v8plus): Likewise.
              (const_umulsi3_highpart): Likewise.
      
      From-SVN: r66179
      Richard Henderson committed
    • [multiple changes] · 2aacd735
      2003-04-28  Petur Runolfsson  <peturr02@ru.is>
      
              PR libstdc++/9523
              * include/bits/ios_base.h (Init::_S_ios_create,
              Init::_S_ios_destroy):  Remove declarations.
              (Init::_S_create_buffers,
              Init::_S_destroy_buffers):  Declare
              * src/ios.cc (Init::_S_ios_create):  Remove
              (Init::_S_create_buffers):  Create buffers and add to streams.
              (Init::_S_ios_destroy):  Rename to...
              (Init::_S_destroy_buffers):  this.
              (Init::Init):  Only construct streams once.
              (Init::~Init):  Flush streams, don't destroy them.
              (ios_base::sync_with_stdio):  Don't destroy streams, only buffers.
              * testsuite/27_io/ios_base/sync_with_stdio/9523.cc:  New test.
              * testsuite/27_io/objects/char/5.cc:  New test.
              * testsuite/27_io/objects/char/5268.cc:  Avoid undefined behavior.
              * testsuite/27_io/objects/char/6.cc:  New test.
              * testsuite/27_io/objects/char/7.cc:  New test.
      
      2003-04-28  Benjamin Kosnik  <bkoz@redhat.com>
      
              * testsuite/27_io/objects/char/8.cc:  New test.
      
      From-SVN: r66177
      Benjamin Kosnik committed
    • x86-64.h (NO_PROFILE_COUNTERS, [...]): Define as 1. · ff4cb2e7
      2003-04-28  David O'Brien  <obrien@FreeBSD.org>
      	* config/i386/x86-64.h (NO_PROFILE_COUNTERS, HAVE_AS_DWARF2_DEBUG_LINE):
      	Define as 1.
      
      From-SVN: r66174
      David O'Brien committed
    • i386.h (builtin_define): Add __amd64 and __amd64__. · 495d8dd6
      2003-04-28  David O'Brien  <obrien@FreeBSD.org>
      	* config/i386/i386.h (builtin_define): Add __amd64 and __amd64__.
      
      From-SVN: r66171
      David O'Brien committed
    • char.cc: Remove bom usage. · af779169
      2003-04-28  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
      	* testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.
      
      From-SVN: r66170
      Benjamin Kosnik committed
    • builtins.def (BUILT_IN_BCOPY, [...]): New. · e31603c4
      	* builtins.def (BUILT_IN_BCOPY, BUILT_IN_MEMMOVE): New.
      	* builtin-types.def (BT_FN_VOID_CONST_PTR_PTR_SIZE): New.
      	* builtins.c (expand_builtin_memmove, expand_builtin_bcopy): New
      	functions.
      	(expand_builtin): Handle BUILT_IN_BCOPY and BUILT_IN_MEMMOVE.
      
      	* gcc.c-torture/execute/string-opt-19.c: New test.
      
      From-SVN: r66169
      Jakub Jelinek committed
    • * decl.c (maybe_commonize_var): Fix thinko in last patch. · 9e6aaf5e
      From-SVN: r66154
      Mark Mitchell committed
    • re PR c++/10506 (ICE in build_new at cp/init.c with -fkeep-inline-functions and… · 772f8889
      re PR c++/10506 (ICE in build_new at cp/init.c with -fkeep-inline-functions and multiple inheritance)
      
      	PR c++/10506
      	* method.c (use_thunk): Decrement immediate_size_expand.
      
      	PR c++/10503
      	* cp-tree.h (DECL_VAR_MARKED_P): New macro.
      	(DECL_MAYBE_TEMPLATE): Remove.
      	* class.c (fixed_type_or_null): Avoid infinite recursion.
      
      	PR c++/10506
      	* g++.dg/init/new6.C: New test.
      
      	PR c++/10503
      	* g++.dg/init/ref6.C: New test.
      
      From-SVN: r66150
      Mark Mitchell committed
    • std_fstream.h (basic_filebuf): _M_pback_destroy to _M_destroy_pback. · aa438e8f
      2003-04-27  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
      	_M_destroy_pback. _M_pback_create to
      	_M_create_pback. _M_underflow_common to
      	_M_underflow. _M_really_overflow to _M_overflow.
      	* include/bits/fstream.tcc: Same.
      	* src/fstream.cc: Same.
      	* include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
      	_M_move_in_cur.  _M_out_cur_move to _M_move_out_cur.
      	* include/bits/streambuf.tcc: Same.
      	* include/bits/fstream.tcc: Same.
      	* include/bits/sstream.tcc: Same.
      
      From-SVN: r66149
      Benjamin Kosnik committed
    • expr.c (expand_expr <COMPLEX_CST, [...]): Always call output_constant_def, use… · afc6aaab
      expr.c (expand_expr <COMPLEX_CST, [...]): Always call output_constant_def, use its result instead of TREE_CST_RTL (exp).
      
              * expr.c (expand_expr <COMPLEX_CST, STRING_CST>): Always call
              output_constant_def, use its result instead of TREE_CST_RTL (exp).
              Can assume it has the form (mem (symbol_ref ".LCxxx")).
              (expand_expr <COMPONENT_REF>): Can always just extract the
              relevant field of a CONSTRUCTOR.
              (expand_expr <ARRAY_REF, COMPONENT_REF, BIT_FIELD_REF,
              ARRAY_RANGE_REF>): Make control flow explicit.
              * varasm.c (output_constant_def): Can look at TREE_CST_RTL of
              an INTEGER_CST.
      
      From-SVN: r66148
      Zack Weinberg committed
    • locale_classes.h (locale::_Impl): Change _M_names from fixed size array. · 73c4dcc6
      2003-04-27  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/bits/locale_classes.h (locale::_Impl): Change _M_names
      	from fixed size array.
      	(locale): Change _S_categories as well.
      	Formatting tweaks.
      	* include/bits/locale_facets.tcc: Tweak.
      	* config/locale/gnu/c_locale.cc: Assign _S_categories.
      	* config/locale/generic/c_locale.cc: Same.
      	* src/locale.cc: Tweak.
      	* src/globals.cc: Change facet_name to name_vec, add names_c.
      	* src/localename.cc: Use them.
      	(locale::_Impl::~_Impl): Destroy _M_names.
      	(locale::_Impl::_Impl): Create _M_names.
      
      From-SVN: r66147
      Benjamin Kosnik committed
    • Makefile.tpl: Clean $(BUILD_SUBDIR). · 0c227849
      	* Makefile.tpl: Clean $(BUILD_SUBDIR).
      	* Makefile.in: Regenerated.
      
      From-SVN: r66145
      Daniel Jacobowitz committed