OSDN Git Service

pf3gnuchains/gcc-fork.git
20 years ago2003-01-26 Jerry Quinn <jlquinn@optonline.net>
jlquinn [Tue, 27 Jan 2004 02:58:06 +0000 (02:58 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76688 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * system.h (CHAR_BITFIELD): Delete.
ghazi [Tue, 27 Jan 2004 02:33:22 +0000 (02:33 +0000)]
* system.h (CHAR_BITFIELD): Delete.
(BOOL_BITFIELD): New.
* c-decl.c (c_scope): Use BOOL_BITFIELD.
* gengtype-lex.l: Recognize BOOL_BITFIELD instead of CHAR_BITFIELD.
cp:
* cp-tree.h (language_function, lang_type_header): Use
BOOL_BITFIELD.
* name-lookup.h (cp_binding_level): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76686 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-26 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 27 Jan 2004 00:49:03 +0000 (00:49 +0000)]
2004-01-26  Paolo Carlini  <pcarlini@suse.de>

* config/locale/generic/c_locale.cc: Fix throw messages
to use the __N marker.
* config/locale/gnu/c_locale.cc: Likewise.
* config/locale/ieee_1003.1-2001/codecvt_specializations.h:
Likewise.
* docs/html/17_intro/C++STYLE: Likewise.
* include/bits/basic_ios.tcc: Likewise.
* include/bits/fstream.tcc: Likewise.
* include/bits/vector.tcc: Likewise.
* include/ext/ropeimpl.h: Likewise.
* include/std/std_bitset.h: Likewise.
* src/ios.cc: Likewise.
* src/locale.cc: Likewise.
* src/localename.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76684 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Tue, 27 Jan 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76681 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/arc/arc.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
kazu [Mon, 26 Jan 2004 23:22:55 +0000 (23:22 +0000)]
* config/arc/arc.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.
(arc_return_in_memory): Likewise.
* config/arc/arc.h (PROMOTE_FUNCTION_ARGS): Remove.
(PROMOTE_FUNCTION_RETURN): Likewise.
(RETURN_IN_MEMORY): Likewise.
(STRUCT_VALUE): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76677 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * c-parse.in (extension): Use itype.
rth [Mon, 26 Jan 2004 23:02:04 +0000 (23:02 +0000)]
    * c-parse.in (extension): Use itype.
        (SAVE_EXT_FLAGS): Don't allocate a tree.
        (RESTORE_EXT_FLAGS): Don't read a tree.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76676 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoRevert accidental commit.
rth [Mon, 26 Jan 2004 22:59:40 +0000 (22:59 +0000)]
Revert accidental commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76675 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * c-parse.in (extension): Use itype.
rth [Mon, 26 Jan 2004 22:57:19 +0000 (22:57 +0000)]
    * c-parse.in (extension): Use itype.
        (SAVE_EXT_FLAGS): Don't allocate a tree.
        (RESTORE_EXT_FLAGS): Don't read a tree.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76674 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * objc.dg/stret-1.m (glob): Renamed to globa.
ro [Mon, 26 Jan 2004 22:13:38 +0000 (22:13 +0000)]
* objc.dg/stret-1.m (glob): Renamed to globa.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76671 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * Makefile.in (mips-sgi-irix5): Remove -lathread from THREADSLIB.
ro [Mon, 26 Jan 2004 21:56:05 +0000 (21:56 +0000)]
* Makefile.in (mips-sgi-irix5): Remove -lathread from THREADSLIB.

* 5fsystem.ads (Functions_Return_By_DSP): Set to False.
(ZCX_By_Default): Likewise.
(Front_End_ZCX_Support): Likewise.

* 5gtaprop.adb (Stack_Guard): Mark T, On unreferenced.
(Initialize_Lock): Mark Level unreferenced.
(Sleep): Mark Reason unreferenced.
(Timed_Sleep): Likewise.
(Wakeup): Likewise.
(Exit_Task): Use Result.
(Check_No_Locks): Mark Self_ID unreferenced.

* 5gtasinf.adb (New_Sproc): Make Attr constant.
(Bound_Thread_Attributes): Make Sproc constant.
(New_Bound_Thread_Attributes): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76669 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-26 David Jee <djee@redhat.com>
djee [Mon, 26 Jan 2004 21:55:42 +0000 (21:55 +0000)]
2004-01-26  David Jee  <djee@redhat.com>

* gnu/java/awt/peer/gtk/GtkComponentPeer.java
(handleEvent): Implemented. Handles PaintEvents.
(paint): Implemented. Use GTK native methods to queue updates
        for this heavyweight peer.
* gnu/java/awt/peer/gtk/GtkContainerPeer.java
(handleEvent): Removed.
* java/awt/Component.java
(paint): Implemented. Explictly paint the heavyweight peer.
(update): Clear the background for heavyweight components.
(paintAll): No need to call peer.paint() anymore.
(processEvent): Don't process PaintEvents here. It's now done in
the peer's handleEvent().
(processPaintEvent): Removed.
* java/awt/Container.java
(paint): No need to call super.paint(). Visit heavyweight
children as well.
(update): Don't clear the background here.  It's done in
Component.update().
(visitChildren): Added check to not recurse into Containers.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
(filter_expose_event_handler): New method.  Filter unwanted
expose events while painting heavyweight peers.
(Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
New method. Connect filter and block pre_event_handler.
(Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
New method. Disconnect filter and unblock pre_event_handler.
(Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
New method. Invalidate and update given area.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
(pre_event_handler): Add checks for unwanted expose events.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76668 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-26 David Jee <djee@redhat.com>
djee [Mon, 26 Jan 2004 21:04:06 +0000 (21:04 +0000)]
2004-01-26  David Jee  <djee@redhat.com>

* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
(find_bg_color_widget): For GtkButton, return its child.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76667 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * cselib.c (discard_useless_values): Clear out value pointer pointing
hubicka [Mon, 26 Jan 2004 20:38:54 +0000 (20:38 +0000)]
* cselib.c (discard_useless_values):  Clear out value pointer pointing
to datastructure to be recycled.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76666 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * genextract.c (main): Do not output the memset when not checking.
hubicka [Mon, 26 Jan 2004 20:34:22 +0000 (20:34 +0000)]
* genextract.c (main): Do not output the memset when not checking.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76665 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-26 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 26 Jan 2004 20:23:20 +0000 (20:23 +0000)]
2004-01-26  Paolo Carlini  <pcarlini@suse.de>

* include/bits/basic_string.h (_M_replace_aux): Use the
__N marker in throw message.
* include/bits/basic_string.tcc (assign(const _CharT*,
size_type), insert(size_type, const _CharT*, size_type),
replace(size_type, size_type, const _CharT*, size_type),
reserve, _Rep::_S_create, resize, _M_replace_dispatch):
Likewise.

* include/bits/basic_string.h, include/bits/basic_string.tcc:
Fold overlong lines, minor formatting changes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76664 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/h8300/h8300.c (h8300_tiny_constant_address_p): Use a
kazu [Mon, 26 Jan 2004 20:21:11 +0000 (20:21 +0000)]
* config/h8300/h8300.c (h8300_tiny_constant_address_p): Use a
switch statement instead of a chain of if statements.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76663 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/13663
mmitchel [Mon, 26 Jan 2004 20:11:46 +0000 (20:11 +0000)]
PR c++/13663
* semantics.c (finish_for_expr): Check for unresolved overloaded
functions.

PR c++/13363
* g++.dg/expr/for1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76659 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoAdd changelog entry for the testcase which was forgotten by Fariborz Jahanian.
pinskia [Mon, 26 Jan 2004 18:50:29 +0000 (18:50 +0000)]
Add changelog entry for the testcase  which was forgotten by Fariborz Jahanian.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76657 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * doc/contrib.texi: Minor cleanup for Paolo Carlini's entry. Add
law [Mon, 26 Jan 2004 18:31:07 +0000 (18:31 +0000)]
    * doc/contrib.texi: Minor cleanup for Paolo Carlini's entry.  Add
        acute accents for Petur Runolfsson's entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76655 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/pdp11/pdp11.c (TARGET_STRUCT_VALUE_RTX): New.
kazu [Mon, 26 Jan 2004 18:17:58 +0000 (18:17 +0000)]
* config/pdp11/pdp11.c (TARGET_STRUCT_VALUE_RTX): New.
(TARGET_RETURN_IN_MEMORY): Likewise.
* config/pdp11/pdp11.h (STRUCT_VALUE): Remove.
(RETURN_IN_MEMORY): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76654 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoTest case for PR middle-end/13779.
fjahanian [Mon, 26 Jan 2004 17:48:49 +0000 (17:48 +0000)]
Test case for  PR middle-end/13779.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76652 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agors6000.c, rs6000.md, function.c, expr.c checked in. All related to -mcpu=G5
fjahanian [Mon, 26 Jan 2004 17:47:42 +0000 (17:47 +0000)]
rs6000.c, rs6000.md, function.c, expr.c checked in. All related to -mcpu=G5
compilation mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76651 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoPR middle-end/13779
fjahanian [Mon, 26 Jan 2004 17:45:42 +0000 (17:45 +0000)]
PR middle-end/13779
split constant correctly into register components of PARALLEL insn.
OKed by Roger Sayle.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76649 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDo not assign long long argument to memory in prologue if loaded in register.
fjahanian [Mon, 26 Jan 2004 17:43:46 +0000 (17:43 +0000)]
Do not assign long long argument to memory in prologue if loaded in register.
OKed by Richard Henderson.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76648 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * class.c (add_method): Just check processing_template_decl to
mmitchel [Mon, 26 Jan 2004 17:41:50 +0000 (17:41 +0000)]
* class.c (add_method): Just check processing_template_decl to
determine whether or not we are within a template.
* decl2.c (maybe_retrofit_in_chrg): Likewise.
* init.c (decl_constant_value): Check the type of the declaration,
not TREE_READONLY.
* name-lookup.c (maybe_push_to_top_level): Rename to ...
(push_to_top_level): ... this.
* name-lookup.h (maybe_push_to_top_level): Do not declare it.
* pt.c (push_template_decl_real): Reorder condition for speed.
(convert_template_argument): Use dependency-checking functions in
place of uses_template_parms.
(lookup_template_class): Avoid calling uses_template_parms more
than once.
(uses_template_parms): Reimplement, using dependency-checking
functions.
(instantiate_class_template): Use push_to_top_level, not
maybe_push_to_top_level.
(type_unification_real): Simplify.
(type_dependent_expression_p): Handle OFFSET_REFs and
TEMPLATE_DECLs.
(any_dependent_template_arguments_p): Handle multiple levels of
template argument.
* semantics.c (expand_or_defer_fn): Do not check
uses_template_parms for template instantiations.
* typeck.c (comptypes): Avoid calling cp_type_quals.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76647 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoSplit slow unaligned load/store into smaller loads and stores.
fjahanian [Mon, 26 Jan 2004 17:40:06 +0000 (17:40 +0000)]
Split slow unaligned load/store into smaller loads and stores.
OKed by David Edelsohn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76646 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoUse adjust_address_nv directly with appropriate mode.
fjahanian [Mon, 26 Jan 2004 17:38:51 +0000 (17:38 +0000)]
Use adjust_address_nv directly with appropriate mode.
OKed by David Edelsohn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76645 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/xtensa/xtensa-protos.h: Remove the prototype for
kazu [Mon, 26 Jan 2004 17:33:37 +0000 (17:33 +0000)]
* config/xtensa/xtensa-protos.h: Remove the prototype for
xtensa_builtin_saveregs.
* config/xtensa/xtensa.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_EXPAND_BUILTIN_SAVEREGS): Likewise.
(xtensa_builtin_saveregs): Make it static.
(xtensa_return_in_memory): New.
* config/xtensa/xtensa.h (PROMOTE_FUNCTION_ARGS: Remove.
(PROMOTE_FUNCTION_RETURN): Likewise.
(PROMOTE_PROTOTYPES): Likewise.
(STRUCT_VALUE): Likewise.
(RETURN_IN_MEMORY): Likewise.
(EXPAND_BUILTIN_SAVEREGS): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76644 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/arm/arm.c (TARGET_SETUP_INCOMING_VARARGS): New.
kazu [Mon, 26 Jan 2004 16:35:44 +0000 (16:35 +0000)]
* config/arm/arm.c (TARGET_SETUP_INCOMING_VARARGS): New.
(arm_setup_incoming_varargs): Likewise.
* config/arm/arm.h (SETUP_INCOMING_VARARGS): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76643 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/cris/cris.c (TARGET_SETUP_INCOMING_VARARGS): New.
kazu [Mon, 26 Jan 2004 15:54:45 +0000 (15:54 +0000)]
* config/cris/cris.c (TARGET_SETUP_INCOMING_VARARGS): New.
(cris_setup_incoming_varargs): Likewise.
* config/cris/cris.h (SETUP_INCOMING_VARARGS): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76640 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.dg/20040124-1.c: Moved test from here...
ian [Mon, 26 Jan 2004 15:52:38 +0000 (15:52 +0000)]
* gcc.dg/20040124-1.c: Moved test from here...
* gcc.c-torture/compile/20040124-1.c: ...to here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76639 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/ns32k/ns32k.c (TARGET_STRUCT_VALUE_RTX): New.
kazu [Mon, 26 Jan 2004 15:50:55 +0000 (15:50 +0000)]
* config/ns32k/ns32k.c (TARGET_STRUCT_VALUE_RTX): New.
(ns32k_struct_value_rtx): Likewise.
* config/ns32k/ns32k.h (STRUCT_VALUE_REGNUM): Rename to
NS32K_STRUCT_VALUE_REGNUM.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76638 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/arm/arm.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
kazu [Mon, 26 Jan 2004 15:40:04 +0000 (15:40 +0000)]
* config/arm/arm.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
(TARGET_PROMOTE_PROTOTYPES): Likewise.
(TARGET_STRUCT_VALUE_RTX): Likewise.
(arm_struct_value_rtx): Likewise.
* config/arm/arm.h (PROMOTE_FUNCTION_ARGS): Remove.
(STRUCT_VALUE): Likewise.
(STRUCT_VALUE_REGNUM): Likewise.
(PROMOTE_PROTOTYPES): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76636 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/ia64/ia64-protos.h: Remove the prototype for
kazu [Mon, 26 Jan 2004 15:32:42 +0000 (15:32 +0000)]
* config/ia64/ia64-protos.h: Remove the prototype for
ia64_setup_incoming_varargs and ia64_return_in_memory.
* config/ia64/ia64.c (TARGET_STRUCT_VALUE_RTX): New.
(TARGET_RETURN_IN_MEMORY): Likewise.
(TARGET_SETUP_INCOMING_VARARGS): Likewise.
(TARGET_STRICT_ARGUMENT_NAMING): Likewise.
(ia64_setup_incoming_varargs): Adjust the arguments to meet
the requirement of TARGET_SETUP_INCOMING_VARARGS.
(ia64_return_in_memory): Make it static.  Change the return
type to bool from int.  Add an argument.
(ia64_struct_value_rtx): New.
* config/ia64/ia64.h: Remove commented-out definitions of
PROMOTE_FUNCTION_ARGS, PROMOTE_FUNCTION_RETURN, and
PROMOTE_PROTOTYPES.
(RETURN_IN_MEMORY): Remove.
(STRUCT_VALUE_REGNUM): Likewise.
(STRICT_ARGUMENT_NAMING): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76635 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-26 Ed Schonberg <schonberg@gnat.com>
charlet [Mon, 26 Jan 2004 14:47:48 +0000 (14:47 +0000)]
2004-01-26  Ed Schonberg  <schonberg@gnat.com>

* exp_ch3.adb (Build_Slice_Assignment): New TSS procedure for
one-dimensional array an slice assignments, when component type is
controlled.

* exp_ch5.adb (Expand_Assign_Array): If array is one-dimensional,
component type is controlled, and control_actions are in effect, use
TSS procedure rather than generating inline code.

* exp_tss.ads (TSS_Slice_Assign): New TSS procedure for one-dimensional
arrays with controlled components.

2004-01-26  Vincent Celier  <celier@gnat.com>

* gnatcmd.adb (GNATCmd): Add specification of argument file on the
command line for the non VMS case.

* gnatlink.adb (Process_Binder_File): When building object file, if
GNU linker is used, put all object paths between quotes, to prevent ld
error when there are unusual characters (such as '!') in the paths.

* Makefile.generic: When there are sources in Ada and the main is in
C/C++, invoke gnatmake with -B, instead of -z.

* vms_conv.adb (Preprocess_Command_Data): New procedure, extracted
from VMS_Conversion.
(Process_Argument): New procedure, extracted from VMS_Conversion. Add
specification of argument file on the command line.

2004-01-26  Bernard Banner  <banner@gnat.com>

* Makefile.in: Enable GMEM_LIB and SYMLIB for x86_64

2004-01-26  Ed Schonberg  <schonberg@gnat.com>

* snames.adb: Update copyright notice.
Add info on slice assignment for controlled arrays.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76634 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-26 Kim Ho <kho@redhat.com>
kho [Mon, 26 Jan 2004 13:56:59 +0000 (13:56 +0000)]
2004-01-26  Kim Ho  <kho@redhat.com>

        * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
        private.
        (setMenuBar): Grab MenuBar height and change insets.
        (setBounds): Account for MenuBar height.
        (postInsetsChangedEvent): Ditto.
        (postSizeAllocateEvent): Remove.
        * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
        (menubar_resize_cb): Remove
        (setMenuBarPeer): Remove callback.
        (getMenuBarHeight): Use size requisition instead of
        allocation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76633 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-26 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 26 Jan 2004 12:58:53 +0000 (12:58 +0000)]
2004-01-26  Paolo Carlini  <pcarlini@suse.de>

* include/bits/basic_string.h (replace(iterator, iterator,
const basic_string&)): Remove _GLIBCXX_DEBUG_PEDASSERT.
(replace(iterator, iterator, const _CharT*)): Ditto.
(replace(iterator, iterator, const _CharT*, size_type)):
Add missing _GLIBCXX_DEBUG_PEDASSERT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76630 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR target/13666
ebotcazou [Mon, 26 Jan 2004 11:11:11 +0000 (11:11 +0000)]
PR target/13666
* config/sparc/sparc.c (function_arg_union_value): New function.
(function_arg): Use it to deal with unions.
(function_value): Likewise.  Define 'regbase' only for ARCH64.
Replace a conditional statement by a simpler one.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76628 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-26 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 26 Jan 2004 09:07:18 +0000 (09:07 +0000)]
2004-01-26  Paolo Carlini  <pcarlini@suse.de>

* include/bits/basic_string.tcc (replace(size_type,
size_type, const _CharT*, size_type)): Implement optimized
in-place algorithm for non-overlapping ranges.
* testsuite/21_strings/basic_string/replace/char/6.cc: New.
* testsuite/21_strings/basic_string/replace/wchar_t/6.cc: New.

* include/bits/basic_string.tcc (insert(size_type,
const _CharT*, size_type)): Tweak slightly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76625 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mips/mips.c (mips16_optimize_gp): Delete.
rsandifo [Mon, 26 Jan 2004 08:07:01 +0000 (08:07 +0000)]
* config/mips/mips.c (mips16_optimize_gp): Delete.
(mips_reorg): Don't call it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76623 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.dg/sparc-ret.c: Run only in 32-bit mode. Don't scan
ebotcazou [Mon, 26 Jan 2004 07:39:29 +0000 (07:39 +0000)]
* gcc.dg/sparc-ret.c: Run only in 32-bit mode.  Don't scan
the assembly output if -m64 is passed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76621 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * configure.ac: Add m4_pattern_allow(LIBOBJS).
ian [Mon, 26 Jan 2004 04:44:11 +0000 (04:44 +0000)]
* configure.ac: Add m4_pattern_allow(LIBOBJS).
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76619 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/c4x/c4x.md (addqi3_noclobber): Move up pecking order.
m.hayes [Mon, 26 Jan 2004 03:36:07 +0000 (03:36 +0000)]
* config/c4x/c4x.md (addqi3_noclobber): Move up pecking order.
(floatunsqihf2): Remove operand 6.
(fixhfqi_set, fix_trunchfqi2, fixuns_trunchfqi2): Group with other
fix patterns.
(ldi_conditional, ldf_conditional): Validate operands.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76618 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/c4x/c4x.h (BCT_CHECK_LOOP_ITERATIONS): Remove.
m.hayes [Mon, 26 Jan 2004 03:24:39 +0000 (03:24 +0000)]
* config/c4x/c4x.h (BCT_CHECK_LOOP_ITERATIONS): Remove.
(HAVE_GAS_HIDDEN): Undefine as interim measure.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76617 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/13833
mmitchel [Mon, 26 Jan 2004 03:13:49 +0000 (03:13 +0000)]
PR c++/13833
* call.c (build_over_call): Do not convert arguments when
processing a template.
* pt.c (build_non_dependent_expr): Do not build a
NON_DEPENDENT_EXPR for arithmetic constants.

PR c++/13833
* g++.dg/template/cond3.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76616 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/c4x/c4x.c (c4x_legitimate_address_p): Invalidate direct
m.hayes [Mon, 26 Jan 2004 00:40:05 +0000 (00:40 +0000)]
* config/c4x/c4x.c (c4x_legitimate_address_p):  Invalidate direct
memory references if TARGET_EXPOSE_LDP nonzero.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76611 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/c4x/c4x.c (legitimize_operands): Truncate invalid shift counts.
m.hayes [Mon, 26 Jan 2004 00:31:50 +0000 (00:31 +0000)]
* config/c4x/c4x.c (legitimize_operands): Truncate invalid shift counts.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76610 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoFix last commit.
m.hayes [Mon, 26 Jan 2004 00:28:33 +0000 (00:28 +0000)]
Fix last commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76608 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/c4x/c4x.c (c4x_valid_operands): More aggressively reject
m.hayes [Mon, 26 Jan 2004 00:20:07 +0000 (00:20 +0000)]
* config/c4x/c4x.c (c4x_valid_operands): More aggressively reject
invalid operand combinations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76607 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Mon, 26 Jan 2004 00:16:15 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76604 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/c4x/c4x.c (c4x_check_legit_addr): Rename to
m.hayes [Mon, 26 Jan 2004 00:12:05 +0000 (00:12 +0000)]
* config/c4x/c4x.c (c4x_check_legit_addr): Rename to
c4x_legitimate_address_p.  Fix post_modify check.
* config/c4x/c4x-protos.h (c4x_check_legit_addr): Adjust.
* config/c4x/c4x.h (c4x_check_legit_addr): Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76601 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/pa/pa-protos.h: Remove the prototype for
kazu [Mon, 26 Jan 2004 00:09:47 +0000 (00:09 +0000)]
* config/pa/pa-protos.h: Remove the prototype for
hppa_builtin_saveregs.  Add a prototype for
pa_return_in_memory.
* config/pa/pa.c (TARGET_PROMOTE_FUNCTION_RETURN): New.
(TARGET_PROMOTE_PROTOTYPES): Likewise.
(TARGET_STRUCT_VALUE_RTX): Likewise.
(TARGET_RETURN_IN_MEMORY): Likewise.
(TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise.
(pa_struct_value_rtx): Likewise.
(pa_return_in_memory): Likewise.
* config/pa/pa.h (STRUCT_VALUE_REGNUM): Rename to
PA_STRUCT_VALUE_REGNUM.
(INIT_CUMULATIVE_ARGS): Use pa_return_in_memory.
(EXPAND_BUILTIN_SAVEREGS): Remove.
(PROMOTE_PROTOTYPES): Likewise.
(PROMOTE_FUNCTION_RETURN): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76600 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/vax/vax.c (TARGET_PROMOTE_PROTOTYPES): New.
kazu [Mon, 26 Jan 2004 00:05:38 +0000 (00:05 +0000)]
* config/vax/vax.c (TARGET_PROMOTE_PROTOTYPES): New.
(TARGET_STRUCT_VALUE_RTX): Likewise.
(vax_struct_value_rtx): Likewise.
* config/vax/vax.h (STRUCT_VALUE_REGNUM): Rename to
VAX_STRUCT_VALUE_REGNUM.
(PROMOTE_PROTOTYPES): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76599 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/c4x/c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Handle symref.
m.hayes [Sun, 25 Jan 2004 23:58:39 +0000 (23:58 +0000)]
    * config/c4x/c4x.h (LEGITIMIZE_RELOAD_ADDRESS):  Handle symref.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76598 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-04-25 Chris Demetriou <cgd@broadcom.com>
cgd [Sun, 25 Jan 2004 23:45:48 +0000 (23:45 +0000)]
2003-04-25  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/mips.h (ISA_HAS_HILO_INTERLOCKS): MIPS32, MIPS32r2,
        and MIPS64 have HI/LO interlocks.  Update comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76597 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* config/locale/gnu/monetary_members.cc: Restore locale before
schwab [Sun, 25 Jan 2004 23:31:43 +0000 (23:31 +0000)]
* config/locale/gnu/monetary_members.cc: Restore locale before
rethrowing exception.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76595 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/13810
giovannibajo [Sun, 25 Jan 2004 22:46:48 +0000 (22:46 +0000)]
PR c++/13810
* g++.dg/template/ttp7.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76594 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/13810
giovannibajo [Sun, 25 Jan 2004 22:43:08 +0000 (22:43 +0000)]
PR c++/13810
* parser.c (cp_parser_type_parameter): When cp_parser_id_expression
returns a TYPE_DECL. no further lookup is required.
* semantics.c (check_template_template_default_arg): A TYPE_DECL
is invalid. Rework to give better diagnostics.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76593 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-25 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 25 Jan 2004 22:43:07 +0000 (22:43 +0000)]
2004-01-25  Paolo Carlini  <pcarlini@suse.de>

* include/bits/basic_string.h (_M_replace_aux, _M_replace_safe):
Define inline here.
* include/bits/basic_string.tcc (_M_replace_aux, _M_replace_safe):
Move inline.

* include/bits/basic_string.tcc: Very minor tweaks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76592 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/stormy16/stormy16-protos.h: Remove the prototype for
kazu [Sun, 25 Jan 2004 22:20:15 +0000 (22:20 +0000)]
* config/stormy16/stormy16-protos.h: Remove the prototype for
xstormy16_setup_incoming_varargs.
* config/stormy16/stormy16.c
(xstormy16_setup_incoming_varargs): Remove.
(xstormy16_return_in_memory): New.
(TARGET_PROMOTE_FUNCTION_ARGS): Likewise.
(TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
(TARGET_PROMOTE_PROTOTYPES): Likewise.
(TARGET_STRUCT_VALUE_RTX): Likewise.
(TARGET_RETURN_IN_MEMORY): Likewise.
* config/stormy16/stormy16.h (PROMOTE_FUNCTION_ARGS): Remove.
(PROMOTE_FUNCTION_RETURN): Likewise
(PROMOTE_PROTOTYPES): Likewise
(RETURN_IN_MEMORY): Likewise
(STRUCT_VALUE): Likewise
(SETUP_INCOMING_VARARGS): Likewise

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76590 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * EXCLUDES: Update.
jsm28 [Sun, 25 Jan 2004 21:50:01 +0000 (21:50 +0000)]
* EXCLUDES: Update.
* gcc.pot: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76588 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mips/mips.c (mips_offset_within_object_p): New function.
rsandifo [Sun, 25 Jan 2004 21:27:37 +0000 (21:27 +0000)]
* config/mips/mips.c (mips_offset_within_object_p): New function.
(mips_symbolic_constant_p): Use it in the SYMBOL_SMALL_DATA and
SYMBOL_CONSTANT_POOL cases.  Also use it for SYMBOL_GENERAL if the
ABI has 64-bit pointers and the object file only allows 32-bit symbols.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76586 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/sh/sh.h (PROMOTE_FUNCTION_ARGS): Remove.
kazu [Sun, 25 Jan 2004 20:23:09 +0000 (20:23 +0000)]
* config/sh/sh.h (PROMOTE_FUNCTION_ARGS): Remove.
(PROMOTE_FUNCTION_RETURN): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76584 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mn10300/mn10300-protos.h: Remove the prototype for
kazu [Sun, 25 Jan 2004 20:17:44 +0000 (20:17 +0000)]
* config/mn10300/mn10300-protos.h: Remove the prototype for
mn10300_builtin_saveregs.
* config/mn10300/mn10300.c (TARGET_PROMOTE_PROTOTYPES): New.
(TARGET_STRUCT_VALUE_RTX): Likewise.
(TARGET_RETURN_IN_MEMORY): Likewise.
(TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise.
(mn10300_return_in_memory): Likewise.
(mn10300_builtin_saveregs): Make it static.
* config/mn10300/mn10300.h (PROMOTE_PROTOTYPES): Remove.
(RETURN_IN_MEMORY): Likewise.
(STRUCT_VALUE): Likewise.
(EXPAND_BUILTIN_SAVEREGS): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76581 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR bootstrap/13853
ebotcazou [Sun, 25 Jan 2004 20:09:27 +0000 (20:09 +0000)]
PR bootstrap/13853
* cfgcleanup.c (try_optimize_cfg): Explicitly test against 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76579 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
fitzsim [Sun, 25 Jan 2004 18:36:04 +0000 (18:36 +0000)]
2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>

* java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
(getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
when peer is null.
(setColumns): Remove FIXME -- peer will retrieve number of
columns by calling getColumns.
(setRows): Likewise for number of rows.
(next_text_number): New field.
(paramString): Fix param string.
(generateName): New method.
(getUniqueLong): New method.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76577 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
fitzsim [Sun, 25 Jan 2004 18:29:42 +0000 (18:29 +0000)]
2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>

* gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
image observer of image loading status.
(getImage (String)): Start image production.
(getImage (URL)): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76574 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/h8300/lib1funcs.asm (divnorm, modnorm): Optimize by
kazu [Sun, 25 Jan 2004 17:51:51 +0000 (17:51 +0000)]
* config/h8300/lib1funcs.asm (divnorm, modnorm): Optimize by
using ccr.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76573 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/i860/i860-protos.h: Remove the prototype for
kazu [Sun, 25 Jan 2004 17:41:01 +0000 (17:41 +0000)]
* config/i860/i860-protos.h: Remove the prototype for
i860_saveregs.
* config/i860/i860.c (i860_saveregs): Make it static.
(i860_struct_value_rtx): New.
(TARGET_STRUCT_VALUE_RTX): Likewise.
(TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise.
* config/i860/i860.h (STRUCT_VALUE_REGNUM): Rename to
I860_STRUCT_VALUE_REGNUM.
(EXPAND_BUILTIN_SAVEREGS): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76572 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/m68hc11/m68hc11.c (TARGET_STRUCT_VALUE_RTX): New.
kazu [Sun, 25 Jan 2004 17:35:43 +0000 (17:35 +0000)]
* config/m68hc11/m68hc11.c (TARGET_STRUCT_VALUE_RTX): New.
(TARGET_RETURN_IN_MEMORY): Likewise.
(m68hc11_struct_value_rtx): Likewise.
(m68hc11_return_in_memory): Likewise.
* config/m68hc11/m68hc11.h: Remove a commented-out definition
of PROMOTE_PROTOTYPES.
(RETURN_IN_MEMORY): Remove.
(STRUCT_VALUE_REGNUM): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76571 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mmix/mmix-protos.h: Remove the prototype for
kazu [Sun, 25 Jan 2004 17:30:51 +0000 (17:30 +0000)]
* config/mmix/mmix-protos.h: Remove the prototype for
mmix_setup_incoming_varargs.
* config/mmix/mmix.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
(TARGET_STRUCT_VALUE_RTX): Likewise.
(TARGET_SETUP_INCOMING_VARARGS): Likewise.
(mmix_setup_incoming_varargs): Make it static.
(mmix_struct_value_rtx): New.
* config/mmix/mmix.h (PROMOTE_FUNCTION_ARGS): Remove.
Remove a commented-out definition of PROMOTE_FUNCTION_RETURN.
(STRUCT_VALUE_REGNUM): Remove.
(SETUP_INCOMING_VARARGS): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76570 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mips/mips-protos.h: Remove the prototypes for
kazu [Sun, 25 Jan 2004 17:28:19 +0000 (17:28 +0000)]
* config/mips/mips-protos.h: Remove the prototypes for
mips_setup_incoming_varargs and mips_return_in_memory.
* config/mips/mips.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.
(mips_setup_incoming_varargs): Match the prototype for
TARGET_SETUP_INCOMING_VARARGS.
(mips_return_in_memory): Make it static.  Add argument fntype.
(mips_strict_argument_naming): New.
* config/mips/mips.h (PROMOTE_PROTOTYPES): Remove.
(PROMOTE_FUNCTION_ARGS): Likewise.
(PROMOTE_FUNCTION_RETURN): Likewise.
(STRUCT_VALUE): Likewise.
(RETURN_IN_MEMORY): Likewise.
(SETUP_INCOMING_VARARGS): Likewise.
(STRICT_ARGUMENT_NAMING): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76569 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mips/mips-protos.h: Remove the prototypes for
kazu [Sun, 25 Jan 2004 17:23:01 +0000 (17:23 +0000)]
* config/mips/mips-protos.h: Remove the prototypes for
mips_setup_incoming_varargs and mips_return_in_memory.
* config/mips/mips.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.
(mips_setup_incoming_varargs): Match the prototype for
TARGET_SETUP_INCOMING_VARARGS.
(mips_return_in_memory): Make it static.  Add argument fntype.
(mips_strict_argument_naming): New.
* config/mips/mips.h (PROMOTE_PROTOTYPES): Remove.
(PROMOTE_FUNCTION_ARGS): Likewise.
(PROMOTE_FUNCTION_RETURN): Likewise.
(STRUCT_VALUE): Likewise.
(RETURN_IN_MEMORY): Likewise.
(SETUP_INCOMING_VARARGS): Likewise.
(STRICT_ARGUMENT_NAMING): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76568 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/ip2k/ip2k.c (TARGET_STRUCT_VALUE_RTX): New.
kazu [Sun, 25 Jan 2004 17:14:41 +0000 (17:14 +0000)]
* config/ip2k/ip2k.c (TARGET_STRUCT_VALUE_RTX): New.
(TARGET_RETURN_IN_MEMORY): Likewise.
(TARGET_SETUP_INCOMING_VARARGS): Likewise.
(ip2k_return_in_memory): Likewise.
(ip2k_setup_incoming_varargs): Likewise.
* config/ip2k/ip2k.h (RETURN_IN_MEMORY): Remove.
(STRUCT_VALUE): Likewise.
(STRUCT_VALUE_INCOMING): Likewise.
(SETUP_INCOMING_VARARGS): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76566 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/avr/avr.c (TARGET_STRUCT_VALUE_RTX): New.
kazu [Sun, 25 Jan 2004 17:10:03 +0000 (17:10 +0000)]
* config/avr/avr.c (TARGET_STRUCT_VALUE_RTX): New.
(TARGET_RETURN_IN_MEMORY): Likewise.
(TARGET_STRICT_ARGUMENT_NAMING): Likewise.
(avr_return_in_memory): Remove.
* config/avr/avr.h (RETURN_IN_MEMORY): Remove.
(STRUCT_VALUE): Likewise.
(STRUCT_VALUE_INCOMING): Likewise.
(STRICT_ARGUMENT_NAMING): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76565 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * de.po: Update.
jsm28 [Sun, 25 Jan 2004 16:48:48 +0000 (16:48 +0000)]
* de.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76563 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoFix ChangeLog date.
lerdsuwa [Sun, 25 Jan 2004 15:03:09 +0000 (15:03 +0000)]
Fix ChangeLog date.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76560 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/13797
lerdsuwa [Sun, 25 Jan 2004 14:18:19 +0000 (14:18 +0000)]
PR c++/13797
* pt.c (instantiate_class_template): Add an error_mark_node
check.
(tsubst_decl) <TEMPLATE_DECL case>: Likewise.

* g++.dg/template/nontype4.C: New test.
* g++.dg/template/nontype5.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76556 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-25 Michael Koch <konqueror@gmx.de>
mkoch [Sun, 25 Jan 2004 13:08:08 +0000 (13:08 +0000)]
2004-01-25  Michael Koch  <konqueror@gmx.de>

* java/lang/Class.java: Imports reworked, reformated.
(Class): Javadoc added.
(forName): Likewise.
(getClasses): Likewise.
(getClassLoader): Likewise.
(getComponentType): Likewise.
(getConstructor): Likewise.
(getConstructors): Likewise.
(getDeclaredConstructor): Likewise.
(getDeclaredClasses): Likewise.
(getDeclaredConstructors): Likewise.
(getDeclaredField): Likewise.
(getDeclaredMethod): Likewise.
(getDeclaredMethods): Likewise.
(getDeclaringClass): Likewise.
(getField): Likewise.
(getInterfaces): Likewise.
(getMethod): Likewise.
(getMethods): Likewise.
(getModifiers): Likewise.
(getName): Likewise.
(getResource): Likewise.
(getResourceAsStream): Likewise.
(getSigners): Likewise.
(setSigners): Likewise.
(getSuperclass): Likewise.
(isArray): Likewise.
(isAssignableFrom): Likewise.
(isInstance): Likewise.
(isInterface): Likewise.
(isPrimitive): Likewise.
(newInstance): Likewise.
(getProtectionDomain): Likewise.
(toString): Likewise.
(Class): Moved.
(initializeClass): Likewise.
(finalize): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76554 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * combine.c (recog_for_combine): Avoid allocating unnecesary RTX.
hubicka [Sun, 25 Jan 2004 11:11:47 +0000 (11:11 +0000)]
* combine.c (recog_for_combine): Avoid allocating unnecesary RTX.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76553 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-25 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 25 Jan 2004 11:07:50 +0000 (11:07 +0000)]
2004-01-25  Paolo Carlini  <pcarlini@suse.de>

* testsuite/performance/string_append.cc: Increase number
of iterations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76551 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-25 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 25 Jan 2004 10:26:46 +0000 (10:26 +0000)]
2004-01-25  Paolo Carlini  <pcarlini@suse.de>

* include/bits/basic_string.h (erase(size_type, size_type),
erase(iterator), erase(iterator, iterator)): Call _M_replace_safe
instead, thus avoiding redundant check for length_error.

* include/bits/basic_string.h: Tweak some comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76550 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mips/mips-protos.h (mips_reg_mode_ok_for_base_p): Delete.
rsandifo [Sun, 25 Jan 2004 10:16:21 +0000 (10:16 +0000)]
* config/mips/mips-protos.h (mips_reg_mode_ok_for_base_p): Delete.
(mips_regno_mode_ok_for_base_p): Declare.
* config/mips/mips.h (ARG_POINTER_REGNUM): Renumber to 77.
(FRAME_POINTER_REGNUM): Renumber to 78.
(FIRST_PSEUDO_REGISTER): Update comment accordingly.
(BASE_REG_P, GP_REG_OR_PSEUDO_STRICT_P): Delete.
(GP_REG_OR_PSEUDO_NONSTRICT_P): Delete.
(REGNO_MODE_OK_FOR_BASE_P): Use mips_regno_mode_ok_for_base_p.
(REG_MODE_OK_FOR_BASE_P): Likewise.
* config/mips/mips.c (mips_reg_names, mips_sw_reg_names): Change
entry for 77 to "$arg" and entry for 78 to "$frame".
(mips_regno_to_class): Map 77 and 78 to ALL_REGS.
(mips_reg_mode_ok_for_base_p): Remove.
(mips_regno_mode_ok_for_base_p): New function, derived from old
BASE_REG_P macro.  Don't enforce the mips16 stack pointer
restrictions unless we're being strict.
(mips_valid_base_register_p): Use mips_regno_mode_ok_for_base_p.

testsuite/
* gcc.dg/torture/mips-clobber-at.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76547 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * src/sparc/ffi.c (ffi_prep_args_v9): Shift the parameter array
ebotcazou [Sun, 25 Jan 2004 06:58:33 +0000 (06:58 +0000)]
* src/sparc/ffi.c (ffi_prep_args_v9): Shift the parameter array
when the structure return address is passed in %o0.
(ffi_V9_return_struct): Rename into ffi_v9_layout_struct.
(ffi_v9_layout_struct): Align the field following a nested structure
on a word boundary.  Use memmove instead of memcpy.
(ffi_call): Update call to ffi_V9_return_struct.
(ffi_prep_closure): Define 'ctx' only for V8.
(ffi_closure_sparc_inner): Clone into ffi_closure_sparc_inner_v8
and ffi_closure_sparc_inner_v9.
(ffi_closure_sparc_inner_v8): Return long doubles by reference.
Always skip the structure return address.  For structures and long
doubles, copy the argument directly.
(ffi_closure_sparc_inner_v9): Skip the structure return address only
if required.  Shift the maximum floating-point slot accordingly.  For
big structures, copy the argument directly; otherwise, left-justify the
argument and call ffi_v9_layout_struct to lay out the structure on
the stack.
* src/sparc/v8.S: Undef STACKFRAME before defining it.
(ffi_closure_v8): Pass the structure return address.  Update call to
ffi_closure_sparc_inner_v8.  Short-circuit FFI_TYPE_INT handling.
Skip the 'unimp' insn when returning long doubles and structures.
* src/sparc/v9.S: Undef STACKFRAME before defining it.
(ffi_closure_v9): Increase the frame size by 2 words.  Short-circuit
FFI_TYPE_INT handling.  Load structures both in integers and
floating-point registers on return.
* README: Update status of the SPARC port.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76543 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoRemove for real.
pinskia [Sun, 25 Jan 2004 06:03:25 +0000 (06:03 +0000)]
Remove for real.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76542 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * c-common.h: Fix comment typos.
kazu [Sun, 25 Jan 2004 03:52:42 +0000 (03:52 +0000)]
* c-common.h: Fix comment typos.
* c-decl.c: Likewise.
* cgraphunit.c: Likewise.
* combine.c: Likewise.
* et-forest.c: Likewise.
* flow.c: Likewise.
* function.c: Likewise.
* ifcvt.c: Likewise.
* integrate.c: Likewise.
* jump.c: Likewise.
* postreload.c: Likewise.
* varray.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76539 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * doc/frontends.texi: Update copyright.
kazu [Sun, 25 Jan 2004 03:28:25 +0000 (03:28 +0000)]
* doc/frontends.texi: Update copyright.
* doc/gcov.texi: Likewise.
* doc/gty.texi: Likewise.
* doc/sourcebuild.texi: Likewise.
* doc/standards.texi: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76537 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-24 Herman A.J. ten Brugge <hermantenbrugge@home.nl>
pinskia [Sun, 25 Jan 2004 02:20:16 +0000 (02:20 +0000)]
2004-01-24  Herman A.J. ten Brugge  <hermantenbrugge@home.nl>

        PR target/12978
        * c4x.md: (movstrqi*) Use match_scratch instead of match_dup.
        Remove movstrqi_small because it conflicts with movstrqi_large.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76534 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * de.po: Update.
jsm28 [Sun, 25 Jan 2004 02:06:24 +0000 (02:06 +0000)]
* de.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76532 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Sun, 25 Jan 2004 00:16:10 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76529 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/cris/cris.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
kazu [Sat, 24 Jan 2004 22:27:20 +0000 (22:27 +0000)]
* config/cris/cris.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
(TARGET_STRUCT_VALUE_RTX): Likewise.
(cris_struct_value_rtx): Likewise.
* config/cris/cris.h (PROMOTE_FUNCTION_ARGS): Remove.
(CRIS_STACKADJ_REG): Use CRIS_STRUCT_VALUE_REGNUM instead of
STRUCT_VALUE_REGNUM.
(STRUCT_VALUE_REGNUM): Rename to CRIS_STRUCT_VALUE_REGNUM.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76525 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-24 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 24 Jan 2004 20:56:47 +0000 (20:56 +0000)]
2004-01-24  Michael Koch  <konqueror@gmx.de>

* gnu/java/net/protocol/jar/Connection.java
(hdrHash): Removed.
(hdrVec): Removed.
(gotHeaders): Removed.
(getHeaderField): Removed.
(getHeaderFields): Removed.
(getHeaderFieldKey): Removed.
(getKey): Removed.
(getField): Removed.
(getHeaders): Removed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76523 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR bootstrap/13848
ian [Sat, 24 Jan 2004 20:54:58 +0000 (20:54 +0000)]
PR bootstrap/13848
* cse.c (cse_cc_succs): Change the mode of the source expression
as soon as decide we need a new mode.  Don't permit changing modes
if we found a match in a successor block.
(cse_condition_code_reg): Save original mode of source expression
so that we know whether we have to change the mode in other
insns.

* gcc.dg/20040124-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76522 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-24 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 24 Jan 2004 20:34:41 +0000 (20:34 +0000)]
2004-01-24  Michael Koch  <konqueror@gmx.de>

* Makefile.am: Added library version to gtk peer lib.
* Makefile.in: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76520 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-24 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 24 Jan 2004 20:32:57 +0000 (20:32 +0000)]
2004-01-24  Michael Koch  <konqueror@gmx.de>

