Skip to content
Snippets Groups Projects
  1. Jan 28, 2004
    • Ian Lance Taylor's avatar
      Make-lang.in (f/str-*.h, f/str-*.j): Use stamp files and move-if-change to... · 42e5a9b9
      Ian Lance Taylor authored
      Make-lang.in (f/str-*.h, f/str-*.j): Use stamp files and move-if-change to avoid changing these files unnecessarily.
      
      	* Make-lang.in (f/str-*.h, f/str-*.j): Use stamp files and
      	move-if-change to avoid changing these files unnecessarily.
      
      From-SVN: r76800
      42e5a9b9
    • Zack Weinberg's avatar
      ia64.c (ia64_split_tmode, [...]): Rewrite to use POST_INC/POST_DEC/POST_MODIFY... · 2ffe0e02
      Zack Weinberg authored
      ia64.c (ia64_split_tmode, [...]): Rewrite to use POST_INC/POST_DEC/POST_MODIFY instead of a scratch pointer.
      
      2004-01-28  Zack Weinberg  <zack@codesourcery.com>
      	    Jim Wilson  <wilson@specifixinc.com>
      
      	* config/ia64/ia64.c (ia64_split_tmode, ia64_split_tmode_move):
      	Rewrite to use POST_INC/POST_DEC/POST_MODIFY instead of a
      	scratch pointer.
      	(ia64_secondary_reload_class): Delete case GR_REGS.
      	* config/ia64/ia64.md (movti, *movti_internal, movtf, *movtf_internal):
      	Do not allocate a scratch register.
      	(reload_inti, reload_outti, reload_intf, reload_outtf): Delete.
      
      From-SVN: r76798
      2ffe0e02
    • Stefan Olsson's avatar
      mt_allocator.h: Replaced all malloc() calls with operator new(). · f15f99a1
      Stefan Olsson authored
      2004-01-28  Stefan Olsson  <stefan@snon.net>
      
       	* include/ext/mt_allocator.h: Replaced all malloc() calls with
      	operator new(). Added support for the env variable
      	GLIBCXX_FORCE_NEW (this required the _S_init call to be the first
      	one in allocate() as well). Fix typos.
      
      From-SVN: r76795
      f15f99a1
    • David Jee's avatar
      2004-01-28 David Jee <djee@redhat.com> · 796e87a2
      David Jee authored
      	* gnu/java/awt/peer/gtk/GtkFramePeer.java
      	(create): Set the default foreground color to
      	java.awt.SystemColor.windowText.
      
      From-SVN: r76792
      796e87a2
    • Jan Hubicka's avatar
      gcse.c (bypass_block): Prevent edges to be unified when we are about to emit compenstation code. · a544524a
      Jan Hubicka authored
      	* gcse.c (bypass_block): Prevent edges to be unified when we are
      	about to emit compenstation code.
      
      From-SVN: r76791
      a544524a
    • Nick Clifton's avatar
      1b8f8174
    • Paolo Carlini's avatar
      basic_string.h (_S_create(size_t, const _Alloc&): Change signature to take two size_type arguments. · 234e0d31
      Paolo Carlini authored
      2004-01-28  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/basic_string.h (_S_create(size_t,
      	const _Alloc&): Change signature to take two size_type
      	arguments.
      	* include/bits/basic_string.tcc (_S_construct(_InIterator,
      	_InIterator, const _Alloc&, input_iterator_tag)): Update
      	call, tweak a bit.
      	(_S_construct(_InIterator, _InIterator, const _Alloc&,
      	forward_iterator_tag)): Likewise.
      	(_S_construct(size_type, _CharT, const _Alloc&)): Likewise.
      	(_M_mutate(size_type, size_type, size_type)): Don't
      	implement the exponential growth policy, demand it to
      	_S_create, update call and simplify.
      	(_M_clone(const _Alloc&, size_type)): Likewise.
      	(_S_create(size_type, size_type, const _Alloc&)): Implement
      	the growth policy, simplify otherwise.
      
      	* include/bits/basic_string.h (_Rep::operator[]): Tweak
      	signature to take a size_type, consistently with the other
      	members.
      
      From-SVN: r76786
      234e0d31
    • James E Wilson's avatar
      encode-2.m (main): New local string. · 220a38ab
      James E Wilson authored
      	* objc.dg/encode-2.m (main): New local string.  Set depending on
      	sizeof long.  Use in sscanf call.
      	* objc.dg/encode-3.m (main): New local string.  Set depending on
      	sizeof long.  Use in scan_initial call.
      
      From-SVN: r76783
      220a38ab
    • Richard Sandiford's avatar
      fp-bit.c (pack_d): When using paired doubles to implement a long double... · faceece3
      Richard Sandiford authored
      	* config/fp-bit.c (pack_d): When using paired doubles to implement
      	a long double, round the high part separately.
      	(unpack_d): Fix the case in which the high part is a power of two
      	and the low part is a nonzero value of the opposite sign.
      
      From-SVN: r76780
      faceece3
    • Kazu Hirata's avatar
      c4x.c (TARGET_ASM_EXTERNAL_LIBCALL): New. · 28b24176
      Kazu Hirata authored
      	* config/c4x/c4x.c (TARGET_ASM_EXTERNAL_LIBCALL): New.
      	(TARGET_STRUCT_VALUE_RTX): Likewise.
      	(c4x_external_libcall): Likewise.
      	(c4x_struct_value_rtx): Likewise.
      	* config/c4x/c4x.h: Remove.
      	(STRUCT_VALUE_REGNUM): Likewise.
      	(ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
      
      From-SVN: r76779
      28b24176
    • Kazu Hirata's avatar
      i386.c (TARGET_PROMOTE_PROTOTYPES): New. · 9184f892
      Kazu Hirata authored
      	* config/i386/i386.c (TARGET_PROMOTE_PROTOTYPES): New.
      	(TARGET_STRUCT_VALUE_RTX): Likewise.
      	* config/i386/i386.h (STRUCT_VALUE_INCOMING): Remove.
      	(STRUCT_VALUE): Likewise.
      	(PROMOTE_PROTOTYPES): Likewise.
      
      From-SVN: r76778
      9184f892
    • Roger Sayle's avatar
      pa.c (emit_move_sequence): Check that operand1 is a CONST_INT before using INTVAL. · 4cce9dd8
      Roger Sayle authored
      	* config/pa/pa.c (emit_move_sequence): Check that operand1 is a
      	CONST_INT before using INTVAL.
      
      From-SVN: r76776
      4cce9dd8
    • GCC Administrator's avatar
      Daily bump. · c4ef6525
      GCC Administrator authored
      From-SVN: r76771
      c4ef6525
    • Ulrich Weigand's avatar
      s390.h (TARGET_DEFAULT): Default to !TARGET_BACKCHAIN. · 590fcf48
      Ulrich Weigand authored
      	* config/s390/s390.h (TARGET_DEFAULT): Default to !TARGET_BACKCHAIN.
      	* config/s390/s390.c (s390_return_addr_rtx): Fail for all but current
      	frame if !TARGET_BACKCHAIN.
      	* config/s390/s390.md ("allocate_stack"): Use pattern only if
      	TARGET_BACKCHAIN.
      	* doc/invoke.texi (-mbackchain/-mno-backchain): Document new default.
      
      From-SVN: r76767
      590fcf48
  2. Jan 27, 2004
    • Benjamin Kosnik's avatar
      11584.cc: Correct new and delete declarations, add include and test variable. · 62b21ea0
      Benjamin Kosnik authored
      2004-01-27  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* testsuite/27_io/ios_base/storage/11584.cc: Correct new and
      	delete declarations, add include and test variable.
      
      From-SVN: r76766
      62b21ea0
    • Zack Weinberg's avatar
      ia64.c (ia64_function_arg): When placing HFAs in integer registers... · 826b47cc
      Zack Weinberg authored
      	* ia64.c (ia64_function_arg): When placing HFAs in integer
      	registers, do not special case the mode used for complex
      	types.  Do not advance int_regs until the current register
      	is full.
      
      From-SVN: r76758
      826b47cc
    • Michael Koch's avatar
      2004-01-27 Michael Koch <konqueror@gmx.de> · 272c310d
      Michael Koch authored
      	* gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
      	* gnu/java/awt/peer/gtk/GdkGlyphVector.java:
      	Reindented to merge with classpath.
      
      From-SVN: r76757
      272c310d
    • Richard Sandiford's avatar
      re PR target/7297 ([irix6 o32] sjlj exceptions fail) · 83810fcb
      Richard Sandiford authored
      	PR target/7297
      	* except.c (init_eh): Use a 5-word __jbuf for __builtin_setjmp().
      
      From-SVN: r76754
      83810fcb
    • Kaveh R. Ghazi's avatar
      call-super-2.m: Make LP64-safe. · 9a1564bb
      Kaveh R. Ghazi authored
      	* objc.dg/call-super-2.m: Make LP64-safe.
      	* objc.dg/desig-init-1.m: Likewise.
      
      From-SVN: r76753
      9a1564bb
    • David Edelsohn's avatar
      rs6000.c (rs6000_emit_move): #if 0 splitting slow, unaligned loads and stores while debugging. · 2d9db8eb
      David Edelsohn authored
              * config/rs6000/rs6000.c (rs6000_emit_move): #if 0 splitting
              slow, unaligned loads and stores while debugging.  Fix formatting.
      
      From-SVN: r76752
      2d9db8eb
    • David Jee's avatar
      2004-01-27 David Jee <djee@redhat.com> · f2919ef3
      David Jee authored
      	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
      	(addExposeFilter): Handle GtkFramePeer separately.
      	(removeExposeFilter): Likewise.
      
      From-SVN: r76751
      f2919ef3
    • David Edelsohn's avatar
      rs6000.md (save_stack_nonlocal): Use Pmode instead of computing wmode. · 39e453d7
      David Edelsohn authored
              * config/rs6000/rs6000.md (save_stack_nonlocal): Use Pmode instead
              of computing wmode.
              (restore_stack_nonlocal): Same.
      
      From-SVN: r76750
      39e453d7
    • Jerry Quinn's avatar
      codecvt.h, [...]: Document. · 0b563420
      Jerry Quinn authored
      2003-01-26  Jerry Quinn  <jlquinn@optonline.net>
      
      	* include/bits/codecvt.h, include/bits/locale_facets.h,
      	include/bits/postypes.h, include/bits/stl_bvector.h,
      	include/bits/stl_multiset.h, include/bits/stl_set.h,
      	include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
      	include/std/std_complex.h:  Document.
      
      From-SVN: r76749
      0b563420
    • Michael Koch's avatar
      2004-01-27 Michael Koch <konqueror@gmx.de> · 128d8364
      Michael Koch authored
      	* gnu/java/net/protocol/http/Connection.java
      	(getOutputStream): Fixed typo.
      
      From-SVN: r76748
      128d8364
    • Michael Koch's avatar
      2004-01-27 Michael Koch <konqueror@gmx.de> · f79b7708
      Michael Koch authored
      	* java/lang/Class.java
      	(getConstructor): Removed SecurityException from throws clause.
      	(_getConstructors): Likewise.
      	(getConstructors): Likewise.
      	(getDeclaredConstructor): Likewise.
      	(getDeclaredClasses): Likewise.
      	(getDeclaredConstructors): Likewise.
      	(getDeclaredField): Likewise.
      	(getDeclaredMethod): Likewise.
      	(getDeclaredMethods): Likewise.
      	(getField): Likewise.
      	(getMethod): Likewise.
      	(getMethods): Likewise.
      
      From-SVN: r76747
      f79b7708
    • Devang Patel's avatar
      Makefile.in (dwarf2out.o): Depend on input.h · 6097b0c3
      Devang Patel authored
      2004-01-27  Devang Patel  <dpatel@apple.com>
      
              * Makefile.in (dwarf2out.o): Depend on input.h
              * dbxout.c (dbx_debug_hooks): Add new empty hook for
              imported_module_or_decl.
              (xcoff_debug_hooks): Same.
              * sdbout.c (sdb_debug_hooks): Same.
              * vmsdbgout.c (vmsdbg_debug_hooks): Same.
              * debug.c (do_nothing_debug_hooks): Same.
              (debug_nothing_tree_tree): New function.
              * debug.h (gcc_debug_hooks): New hook, imported_module_or_decl.
              * dwarf2out.c: Include input.h.
              (dwarf2_debug_hooks): Add new hook for imported_module_or_decl.
              (remove_child_TAG): New function.
              (dwarf_tag_name): Handle DW_TAG_imported_module.
              (gen_subprogram_die): Equate decl number to declaration die. Do not
              remove all children dies while reusing declaration die for definition.
              Instead, selectively remove only formal parameters.
              (gen_variable_die): Equate variable decl to declaration die.
              (gen_field_die): Equate field decl to line number.
              (force_namespace_die): Replace it with ...
              (force_decl_die): ... this.
              (force_type_die): New function.
              (setup_namespace_context): Replace use of force_namespace_die() with
              force_decl_die().
              (gen_namespace_die): Same.
              (dwarf2out_imported_module_or_decl): New function.
      
              testsuite:
      
              * g++.dg/debug/namespace1.C: New test.
      
              cp:
      
              * name-lookup.c: Include "debug.h"
              (do_namespace_alias): Invoke debug_hooks to emit debug info
              for namespace alias.
              (do_local_using_decl): Invoke debug_hooks to emit debug info
              for using decl.
              (do_class_using_decl): Same.
              (do_toplevel_using_decl): Same.
              (do_using_directive): Same.
              (cp_emit_debug_info_for_using): New function.
              * Make-lang.in (cp/parser.o): Depend on debug.h
              (cp/name-lookup.o): Same.
      
      From-SVN: r76746
      6097b0c3
    • Bob Wilson's avatar
      xtensa.c (xtensa_copy_incoming_a7): Remove SUBREG on CQImode and CHImode... · e6aecf8e
      Bob Wilson authored
      xtensa.c (xtensa_copy_incoming_a7): Remove SUBREG on CQImode and CHImode incoming arguments in register a7.
      
      	* config/xtensa/xtensa.c (xtensa_copy_incoming_a7): Remove SUBREG
      	on CQImode and CHImode incoming arguments in register a7.
      	(function_arg): Wrap BLKmode argument in register a7 in a PARALLEL.
      	* config/xtensa/xtensa.h (BLOCK_REG_PADDING): Define.
      	* config/xtensa/xtensa.md (movdi, movdf): Only call force_reg or
      	xtensa_copy_incoming_a7 before reload.
      
      From-SVN: r76742
      e6aecf8e
    • J"orn Rennecke's avatar
      coverage.c (get_coverage_counts): Give a different message if flag_guess_branch_prob is set. · 02307675
      J"orn Rennecke authored
      	* coverage.c (get_coverage_counts): Give a different message
      	if flag_guess_branch_prob is set.
      	* predict.c (counts_to_freqs): Return an int.
      	(estimate_bb_frequencies): If counts_to_freqs returns zero,
      	calculate estimates.
      
      From-SVN: r76741
      02307675
    • Kim Ho's avatar
      2004-01-27 Kim Ho <kho@redhat.com> · e300e74f
      Kim Ho authored
              * gnu/java/awt/peer/gtk/GtkFramePeer.java
              (removeMenuBarPeer): Remove MenuBarPeer argument.
              * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
              (dispose): Call native method.
              * java/awt/Frame.java (setMenuBar): Create and remove
              MenuBar peers only if the Frame has a peer.
              (addNotify): Create the MenuBar peer if one exists.
              (removeNotify): Remove MenuBar peer if one exists.
              * java/awt/Menu.java: Fix imports.
              (addNotify): Don't use full class name.
              (removeNotify): Call removeNotify on all children.
              * java/awt/MenuBar.java (removeNotify): Call
              removeNotify on all children.
              * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
              (removeMenuBarPeer): Remove MenuBarPeer argument.
              Iterate through children to find the Frame's MenuBar.
              * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
              New file.
              (dispose): Remove references to the MenuComponent.
      
      From-SVN: r76740
      e300e74f
    • Kazu Hirata's avatar
      iq2000-protos.h: Remove the prototype for iq2000_setup_incoming_varargs. · 69a45040
      Kazu Hirata authored
      	* config/iq2000/iq2000-protos.h: Remove the prototype for
      	iq2000_setup_incoming_varargs.
      	* config/iq2000/iq2000.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
      	(TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
      	(TARGET_PROMOTE_PROTOTYPES): Likewise.
      	(TARGET_STRUCT_VALUE_RTX): Likewise.
      	(TARGET_RETURN_IN_MEMORY): Likewise.
      	(TARGET_SETUP_INCOMING_VARARGS): Likewise.
      	(TARGET_STRICT_ARGUMENT_NAMING): Likewise.
      	(iq2000_return_in_memory): Likewise.
      	(iq2000_setup_incoming_varargs): Make it static.  Receive the
      	first argument by reference.
      	* config/iq2000/iq2000.h (PROMOTE_FUNCTION_ARGS): Remove.
      	(PROMOTE_FUNCTION_RETURN): Likewise.
      	(PROMOTE_PROTOTYPES): Likewise.
      	(RETURN_IN_MEMORY): Likewise.
      	(STRUCT_VALUE): Likewise.
      	(SETUP_INCOMING_VARARGS): Likewise.
      	(STRICT_ARGUMENT_NAMING): Likewise.
      
      From-SVN: r76739
      69a45040
    • James A. Morrison's avatar
      fixinc.c (test_test): Initialize res. · 9cdfc8e7
      James A. Morrison authored
      2004-01-24  James A. Morrison  <ja2morri@uwaterloo.ca>
      
      	* fixinc/fixinc.c (test_test): Initialize res.
      	(start_flexer): Initialize pz_cmd_save.
      
      From-SVN: r76738
      9cdfc8e7
    • Michael Koch's avatar
      AbstractCellEditor.java: Reformated. · 80d4281f
      Michael Koch authored
      2004-01-27  Michael Koch  <konqueror@gmx.de>
      
      	* javax/swing/AbstractCellEditor.java: Reformated.
      	* javax/swing/DefaultListSelectionModel.java
      	(listenerList): Made protected.
      	(addListSelectionListener): Javadoc added.
      	(removeListSelectionListener): Likewise.
      	(getListeners): Likewise.
      	(getListSelectionListeners): Likewise.
      	* javax/swing/JComboBox.java: Merged copyright year.
      	* javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
      
      From-SVN: r76737
      80d4281f
    • Michael Koch's avatar
      AbstractCellEditor.java: Reformated. · d6c7ebd5
      Michael Koch authored
      2004-01-27  Michael Koch  <konqueror@gmx.de>
      
      	* javax/swing/AbstractCellEditor.java: Reformated.
      	* javax/swing/DefaultListSelectionModel.java
      	(listenerList): Made protected.
      	(addListSelectionListener): Javadoc added.
      	(removeListSelectionListener): Likewise.
      	(getListeners): Likewise.
      	(getListSelectionListeners): Likewise.
      	* javax/swing/JComboBox.java: Merged copyright year.
      	* javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
      
      From-SVN: r76736
      d6c7ebd5
    • Zack Weinberg's avatar
      rtl.texi (Arithmetic): Rewrite entries for PLUS, SS_PLUS, US_PLUS, LO_SUM,... · 60ffd2fe
      Zack Weinberg authored
      rtl.texi (Arithmetic): Rewrite entries for PLUS, SS_PLUS, US_PLUS, LO_SUM, MINUS, SS_MINUS, US_MINUS.
      
      	* doc/rtl.texi (Arithmetic): Rewrite entries for PLUS,
      	SS_PLUS, US_PLUS, LO_SUM, MINUS, SS_MINUS, US_MINUS.
      
      From-SVN: r76735
      60ffd2fe
    • Zack Weinberg's avatar
      * config/ia64/ia64.md (*nmaddsf4, *nmadddf4, *nmadddf4_alts) · 52ad4d7b
      Zack Weinberg authored
      	(*nmadddf4_trunc, *nmaddxf4, *nmaddxf4_truncsf, *nmaddxf4_truncdf)
      	(*nmaddxf4_alts, *nmaddxf4_truncdf_alts):
      	Rewrite pattern as (minus (op 3) (mult (op 1) (op 2))).
      	Possibly rename pattern for consistency.
      	Remove ??? comments suggesting that this be done.
      	(*nmaddsf4_alts, *nmadddf4_truncsf_alts, *nmaddxf4_truncsf_alts):
      	New patterns.
      	(divsi3_internal, divdi3_internal_lat, divdi3_internal_thr)
      	(divsf3_internal_lat, divsf3_internal_thr, sqrtsf2_internal_thr)
      	(divdf3_internal_lat, divdf3_internal_thr, sqrtdf2_internal_thr)
      	(divxf3_internal_lat, divxf3_internal_thr, sqrtxf2_internal_thr):
      	Update to match.
      
      From-SVN: r76734
      52ad4d7b
    • Andrew Haley's avatar
      JTableHeader.java: Extend JComponent · dbc2d642
      Andrew Haley authored
      2004-01-26  Andrew Haley  <aph@redhat.com>
      
              * javax/swing/table/JTableHeader.java: Extend JComponent
      
      From-SVN: r76733
      dbc2d642
    • Andrew Haley's avatar
      parse.y (check_interface_throws_clauses): Make sure class_decl has been loaded. · ea095e9a
      Andrew Haley authored
      2004-01-27  Andrew Haley  <aph@redhat.com>
      
              java/13273
              * parse.y (check_interface_throws_clauses): Make sure class_decl
              has been loaded.
      
      From-SVN: r76732
      ea095e9a
    • Kim Ho's avatar
      GtkFramePeer.java (setMenuBar): Fix spacing. · f2565037
      Kim Ho authored
      2004-01-26  Kim Ho  <kho@redhat.com>
      
              * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
              Fix spacing.
      
      From-SVN: r76730
      f2565037
    • Kim Ho's avatar
      GtkFramePeer.java (moveLayout): New method. · 57e13917
      Kim Ho authored
      2004-01-26  Kim Ho  <kho@redhat.com>
      
              * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
              method.
              (setMenuBar): Shift the Gtk layout up/down by the MenuBar
              height and let the Layout Managers readjust anything that
              needs to move.
              * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
              (moveLayout): New method. Shift everything in the Gtk
              layout in the Y direction by an offset.
      
      From-SVN: r76729
      57e13917
    • Jerry Quinn's avatar
      re PR libstdc++/11584 (ios::iword() fails to zero-initialize storage on failure) · 2a837cf8
      Jerry Quinn authored
      2004-01-27  Jerry Quinn  <jlquinn@optonline.net>
      
      	PR libstdc++/11584
      	* include/bits/ios_base.h (ios_base::_M_grow_words):  Add
              iword/pword selector.
      	(ios_base::iword, ios_base::pword):  Use it.
      	* src/ios.cc (ios_base::_M_grow_words):  Clear _M_word_zero
              iword or pword member on alloc failure.
      	* testsuite/27_io/ios_base/storage/11584.cc:  New test.
      
      From-SVN: r76725
      2a837cf8
Loading