- 26 Jan, 2004 40 commits
-
-
From-SVN: r76675
Richard Henderson committed -
* c-parse.in (extension): Use itype. (SAVE_EXT_FLAGS): Don't allocate a tree. (RESTORE_EXT_FLAGS): Don't read a tree. From-SVN: r76674
Richard Henderson committed -
From-SVN: r76671
Rainer Orth committed -
* 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. From-SVN: r76669
Rainer Orth committed -
* 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. From-SVN: r76668
David Jee committed -
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c (find_bg_color_widget): For GtkButton, return its child. From-SVN: r76667
David Jee committed -
cselib.c (discard_useless_values): Clear out value pointer pointing to datastructure to be recycled. * cselib.c (discard_useless_values): Clear out value pointer pointing to datastructure to be recycled. From-SVN: r76666
Jan Hubicka committed -
From-SVN: r76665
Jan Hubicka committed -
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. From-SVN: r76664
Paolo Carlini committed -
h8300.c (h8300_tiny_constant_address_p): Use a switch statement instead of a chain of if statements. * config/h8300/h8300.c (h8300_tiny_constant_address_p): Use a switch statement instead of a chain of if statements. From-SVN: r76663
Kazu Hirata committed -
PR c++/13663 * semantics.c (finish_for_expr): Check for unresolved overloaded functions. PR c++/13363 * g++.dg/expr/for1.C: New test. From-SVN: r76659
Mark Mitchell committed -
From-SVN: r76657
Andrew Pinski committed -
* doc/contrib.texi: Minor cleanup for Paolo Carlini's entry. Add acute accents for Petur Runolfsson's entry. From-SVN: r76655
Jeff Law committed -
* 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. From-SVN: r76654
Kazu Hirata committed -
From-SVN: r76652
Fariborz Jahanian committed -
rs6000.c, rs6000.md, function.c, expr.c checked in. All related to -mcpu=G5 compilation mode. From-SVN: r76651
Fariborz Jahanian committed -
re PR middle-end/13779 ([3.4 only] powerpc64: incorrect initialization of 'long long' with constant) PR middle-end/13779 split constant correctly into register components of PARALLEL insn. OKed by Roger Sayle. From-SVN: r76649
Fariborz Jahanian committed -
OKed by Richard Henderson. From-SVN: r76648
Fariborz Jahanian committed -
class.c (add_method): Just check processing_template_decl to determine whether or not we are within a... * 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. From-SVN: r76647
Mark Mitchell committed -
OKed by David Edelsohn. From-SVN: r76646
Fariborz Jahanian committed -
OKed by David Edelsohn. From-SVN: r76645
Fariborz Jahanian committed -
* 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. From-SVN: r76644
Kazu Hirata committed -
* config/arm/arm.c (TARGET_SETUP_INCOMING_VARARGS): New. (arm_setup_incoming_varargs): Likewise. * config/arm/arm.h (SETUP_INCOMING_VARARGS): Remove. From-SVN: r76643
Kazu Hirata committed -
* config/cris/cris.c (TARGET_SETUP_INCOMING_VARARGS): New. (cris_setup_incoming_varargs): Likewise. * config/cris/cris.h (SETUP_INCOMING_VARARGS): Remove. From-SVN: r76640
Kazu Hirata committed -
* gcc.dg/20040124-1.c: Moved test from here... * gcc.c-torture/compile/20040124-1.c: ...to here. From-SVN: r76639
Ian Lance Taylor committed -
* 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. From-SVN: r76638
Kazu Hirata committed -
* 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. From-SVN: r76636
Kazu Hirata committed -
* 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. From-SVN: r76635
Kazu Hirata committed -
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. From-SVN: r76634
Arnaud Charlet committed -
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. From-SVN: r76633
Kim Ho committed -
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. From-SVN: r76630
Paolo Carlini committed -
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. From-SVN: r76628
Eric Botcazou committed -
basic_string.tcc (replace(size_type, size_type, const _CharT*, size_type)): Implement optimized in-place algorithm for non-overlapping ranges. 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. From-SVN: r76625
Paolo Carlini committed -
* config/mips/mips.c (mips16_optimize_gp): Delete. (mips_reorg): Don't call it. From-SVN: r76623
Richard Sandiford committed -
* gcc.dg/sparc-ret.c: Run only in 32-bit mode. Don't scan the assembly output if -m64 is passed. From-SVN: r76621
Eric Botcazou committed -
* configure.ac: Add m4_pattern_allow(LIBOBJS). * configure: Regenerate. From-SVN: r76619
Ian Lance Taylor committed -
* 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. From-SVN: r76618
Michael Hayes committed -
* config/c4x/c4x.h (BCT_CHECK_LOOP_ITERATIONS): Remove. (HAVE_GAS_HIDDEN): Undefine as interim measure. From-SVN: r76617
Michael Hayes committed -
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. From-SVN: r76616
Mark Mitchell committed -
* config/c4x/c4x.c (c4x_legitimate_address_p): Invalidate direct memory references if TARGET_EXPOSE_LDP nonzero. From-SVN: r76611
Michael Hayes committed
-