* java/util/zip/InflaterInputStream.java: Merged class documentation
with classpath.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76519 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-24 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 24 Jan 2004 18:54:23 +0000 (18:54 +0000)]
2004-01-24  Paolo Carlini  <pcarlini@suse.de>

* include/bits/basic_string.tcc (operator+(const _CharT*,
const basic_string&)): No need to go through the append
taking two iterators.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76517 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-24 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 24 Jan 2004 16:52:04 +0000 (16:52 +0000)]
2004-01-24  Paolo Carlini  <pcarlini@suse.de>

* include/bits/basic_string.tcc (rfind(_CharT, size_type)):
Revert last change to use std::min: machine language is worse.
(find_last_of(const _CharT*, size_type, size_type)): Ditto.
(find_last_not_of(const _CharT*, size_type, size_type)): Ditto.
(find_last_not_of(_CharT, size_type)): Ditto.

* include/bits/basic_string.tcc (insert(size_type, const _CharT*,
size_type)): Discard the value returned by _M_check.
(replace(size_type, size_type, const _CharT*, size_type)): Ditto.
(append(const basic_string&, size_type, size_type)): Ditto.
(copy(_CharT*, size_type, size_type)): Ditto.
(compare(size_type, size_type, const basic_string&)): Ditto.
(compare(size_type, size_type, const basic_string&,
size_type, size_type)): Ditto.
(compare(size_type, size_type, const _CharT*)): Ditto.
(compare(size_type, size_type, const _CharT*, size_type)): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76514 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-24 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Sat, 24 Jan 2004 16:13:48 +0000 (16:13 +0000)]
2004-01-24  Andreas Tobler  <a.tobler@schweiz.ch>

* testsuite/libffi.call/pyobjc-tc.c (main): Treat result value
as of type ffi_arg.
* testsuite/libffi.call/struct3.c (main): Fix CHECK.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76513 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * emit-rtl.c (change_address, adjust_address_1, offset_address,
hubicka [Sat, 24 Jan 2004 15:31:04 +0000 (15:31 +0000)]
* emit-rtl.c (change_address, adjust_address_1, offset_address,
widen_memory_access):  Return early when there is nothing to change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76512 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-24 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 24 Jan 2004 12:32:54 +0000 (12:32 +0000)]
2004-01-24  Paolo Carlini  <pcarlini@suse.de>

* include/bits/basic_string.h (insert(size_type,
const basic_string&, size_type, size_type)): Define inline here.
* include/bits/basic_string.tcc (insert(size_type,
const basic_string&, size_type, size_type)): Move inline.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76509 138bc75d-0d04-0410-961f-82ee72b054a4