1. 10 Oct, 2003 13 commits
  2. 09 Oct, 2003 27 commits
    • h8300.md (define_asm_attributes): Specify the length of an asm insn more precisely. · 5e46c560
      	* config/h8300/h8300.md (define_asm_attributes): Specify
      	the length of an asm insn more precisely.
      
      From-SVN: r72289
      Kazu Hirata committed
    • * config/mips/iris6.h (SUBTARGET_CPP_SPEC): Define. · 1e2eb6e8
      From-SVN: r72288
      Rainer Orth committed
    • linker-map.gnu: Make more *_type_info bits visible. · 5aaa2108
      
      2003-10-09  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* config/linker-map.gnu: Make more *_type_info bits visible.
      	Move new/delete bits back into GLIBCXX space.
      
      	* include/bits/locale_classes.h: Move _M_id out of line, so that
      	locale::id::_S_highwater can be removed from the export list.
      	* src/locale.cc (locale::id::_M_id): Define.
      
      From-SVN: r72287
      Benjamin Kosnik committed
    • xtensa.c (xtensa_dbx_register_number): Change first FP register number to 48 and… · b0c6e48f
      xtensa.c (xtensa_dbx_register_number): Change first FP register number to 48 and MAC16 accumulator to 0x210.
      
      	* config/xtensa/xtensa.c (xtensa_dbx_register_number): Change first
      	FP register number to 48 and MAC16 accumulator to 0x210.
      
      From-SVN: r72283
      Bob Wilson committed
    • libstdc++.exp: Set LD_LIBRARY_PATH_64 for SPARC64. · 64833be0
      2003-10-09  Andreas Tobler  <a.tobler@schweiz.ch>
      
      	* testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_64 for
      	SPARC64.
      
      From-SVN: r72282
      Andreas Tobler committed
    • re PR libstdc++/11844 (Incorrect values of ctype_base::alnum and ctype_base::graph) · 2f800bcc
      2003-10-09  Paolo Carlini  <pcarlini@unitus.it>
      
      	PR libstdc++/11844
      	* config/os/aix/ctype_base.h: Fix 'alnum' and 'graph'
      	to conform to the requirements of 22.2.1.
      	* config/os/bsd/freebsd/ctype_base.h: Likewise.
      	* config/os/djgpp/ctype_base.h: Likewise.
      	* config/os/generic/ctype_base.h: Likewise.
      	* config/os/gnu-linux/ctype_base.h: Likewise.
      	* config/os/hpux/ctype_base.h: Likewise.
      	* config/os/irix/irix6.5/ctype_base.h: Likewise.
      	* config/os/solaris/solaris2.6/ctype_base.h: Likewise.
      	* config/os/solaris/solaris2.7/ctype_base.h: Likewise.
      	* testsuite/22_locale/ctype/11844.cc: New.
      
      	* config/locale/generic/ctype_members.cc (do_is):
      	Generically, use a bitmasksize of 15 (instead of 10), since
      	we don't know the numerical encoding of the various categories
      	in the underlying /usr/include/ctype.h.
      
      From-SVN: r72281
      Paolo Carlini committed
    • * g++.dg/ext/attrib8.C: Only run it on x86 targets. · b18ff0cd
      From-SVN: r72280
      Mark Mitchell committed
    • SelectorImpl.java (register): Use ServerSocketChannelSelectionKey for server socket channels... · 137f5e84
      2003-10-09  Michael Koch  <konqueror@gmx.de>
      
      	* gnu/java/nio/SelectorImpl.java (register):
      	Use ServerSocketChannelSelectionKey for server socket channels,
      	removed unneeded comments.
      	* gnu/java/nio/ServerSocketChannelImpl.java
      	(ServerSocketChannelImpl): Made class public final.
      	(impl): New member variable.
      	(ServerSocketChannelImpl): Initialize member variables correctly.
      	(initServerSocket): New method.
      	(getNativeFD): Likewise.
      	* gnu/java/nio/ServerSocketChannelSelectionKey.java,
      	gnu/java/nio/natServerSocketChannelImpl.cc: New files.
      	* Makefile.am (ordinary_java_source_files):
      	Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
      	(nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
      	* Makefile.in: Regenrated.
      
      From-SVN: r72277
      Michael Koch committed
    • 2003-10-09 Michael Koch <konqueror@gmx.de> · 4e3cb200
      	* java/nio/channels/spi/AbstractSelectableChannel.java
      	(registered): Made private.
      	(blocking): Likewise.
      	(LOCK): Likewise.
      	(provider): Likewise.
      	(keys): Made it a private LinkedList.
      	(AbstractSelectableChannel): Initialize keys.
      	(isRegistered): New implementation.
      	(locate): Rewritten.
      	(register): Rewritten.
      	* java/nio/channels/spi/AbstractSelectionKey.java
      	(ok): Removed.
      	(cancelled): New member variable.
      	(cancel): Rewritten.
      	(isValid): Rewritten.
      	* java/nio/channels/spi/AbstractSelector.java:
      	Some methods moved.
      	(closed): Make private.
      	(provider): Likewise.
      	(cancelledKeys): New member variable.
      	(AbstractSelector): Initialize cancelledKeys.
      	(cancelKey): New method.
      
      From-SVN: r72275
      Michael Koch committed
    • [multiple changes] · 93d04686
      
      2003-10-09  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* src/string-inst.cc: Prune.
      	* testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
      	* testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
      
      2003-10-09  Petur Runolfsson  <peturr02@ru.is>
      
      	* src/io-inst.cc: Don't include iostream.
      	* include/bits/ios_base.h (ios_base::failure): Use string.
      	* src/Makefile.am: Add ios_failure.cc.
      	* src/Makefile.in: Regenerate.
      	* src/ios.cc: Move ios_base::failure definitions to...
      	* src/ios_failure.cc: ...here. New.
      
      From-SVN: r72272
      Benjamin Kosnik committed
    • ClassLoader.java (setSigners): Implemented. · b379e7b0
      	* java/lang/ClassLoader.java (setSigners): Implemented.
      	* boehm.cc (_Jv_MarkObj): Mark `signers' field.
      	* java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
      	Initialize new fields.
      	* java/lang/Class.java (getSigners): Now native.
      	(setSigners): Declare.
      	* java/lang/natClass.cc (getSigners): New method.
      	(getSigners): Likewise.
      	* java/lang/Class.h (Class::signers): New field.
      	(Class::setSigners): New method.
      
      From-SVN: r72271
      Tom Tromey committed
    • decl.c (java_init_decl_processing): Declare signers field. · ae125b17
      	* decl.c (java_init_decl_processing): Declare signers field.
      	* class.c (make_class_data): Set signers field.
      
      From-SVN: r72270
      Tom Tromey committed
    • config.gcc: Remove redundant thread_file setting clauses for various *-*-linux* targets. · a9807ca2
      	* config.gcc: Remove redundant thread_file setting clauses for
      	various *-*-linux* targets.
      
      From-SVN: r72269
      Nathanael Nerode committed
    • re PR libstdc++/9874 (filebuf::seekpos fails if codecvt::encoding() <= 0) · 1a139c59
      
      2003-10-09  Petur Runolfsson  <peturr02@ru.is>
      
              PR libstdc++/9874
              * include/bits/fstream.tcc (basic_filebuf::seekoff):
              Move code needed for both seekoff and seekpos...
              (basic_filebuf::_M_seek): ...here. New function.
              (basic_filebuf::seekpos): Don't call seekoff, call _M_seek.
              * include/std/std_fstream.h (basic_filebuf::_M_seek): Declare it.
              * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: New test.
      
              * testsuite/22_locale/locale/cons/12438.cc: Increase memory limit.
      
      From-SVN: r72268
      Petur Runolfsson committed
    • RMIClassLoader.java: Removed unused imports, little reformatings. · 69c7b827
      2003-10-09  Michael Koch  <konqueror@gmx.de>
      
      	* java/rmi/server/RMIClassLoader.java:
      	Removed unused imports, little reformatings.
      	(getClassLoader): New method, implementation was part of old loadCLass
      	method.
      	(loadClass): Simplified by moving functionality to new method and
      	reworking the code a bit.
      	(getClassAnnotation): Merged documentation from classpath.
      
      From-SVN: r72267
      Michael Koch committed
    • * config/h8300/h8300.md (define_asm_attributes): New. · cf48cabb
      From-SVN: r72264
      Kazu Hirata committed
    • 2003-10-09 Michael Koch <konqueror@gmx.de> · a6d6455e
      	* java/math/BigInteger.java
      	(add): Removed unused local variable len.
      
      From-SVN: r72263
      Michael Koch committed
    • optabs.c (prepare_float_lib_cmp): Always attach a REG_EQUAL note to the comparison... · 17796a89
      
      	* optabs.c (prepare_float_lib_cmp): Always attach a REG_EQUAL note
      	to the comparison, as emit_libcall_block calls copy_rtx on equiv.
      
      From-SVN: r72262
      Roger Sayle committed
    • haifa-sched.c (ok_for_early_schedule): New function. · 569fa502
              * haifa-sched.c (ok_for_early_schedule): New function.
              (early_queue_to_ready): New function.
              (schedule_block): Allow early removal of insns from Q.
              (schedule_insn): Update INSN_TICK in case of premature
              issue.
              * common.opt (sched_stalled_insns): New flag.
              (sched_stalled_insns_dep): New flag.
              * flags.h: Same above flags.
              * opts.c: Same as above.
              * toplev.c: Same as above.
              * target.h (targetm.sched.is_costly_dependence): New
              hook.
              * target-def.h: Same as above.
              * config/rs6000/rs6000.h: (rs6000_sched_costly_dep):
              Support new flag -msched-costly-dep.
              (DEFAULT_SCHED_COSTLY_DEP): Define.
              * config/rs6000/rs6000.c:
              (rs6000_is_costly_dependence): New function.
              (is_load_insn, is_store_insn): New functions.
              (is_load_insn1, is_store_insn1, is_mem_ref): New
              functions.
              * doc/invoke.texi (-fsched-stalled-insns-dep)
              (-fsched-stalled-insns, -msched-costly-dep): Document
              options.
              * doc/tm.texi (is_costly_dependence): Define new
              scheduler target hook.
      
      From-SVN: r72261
      Dorit Naishlos committed
    • re PR middle-end/6392 (Problems with __restrict__ type qualifier (array)) · 2df6848e
              PR c++/6392
              * cp/tree.c (build_cplus_array_type): Handle all quals the same.
              (cp_build_qualified_type_real): Look through arrays first.
              * c-common.c (c_build_qualified_type): Look through arrays first.
              (c_apply_type_quals_to_decl): Look through arrays.
      
      From-SVN: r72260
      Jason Merrill committed
    • re PR middle-end/6392 (Problems with __restrict__ type qualifier (array)) · 4b011bbf
              PR c++/6392
              * cp/tree.c (build_cplus_array_type): Handle all quals the same.
              (cp_build_qualified_type_real): Look through arrays first.
              * c-common.c (c_build_qualified_type): Look through arrays first.
              (c_apply_type_quals_to_decl): Look through arrays.
      
              * c-common.c (c_apply_type_quals_to_decl): Unset TREE_READONLY for
              types with constructors.
      
      From-SVN: r72259
      Jason Merrill committed
    • tweak whitespace · e913996d
      From-SVN: r72256
      Jason Merrill committed
    • stmt.c (resolve_asm_operand_names): Call check_unique_operand_names here. · 1456deaf
              * stmt.c (resolve_asm_operand_names): Call check_unique_operand_names
              here.
              (expand_asm_operands): Not here.
              (parse_input_constraint): No longer static.
              * tree.h: Declare it.
      
              * coverage.c (build_ctr_info_value): Use build_decl to make a
              VAR_DECL.
              (create_coverage): Likewise.
      java/
              * parse.y (patch_assignment): Use make_node to create a BLOCK.
              * parse.h (BUILD_PTR_FROM_NAME): Use make_node to create a
              POINTER_TYPE.
      cp/
              * tree.c (build_cplus_new): Use build_decl to create a VAR_DECL.
              (build_target_expr_with_type): Likewise.
      
              * pt.c (instantiate_class_template): Sanity check that our
              enclosing class has been instantiated.
      
      From-SVN: r72255
      Jason Merrill committed
    • t-linux (SHLIB_LINK): Override to use a linker script libgcc_s.so. · 08cffcce
      	* config/sh/t-linux (SHLIB_LINK): Override to use a linker script
      	libgcc_s.so.
      	(SHLIB_INSTALL): Likewise.
      
      From-SVN: r72254
      Kaz Kojima committed
    • install.texi: Remove reference to removed 'pthreads' thread option. · 112a68ac
      	* doc/install.texi: Remove reference to removed 'pthreads' thread
      	option.
      
      From-SVN: r72253
      Nathanael Nerode committed
    • GtkButtonPeer.java (handleEvent): Remove modality check. · 23a555b0
      2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
      
      	* gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
      	modality check.
      	* gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
      	Initialize insets to use latest insets.
      	* gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
      	* gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
      	field.
      	(postConfigureEvent): Update latestInsets field when insets
      	change.  Remove call to setSize.  Move validate call outside of
      	if blocks.
      	(setVisible): Call setBounds before showing window.
      	(nativeSetVisible): New native method.
      	* java/awt/Window.java (show): Show visible owned windows.
      	(hide): Hide visible owned windows.
      	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
      	(awt_event_handler): Implement modality using GTK grabs.
      	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
      	(global_gtk_window_group): New global variable.
      	(gtkInit): Initialize global_gtk_window_group.
      	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
      	Clamp width and height values to at least 1.  Add this window to
      	the global GTK window group.
      	(setVisible): Rename to nativeSetVisible.
      	(setup_window): Remove function.
      	(setSize): Clamp width and height values to at least 1.
      	(nativeSetBounds): Likewise.
      	(gdk_window_get_root_geometry): Remove function.
      	* jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
      	and setup_window declarations.  Declare global_gtk_window_group.
      
      From-SVN: r72252
      Thomas Fitzsimmons committed
    • Daily bump. · ba401f2f
      From-SVN: r72250
      GCC Administrator committed