1. 12 Dec, 2003 5 commits
  2. 11 Dec, 2003 16 commits
    • basic_string.tcc (reserve): Allow shrink-to-fit. · cbc67955
      2003-12-11  Neil Ferguson  <nferguso@eso.org>
      	    Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/basic_string.tcc (reserve): Allow shrink-to-fit.
      	* testsuite/21_strings/basic_string/capacity/1.cc: Tweak.
      	* testsuite/21_strings/basic_string/capacity/char/1.cc: Ditto.
      	* testsuite/21_strings/basic_string/capacity/wchar_t/1.cc: Ditto.
      
      Co-Authored-By: Paolo Carlini <pcarlini@suse.de>
      
      From-SVN: r74551
      Neil Ferguson committed
    • libunwind related patch from David Mosberger · fe16ab7e
      libunwind related patch from David Mosberger
      * unwind-libunwind.c (_Unwind_SetGR): Clear the NaT bit as
      required by C++ ABI for Itanium.
      * config/t-libunwind (LIB2ADDEH): Remove unwind-libunwind.c.
      * config/t-libunwind-no-eh: New file.
      * configure.in: Check libunwind for _Unwind_Resume() and if it's
      present, set libunwind_has_eh_support to "yes".
      * configure: Regenerate.
      * config.gcc (ia64*-*-linux*): If $libunwind_has_eh_support is
      set to yes, use t-libunwind, otherwise, use t-libunwind-no-eh.
      
      From-SVN: r74548
      David Mosberger committed
    • mips.c (mips_global_pointer): Force functions with a nonlocal goto to set up $gp. · 7ac88634
      	* config/mips/mips.c (mips_global_pointer): Force functions with
      	a nonlocal goto to set up $gp.
      
      From-SVN: r74547
      Richard Sandiford committed
    • Fix for problem with unnecessary volatile mems. · 1ec7a831
      PR target/13132
      * function.c (gen_mem_addressof): When no decl, explicitly clear flag
      bits.
      
      From-SVN: r74543
      James E Wilson committed
    • [multiple changes] · a9f4e3d2
      2003-12-11  Ed Falis  <falis@gnat.com>
      
      	* 5zinit.adb: Clean up.
      
      	* 5zintman.adb (Notify_Exception): replaced case statement with a call
      	to __gnat_map_signal, imported from init.c to support
      	signal -> exception mappings that depend on the vxWorks version.
      
      	* init.c:
      	Created and exported __gnat_map_signal to support signal -> exception
      	mapping that is dependent on the VxWorks version.
      	Change mapping of SIGBUS from Program_Error to Storage_Error on VxWorks
      
      2003-12-11  Vasiliy Fofanv  <fofanov@act-europe.fr>
      
      	* 5wosinte.ads: Link with -mthreads switch.
      
      2003-12-11  Arnaud Charlet  <charlet@act-europe.fr>
      
      	* init.c (__gnat_install_handler [NetBSD]): Set
      	__gnat_handler_installed, as done on all other platforms.
      	Remove duplicated code.
      
      2003-12-11  Jerome Guitton  <guitton@act-europe.fr>
      
      	* Makefile.in (rts-zfp, rts-ravenscar): Create libgnat.a.
      
      2003-12-11  Thomas Quinot  <quinot@act-europe.fr>
      
      	* sinfo.ads: Fix inconsistent example code in comment.
      
      2003-12-11  Robert Dewar  <dewar@gnat.com>
      
      	* a-tiinau.adb: Add a couple of comments
      
      	* sem_ch3.adb: Minor reformatting
      
      	* sem_prag.adb:
      	Fix bad prototype of Same_Base_Type in body (code reading cleanup)
      	Minor reformatting throughout
      
      2003-12-11  Ed Schonberg  <schonberg@gnat.com>
      
      	* exp_ch7.adb (Establish_Transient_Scope): If the call is within the
      	bounds of a loop, create a separate block in order to generate proper
      	cleanup actions to prevent memory leaks.
      
      	* sem_res.adb (Resolve_Call): After a call to
      	Establish_Transient_Scope, the call may be rewritten and relocated, in
      	which case no further processing is needed.
      
      	* sem_util.adb: (Wrong_Type): Refine previous fix.
      	 Fixes ACATS regressions.
      
      	PR ada/13353
      
      	* sem_prag.adb (Back_End_Cannot_Inline): A renaming_as_body can always
      	be inlined.
      
      From-SVN: r74541
      Arnaud Charlet committed
    • Format.java (serialVersionUID): Fixed value. · 226c4112
      2003-12-11  Michael Koch  <konqueror@gmx.de>
      
      	* java/text/Format.java (serialVersionUID): Fixed value.
      
      From-SVN: r74540
      Michael Koch committed
    • EventDirContext.java: Jalopied. · 7b9b3ed3
      2003-12-11  Michael Koch  <konqueror@gmx.de>
      
      	* javax/naming/event/EventDirContext.java: Jalopied.
      	(addNamingListener): Fixed typo in method name.
      
      From-SVN: r74539
      Michael Koch committed
    • mangle.c (conv_type_names): Holds IDENTIFIER_NODEs only. · c1eb7f5c
      	* mangle.c (conv_type_names): Holds IDENTIFIER_NODEs only.
      	(hash_type): Use TYPE_UID of the identifier's type.
      	(compare_type): Adjust.
      	(mangle_conv_op_name_for_type): Store identifier nodes only, use
      	TYPE_UID has hash value.
      
      From-SVN: r74538
      Nathan Sidwell committed
    • * gnu/java/nio/SocketChannelImpl.java · c1fb3625
      	(write): Removed diagnostic trace.
      	* gnu/java/nio/natSelectorImplPosix.cc: Added
      	includes for java.lang.Thread and java.io.InterruptedIOException.
      	(helper_put_filedescriptors): Don't put invalid file descriptors
      	in select set.
      	(helper_get_filedescriptors): Clear invalid file descriptors
      	from select set.
      	(helper_reset): New method for clearing our file descriptor
      	array.
      	(implSelect): Correctly calculate timeout if specified and
      	legal.
      	Intercept and deal with any java.io.InterruptedIOException
      	thrown by _Jv_select().
      
      From-SVN: r74537
      Mohan Embar committed
    • gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler): Most coded moved to… · 834b1209
      gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler): Most coded moved to pre_event_handler, with the modifications mentioned below.
      
      2003-12-08  Fernando Nasser  <fnasser@redhat.com>
      
              * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
              Most coded moved to pre_event_handler, with the modifications
              mentioned below.
              (pre_event_handler): New function.  Called on the Gtk "event" signal.
              Do not retrieve the jobject from the window property as it is already
              available as user data in the signal.
              Do not try and find the grab widget as it is already done by Gtk at
              this point.
              Do not search for Window ancestor as Gtk already sends the signal to it.        Do not meddle with the activation state of peer widgets on each
              key press or release.
              Add CList to the special handling when looking for the focused widget.
              * jni/gtk-peer/gtkpeer.h: Add declaration for pre_event_handler.
              * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (connectJObject):
              New function.
              (connectSignals): New function.
              * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c (connectHooks):
              Rename to...
              (connectSignals): New name.  Get rid of NewGlobalRef call.
              Use g_signal_connect instead of deprecated gtk_signal_connect.
              * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
              (connect_choice_item_selectable_hook): Use g_signal_connect instead of
              deprecated gtk_signal_connect.
              * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
              * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
              * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
              (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): Ditto.
              * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
              (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
              function.
              (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
              function.
              (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
              function.
              * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
              (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
              function.
              (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
              function.
              * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
              (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
              function.
              (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
              function.
              (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
              function.
              (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_old_create): Remove dead
              code.
              (item_select): Remove indirection.
              (item_unselect): Ditto.
              (connect_selectable_hook): Folded into connectSignals.
              * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
              (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
              function.
              (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
              function.
              (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
              function.
              * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Ditto.
              * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
              * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
              (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
              function.
              (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
              function.
              * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Declare  and call
              connectJObject and connectSignals instead of connectHooks.
              * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Declare connectJObject and
              connectSignals.
              * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Declare connectSignals
              and not connectHooks.
              * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Ditto.
              * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: Declare connectJObject
              and not connectHooks.
              * gnu/java/awt/peer/gtk/GtkListPeer.java: Declare connectJObject and
              connectSignals instead of connectHooks.
              * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Ditto.
              * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Ditto.
              * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Ditto.
      
      From-SVN: r74536
      Fernando Nasser committed
    • gcc_update (files_and_dependencies): Correct typo in the filename gnat_ug_wnt.texi. · 90ff9ff3
      2003-12-10  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* gcc_update (files_and_dependencies): Correct typo in the filename
      	gnat_ug_wnt.texi.
      
      From-SVN: r74535
      Kelley Cook committed
    • oops - fix typo in previous delta · f8e405a3
      From-SVN: r74534
      Nick Clifton committed
    • m32r.c: Convert to ISO-C · 1f92da87
      * config/m32r/m32r.c: Convert to ISO-C
      * doc/invoke.texi: Replace Mitsubishi with Renesas.
      * config/m32r/m32r.h: Ditto.
      * config/m32r/m32r.c: Ditto.
      * config/m32r/m32r.md: Ditto.
      
      From-SVN: r74533
      Nick Clifton committed
    • re PR libstdc++/6243 (testsuite fails almost all tests due to no libintl in… · 645112dd
      re PR libstdc++/6243 (testsuite fails almost all tests due to no libintl in LD_LIBRARY_PATH during test.)
      
      
      2003-12-10  Benjamin Kosnik  <bkoz@redhat.com>
      
      	PR libstdc++/6243
      	* testsuite/lib/libstdc++.exp (v3-init): Add
      	original_ld_library_path, calculate ld_library path, set
      	LD_LIBRARY_PATH to both. Based on libjava.exp.
      
      From-SVN: r74521
      Benjamin Kosnik committed
    • basic-block.h (BLOCK_HEAD, BLOCK_END): Remove. · a813c111
      2003-12-11  Steven Bosscher  <steven@gcc.gnu.org>
      
      	* basic-block.h (BLOCK_HEAD, BLOCK_END): Remove.
      	(BLOCK_HEAD_TREE, BLOCK_END_TREE): Remove.
      	(basic_block_def): Rename `head' to `head_' and `end' to `end_'.
      	(BB_HEAD, BB_END): New accessor macros for the `head_' and `end_'
      	fields of a basic block.
      	* bb-reorder.c, bt-load.c, caller-save.c, cfg.c, cfganal.c,
      	cfgbuild.c, cfgcleanup.c, cfglayout.c, cfgloop.c, cfgloopanal.c,
      	cfgloopmanip.c, cfgrtl.c, combine.c, conflict.c, df.c, emit-rtl.c,
      	final.c, flow.c, function.c, gcse.c, global.c, graph.c,
      	haifa-sched.c, ifcvt.c, lcm.c, local-alloc.c, loop-unswitch.c,
      	loop.c, postreload.c, predict.c, profile.c, ra-build.c, ra-debug.c,
      	ra-rewrite.c, ra.c, recog.c, reg-stack.c, regclass.c, regmove.c,
      	regrename.c, reload1.c, resource.c, sched-ebb.c, sched-rgn.c,
      	sibcall.c, tracer.c, config/frv/frv.c, config/i386/i386.c,
      	config/ia64/ia64.c: Use the BB_HEAD and BB_END macros instead of
      	accessing the `head' and `end' fields of a basic block directly.
      
      	* gengtype.c: Add missing piece from earlier patch.  Dunno what
      	I was thinking...
      
      From-SVN: r74520
      Steven Bosscher committed
    • Daily bump. · 2086c099
      From-SVN: r74518
      GCC Administrator committed
  3. 10 Dec, 2003 19 commits