1. 21 May, 2004 6 commits
    • Makefile.tpl: Whenever a recursive target is defined... · 60975492
      2004-05-21  Paolo Bonzini  <bonzini@gnu.org>
      
      	* Makefile.tpl: Whenever a recursive target is defined, wrap
      	it in a special @if/@endif block, and prepare its maybe
      	dependency in the @if/@endif block
      	* configure.in: Instead of writing maybe dependencies, remove
      	the @if/@endif statements, and remove the @if/@endif blocks
      	that remain.
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      
      From-SVN: r82088
      Paolo Bonzini committed
    • system.h: Poison NO_RECURSIVE_FUNCTION_CSE. · 082a099c
      	* system.h: Poison NO_RECURSIVE_FUNCTION_CSE.
      	* calls.c (prepare_call_address): Don't test
      	NO_RECURSIVE_FUNCTION_CSE.
      	* config/arc/arc.h (NO_RECURSIVE_FUNCTION_CSE): Don't define.
      	* config/arm/arm.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
      	* config/avr/avr.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
      	* config/frv/frv.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
      	* config/i386/i386.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
      	* config/ip2k/ip2k.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
      	* config/iq2000/iq2000.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
      	* config/m32r/m32r.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
      	* config/m68k/m68k.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
      	* config/mcore/mcore.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
      	* config/mips/mips.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
      	* config/stormy16/stormy16.h (NO_RECURSIVE_FUNCTION_CSE):
      	Likewise.
      	* config/xtensa/xtensa.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
      	* config/sh/sh.h: Remove NO_RECURSIVE_FUNCTION_CSE comment.
      	* doc/tm.texi (Costs): Remove documentation for
      	NO_RECURSIVE_FUNCTION_CSE.
      
      From-SVN: r82084
      Ian Lance Taylor committed
    • tree.c (array_type_nelts, [...]): Replace build with build2. · 59ce6d6b
      
      	* tree.c (array_type_nelts, save_expr, substitute_in_expr,
      	get_unwidened, get_narrower): Replace build with build2.
      	* fold-const.c (negate_expr, associate_trees, size_binop,
      	fold_convert, eval_subst, omit_one_operand, invert_truthvalue,
      	pedantic_omit_one_operand, distribute_bit_expr,
      	make_bit_field_ref, optimize_bit_field_compare,
      	decode_field_reference, range_binop, make_range,
      	build_range_check, fold_range_test, fold_truthop,
      	optimize_minmax_comparison, extract_muldiv_1,
      	fold_binary_op_with_conditional_arg, fold_mathfn_compare,
      	fold_inf_compare, fold_single_bit_test, fold,
      	fold_relational_hi_lo, nondestructive_fold_binary_to_constant):
      	Likewise replace build with either build2 or build3.
      
      From-SVN: r82083
      Roger Sayle committed
    • Daily bump. · 8754a0f6
      From-SVN: r82081
      GCC Administrator committed
    • re PR target/15301 ([3.3/3.4 only] gcc does not pass __m128 arguments correctly) · d05aa0af
      2004-05-20  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/15301
      	* gcc.dg/compat/union-m128-1.h: New file.
      	* gcc.dg/compat/union-m128-1_main.c: Likewise.
      	* gcc.dg/compat/union-m128-1_x.c: Likewise.
      	* gcc.dg/compat/union-m128-1_y.c: Likewise.
      
      From-SVN: r82077
      H.J. Lu committed
    • re PR target/15302 ([3.3/3.4 only] gcc not consistent for passing structures with complex in them) · f69a1120
      2004-05-20  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/15302
      	* gcc.dg/compat/struct-complex-1.h: New file.
      	* gcc.dg/compat/struct-complex-1_main.c: Likewise.
      	* gcc.dg/compat/struct-complex-1_x.c: Likewise.
      	* gcc.dg/compat/struct-complex-1_y.c: Likewise.
      
      From-SVN: r82076
      H.J. Lu committed
  2. 20 May, 2004 19 commits
  3. 19 May, 2004 15 commits
    • re PR other/15526 (-ftrapv aborts on 0 * (-1)) · d3a7ef9a
      	PR other/15526
      	* libgcc2.c (__mulvsi3): Fix overflow test.
      	* gcc.dg/ftrapv-1.c: New test case.
      
      From-SVN: r82042
      Falk Hueffner committed
    • re PR c/14171 (Bootstrap (--enable-intermodule) dies with reg-stack.c:235:… · dc44e18a
      re PR c/14171 (Bootstrap (--enable-intermodule) dies with reg-stack.c:235: error: 'nan' redeclared as different kind of symbol)
      
      2004-05-19  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR c/14171
              * reg-stack.c (nan): Rename to ...
              (not_a_num): Here.
              (reg_to_stack): Rename nan to not_a_num.
              (subst_stack_regs_pat): Likewise.
              (convert_regs_entry): Likewise.
              (convert_regs_1): Likewise.
      
      From-SVN: r82040
      Andrew Pinski committed
    • reg-stack.c (nan): Rename to ... · d2032ad8
      2004-05-19  Andrew Pinski  <pinskia@physics.uc.edu>
      
              * reg-stack.c (nan): Rename to ...
              (not_a_num): Here.
              (reg_to_stack): Rename nan to not_a_num.
              (subst_stack_regs_pat): Likewise.
              (convert_regs_entry): Likewise.
              (convert_regs_1): Likewise.
      
      From-SVN: r82039
      Andrew Pinski committed
    • Fix typo in last commit. · a6845d13
      From-SVN: r82037
      Anthony Green committed
    • Makefile.am (awt_java_source_files): Remove javax.rmi and gnu.javax.rmi code. · 0fa13661
      2004-05-19  Anthony Green  <green@redhat.com>
      
      	* Makefile.am (awt_java_source_files): Remove javax.rmi and
      	gnu.javax.rmi code.
      	* Makefile.in: Rebuilt.
      	* javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
      	javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
      	javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
      	javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
      	javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
      	gnu/javax/rmi/CORBA/DelegateFactory.java,
      	gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
      	gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
      	gnu/javax/rmi/CORBA/StubDelegateImpl.java,
      	gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
      	gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
      	gnu/javax/rmi/PortableServer.java: Remove files.
      
      From-SVN: r82036
      Anthony Green committed
    • tree-into-ssa.c (prepare_operand_for_rename): New argument is_use. · 34eb8991
      	* tree-into-ssa.c (prepare_operand_for_rename): New argument is_use.
      	If the operand is for a use, then strip away the SSA_NAME, do not
      	strip away the SSA_NAME for a set.  Never call release_ssa_name.
      	(mark_def_sites): Appropriately pass additional argument to
      	prepare_operand_for_rename.  If a VDEF_RESULT is not an SSA_NAME,
      	then set the VDEF_RESULT to the VDEF_OP.
      	(set_def_block): Strip away any SSA_NAME to get to the real
      	underlying variable.
      
      From-SVN: r82035
      Jeff Law committed
    • Makefile.am: Define JAVA_EXT_DIRS. · 0f22079e
      2004-05-19  Anthony Green  <green@redhat.com>
      
      	* Makefile.am: Define JAVA_EXT_DIRS.
      	* Makefile.in: Rebuilt.
      	* java/lang/natRuntime.cc (insertSystemProperties): Set
      	java.ext.dirs property.
      
      From-SVN: r82034
      Anthony Green committed
    • tree-cfg.c (find_case_label_for_value): Replace call to simple_cst_equal with tree_int_cst_equal. · e916e1d0
      2004-05-19  Andrew Pinski  <pinskia@physics.uc.edu>
      
              * tree-cfg.c (find_case_label_for_value): Replace call to
              simple_cst_equal with tree_int_cst_equal.
      
      From-SVN: r82033
      Andrew Pinski committed
    • tree-ssa-phiopt.c (value_replacement): Handle the case where the desired edge… · 84c672b9
      tree-ssa-phiopt.c (value_replacement): Handle the case where the desired edge out of COND_BLOCK reaches OTHER_BLOCK...
      
      	* tree-ssa-phiopt.c (value_replacement): Handle the case where
      	the desired edge out of COND_BLOCK reaches OTHER_BLOCK rather than
      	BB directly.
      
      From-SVN: r82031
      Jeff Law committed
    • Multiple fixes: PRs 14692, 15274 and 15463 · 0aea6467
      	PR c++/15463
      	* loop-iv.c (iv_number_of_iterations):  Use trunc_int_for_mode on
      	result of inverse.
      
      	PR rtl-optimization/15274
      	* loop-iv.c (determine_max_iter, shorten_into_mode,
      	iv_number_of_iterations): Handle constants correctly.
      	* rtl.h (get_mode_bounds): Declaration changed.
      	* stor-layout.c (get_mode_bounds): Return a constant suitable for
      	the target mode.
      
      	PR rtl-optimization/14692
      	* loop-unswitch.c (may_unswitch_on): Try folding the result.
      	(unswitch_single_loop): Work correctly when may_unswitch_on
      	returns a folded constant.
      
      	* loop-iv.c (implies_p): Handle A < B ==> A + 1 <= B.
      	* simplify-rtx.c (simplify_const_relational_operation): Optimize
      	comparisons with mode bounds.
      
      	* function.c (struct temp_slot): Add new field prev.
      	(free_after_compilation, init_temp_slots): Free new fields.
      	(cut_slot_from_list, insert_slot_to_list,
      	temp_slots_at_level, max_slot_level, move_slot_to_level,
      	make_slot_available): New functions.
      	(assign_stack_temp_for_type, combine_temp_slots,
      	find_temp_slot_from_address, preserve_temp_slots,
      	preserve_rtl_expr_result, free_temp_slots,
      	free_temps_for_rtl_expr, pop_temp_slots): Work with
      	the new structure of lists.
      	(mark_all_temps_used): Removed.
      	* function.h (struct function): Field x_temp_slots
      	replaced by x_used_temp_slots and x_avail_temp_slots.
      	(temp_slots): Replaced by ...
      	(used_temp_slots, avail_temp_slots): New.
      	* tree.h (mark_all_temps_used): Declaration removed.
      
      	* loop-iv.c (mark_single_set, get_biv_step_1, iv_analyze,
      	simplify_using_assignment): Take the expression out of
      	the expr_list wrapper.
      
      	* loop-iv.c (iv_number_of_iterations): Improve clasification of
      	infinite loops.
      
      From-SVN: r82028
      Zdenek Dvorak committed
    • typeck.c: Remove non-printable character 160. · 20cb64fd
      2004-05-19  Paolo Bonzini  <bonzini@gnu.org>
      
      	* typeck.c: Remove non-printable character 160.
      
      From-SVN: r82027
      Paolo Bonzini committed
    • [multiple changes] · c37bb106
      2004-05-19  Joel Brobecker  <brobecker@gnat.com>
      
      	* exp_dbug.ads: Correct comments concerning handling of overloading,
      	since we no longer use $ anymore.
      
      2004-05-19  Sergey Rybin  <rybin@act-europe.fr>
      
      	* sem_ch10.adb (Optional_Subunit): When loading a subunit, do not
      	ignore errors if ASIS_Mode is set. This prevents creating ASIS trees
      	with illegal subunits.
      
      2004-05-19  Ed Schonberg  <schonberg@gnat.com>
      
      	* sem_ch6.adb (Check_Following_Pragma): When compiling a subprogram
      	body with front-end inlining enabled, check whether an inline pragma
      	appears immediately after the body and applies to it.
      
      	* sem_prag.adb (Cannot_Inline): Emit warning if front-end inlining is
      	enabled and the pragma appears after the body of the subprogram.
      
      From-SVN: r82026
      Arnaud Charlet committed
    • tm.texi (TARGET_RTX_COSTS): Document that instruction costs should be based on code size when... · 31a52b86
      
      	* doc/tm.texi (TARGET_RTX_COSTS): Document that instruction
      	costs should be based on code size when optimizing for size.
      
      From-SVN: r82025
      Roger Sayle committed
    • fold-const.c: Remove non-printable character 160. · d28f752b
      2004-05-19  Paolo Bonzini  <bonzini@gnu.org>
      
      	* fold-const.c: Remove non-printable character 160.
      
      From-SVN: r82024
      Paolo Bonzini committed
    • Credit Feng Wang <fengwang@nudt.edu.cn> in ChangeLog. · 59fa6e39
      From-SVN: r82023
      Feng Wang committed