1. 13 Mar, 2008 5 commits
  2. 12 Mar, 2008 13 commits
    • * config.sub, config.guess: Update from upstream sources. · 954910ef
      From-SVN: r133153
      Ben Elliston committed
    • thumb2.md: Extend peephole to cover 3-arg subs. · d1b85efb
      2008-03-12  Paul Brook  <paul@codesourcery.com>
      
      	gcc/
      	* config/arm/thumb2.md: Extend peephole to cover 3-arg subs.
      	(thumb2_alusi3_short): Exclude PLUS and MINUS.
      	(thumb2_addsi_shortim): Rename ...
      	(thumb2_addsi_short): ... to this.  Allow register operands.
      	(thumb2_subsi_short): New pattern.
      	(thumb2_one_cmplsi2_short,
      	thumb2_negsi2_short): New patterns and peepholes.
      
      From-SVN: r133152
      Paul Brook committed
    • arm.c (arm_size_rtx_costs): Use ARM costs for Thumb-2. · 09754904
      2008-03-12  Paul Brook  <paul@codesourcery.com>
      
      	gcc/
      	* config/arm/arm.c (arm_size_rtx_costs): Use ARM costs for Thumb-2.
      
      From-SVN: r133151
      Paul Brook committed
    • i386.md (int_cond): New code iterator. · a7438d6d
              * config/i386/i386.md (int_cond): New code iterator.
              (fp_cond): Ditto.
              ("s<code>"): Macroize expander from seq, sne, sgt, sgtu, slt, sltu,
              sge, sgeu, sle and sleu expanders usign int_cond code iterator.
              ("s<code>"): Macroize expander from sunordered, sordered, suneq, sunge,
              sungt, sunle, sunlt and sltgt expanders usign fp_cond code iterator.
              ("b<code>"): Macroize expander from beq, bne, bgt, bgtu, blt, bltu,
              bge, bgeu, ble and bleu expanders usign int_cond code iterator.
              ("b<code>"): Macroize expander from bunordered, bordered, buneq, bunge,
              bungt, bunle, bunlt and bltgt expanders usign fp_cond code iterator.
      
      From-SVN: r133150
      Uros Bizjak committed
    • arm.c (use_return_insn): Use offsets->saved_regs_mask instead of {arm,thumb}_compute_save_reg_mask. · 954954d1
      2008-03-12  Paul Brook  <paul@codesourcery.com>
      
      	gcc/
      	* config/arm/arm.c (use_return_insn): Use offsets->saved_regs_mask
      	instead of {arm,thumb}_compute_save_reg_mask.
      	(output_return_instruction): Ditto.
      	(thumb_unexpanded_epilogue): Ditto.
      	(thumb1_expand_prologue): Ditto.
      	(thumb1_output_function_prologue): Ditto.
      	(arm_set_return_address): Ditto.
      	(thumb_set_return_address): Ditto.
      	(arm_get_frame_offsets): Set offsets->saved_regs_mask.  Push extra
      	regs to achieve stack alignment.
      	(thumb1_compute_save_reg_mask): Fix compiler warning.
      	(arm_output_epilogue): Use offsets->saved_regs_mask.
      	Adjust stack pointer by poping call clobered registers.
      	(arm_expand_prologue): Use offsets->saved_regs_mask.
      	Adjust stack pointer by pushing extra registers.
      	* gcc/config/arm.h (arm_stack_offsets): Add saved_regs_mask.
      
      From-SVN: r133148
      Paul Brook committed
    • mangle.c (java_mangle_decl): Remove dead check. · 4b700ab0
      2008-03-12  Paolo Bonzini  <bonzini@gnu.org>
      
      	* mangle.c (java_mangle_decl): Remove dead check.
      
      From-SVN: r133146
      Paolo Bonzini committed
    • re PR rtl-optimization/34522 (inefficient code for long long multiply when only… · c83bd37c
      re PR rtl-optimization/34522 (inefficient code for long long multiply when only low bits are needed)
      
      2008-03-12  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR tree-opt/35422
      	* fold-const.c (fold_unary) <NOP_EXPR>: Distribute a narrowing
      	conversion to the operands of a multiplication.
      
      testsuite:
      2008-03-12  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR tree-opt/35422
      	* gcc.dg/vect/slp-7.c: Change target keywords required for vectorizing
      	third loop.
      	* gcc.target/i386/pr35422.c: New.
      
      From-SVN: r133144
      Paolo Bonzini committed
    • revert: [multiple changes] · 70fef63a
      2008-03-12  Richard Guenther  <rguenther@suse.de>
      
      	PR c++/35469
      	Revert:
      	2008-02-04  Richard Guenther  <rguenther@suse.de>
      
              PR java/35035
              * decl.c (record_builtin_java_type): Make jboolean a
              integer type again where its mode doesn't match that of bool.
      
      	2008-01-25  Richard Guenther  <rguenther@suse.de>
      
              PR c++/33887
              * decl.c (record_builtin_java_type): Make __java_boolean
              a variant of bool.
              * typeck.c (structural_comptypes): Move TYPE_FOR_JAVA check
              after TYPE_MAIN_VARIANT check.
      
      From-SVN: r133142
      Richard Guenther committed
    • Makefile.in (OBJS-common): Add tree-ssa-phiprop.o · 67514449
      2008-03-12  Richard Guenther  <rguenther@suse.de>
      
      	* Makefile.in (OBJS-common): Add tree-ssa-phiprop.o
      	(tree-ssa-phiprop.o): Copy dependencies from tree-ssa-forwprop.o.
      	* timevar.def (TV_TREE_PHIPROP): Add.
      	* tree-ssa-phiprop.c: Split from tree-ssa-forwprop.c, added
      	pass description.  Use TV_TREE_PHIPROP.
      	* tree-ssa-forwprop.c: Remove phiprop code.
      
      From-SVN: r133140
      Richard Guenther committed
    • re PR libfortran/35524 (Unconditional use of expl() in libgfortran) · cb31c4bc
      	PR libfortran/35524
      	* intrinsics/erfc_scaled_inc.c: Only define the long double
      	variant of erfc_scaled if expl is available.
      
      From-SVN: r133138
      Francois-Xavier Coudert committed
    • re PR middle-end/35549 (Invalid use of copy-in/out for shared vars in nested parallels) · 7c8f7639
      	PR middle-end/35549
      	* omp-low.c (maybe_lookup_decl): Constify first argument.
      	(use_pointer_for_field): Change last argument from bool to
      	omp_context *.  Disallow shared copy-in/out in nested
      	parallel if decl is shared in outer parallel too.
      	(build_outer_var_ref, scan_sharing_clauses,
      	lower_rec_input_clauses, lower_copyprivate_clauses,
      	lower_send_clauses, lower_send_shared_vars): Adjust callers.
      
      	* testsuite/libgomp.c/pr35549.c: New test.
      
      From-SVN: r133136
      Jakub Jelinek committed
    • tree-vectorizer.c (free_stmt_vec_info): New function. · 62878103
      
      2008-03-12  Victor Kaplansky  <victork@il.ibm.com>
                  Ira Rosen  <irar@il.ibm.com>
      
              * tree-vectorizer.c (free_stmt_vec_info): New function.
              (destroy_loop_vec_info): Move code to free_stmt_vec_info().
              Call free_stmt_vec_info(). Free LOOP_VINFO_STRIDED_STORES..
              * tree-vectorizer.h (free_stmt_vec_info): Declare.
              * tree-vect-transform.c (vectorizable_conversion): Free
              vec_oprnds0 if it was allocated.
              (vect_permute_store_chain): Remove unused VECs.
              (vectorizable_store): Free VECs that are allocated in the..
              function.
              (vect_transform_strided_load, vectorizable_load): Likewise.
              (vect_remove_stores): Simplify the code.
              (vect_transform_loop): Move code to vect_remove_stores().
              Call vect_remove_stores() and free_stmt_vec_info().
      
      
      Co-Authored-By: Ira Rosen <irar@il.ibm.com>
      
      From-SVN: r133134
      Victor Kaplansky committed
    • Daily bump. · dedba682
      From-SVN: r133129
      GCC Administrator committed
  3. 11 Mar, 2008 12 commits
    • pa.h (TARGET_LONG_PIC_SDIFF_CALL): Conditionalize define on TARGET_HPUX. · 9dbd54be
      	* pa.h (TARGET_LONG_PIC_SDIFF_CALL): Conditionalize define on
      	TARGET_HPUX.  Revise comment.
      	(TARGET_LONG_PIC_PCREL_CALL): Revise comment.
      	* pa.c (output_call): Update for revised TARGET_LONG_PIC_SDIFF_CALL.
      	Use sr4 variant of `be' instruction when not generating PIC code.
      	(attr_length_call): Adjust for above change.
      
      From-SVN: r133123
      John David Anglin committed
    • re PR tree-optimization/35403 (ipa-reference.c does not change a default… · 76a7d3ca
      re PR tree-optimization/35403 (ipa-reference.c does not change a default initialized static variable to be readonly)
      
      2008-03-11  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              * ipa-reference.c (static_execute): Remove module_statics_const and
              associated setting code.
      
      
      2008-03-11  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR tree-opt/35403
              * gcc.dg/tree-ssa/ipa-reference-1.c: New testcase.
      
      From-SVN: r133119
      Andrew Pinski committed
    • re PR target/35540 (Segmentation fault with __builtin_parity() and -O1) · 40cca4f9
              PR target/35540
              * config/i386/i386.md (paritysi2, paritydi2): Use register_operand
              constraint for operand 1.
              (paritysi2_cmp): Use register_operand constraint for operand 2.
              Use earlyclobber modifier for operand 1.  Remove support for
              memory operands.
              (paritydi2_cmp): Use register_operand constraint for operand 3.
              Use earlyclobber modifier for operand 1.  Remove support for
              memory operands.
      
      testsuite/ChangeLog:
      
              PR target/35540
              * gcc.target/i386/pr35540.c: New test.
      
      From-SVN: r133118
      Uros Bizjak committed
    • arm.c (use_return_insn): Check TARGET_APCS_FRAME. · ec6237e4
      2008-03-11  Paul Brook  <paul@codesourcery.com>
      	Vladimir Prus  <vladimir@codesourcery.com>
      
      	* config/arm/arm.c (use_return_insn): Check TARGET_APCS_FRAME.
      	(arm_compute_save_reg0_reg12_mask): Always
      	check if register 11 must be saved.  Always safe hard frame pointer
      	when frame_pointer_needeed.
      	(arm_compute_save_reg_mask): Save IP and PC
      	only with apcs frames.
      	(arm_output_epilogue): Adjust Thumb2 codepath to
      	be also invoked and work for ARM non-apcs frames.
      	(arm_expand_prologue): Don't bother saving IP
      	for non-apcs frame, since it's not clobbered by
      	prologue code.  Implement non-apcs frame
      	layout.
      
      From-SVN: r133117
      Paul Brook committed
    • re PR rtl-optimization/35281 (multiply with 0 generated for 64*32->64) · 2f6025a1
      2008-03-11  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR rtl-optimization/35281
      	* expr.c (convert_move): Use a new pseudo for the intermediate
      	from_mode->word_mode result.
      
      From-SVN: r133116
      Paolo Bonzini committed
    • langhooks-def.h (LANG_HOOKS_CLEAR_BINDING_STACK): Delete. · 30e257e5
      2008-03-11  Paolo Bonzini  <bonzini@gnu.org>
      
              * langhooks-def.h (LANG_HOOKS_CLEAR_BINDING_STACK): Delete.
              * langhooks.h (struct lang_hooks): Delete clear_binding_stack member.
              * toplev.c (compile_file): Don't call it.
      
      fortran:
      2008-03-11  Paolo Bonzini  <bonzini@gnu.org>
      
              * f95-lang.c (LANG_HOOKS_CLEAR_BINDING_STACK): Delete.
              (gfc_be_parse_file): Call clear_binding_stack from here.
      	(gfc_clear_binding_stack): Rename to clear_binding_stack.
      
      java:
      2008-03-11  Paolo Bonzini  <bonzini@gnu.org>
      
              * jcf-parse.c (java_parse_file): Assert binding levels are
              left in order.
              * lang.c (LANG_HOOKS_CLEAR_BINDING_STACK, java_clear_binding_stack):
              Delete.
      
      From-SVN: r133115
      Paolo Bonzini committed
    • override-attribs.C: Require ilp32 x86 target. · 608766dc
      	* g++.dg/inherit/override-attribs.C: Require ilp32 x86 target.
      
      From-SVN: r133111
      Uros Bizjak committed
    • md5.c (md5_process_bytes): Do not assume that memcpy will provide a return value. · 73b38fce
      * md5.c (md5_process_bytes): Do not assume that memcpy will
        provide a return value.
      
      From-SVN: r133107
      Nick Clifton committed
    • re PR c/35526 (ICE on memcpy) · ab669042
      	PR middle-end/35526
      	* expr.c (store_expr): Call emit_block_move if the mode
      	of "temp" RTX is BLKmode.
      
      testsuite/ChangeLog:
      
      	PR middle-end/35526
      	* g++.dg/torture/pr35526.C: New test.
      
      From-SVN: r133106
      Uros Bizjak committed
    • re PR libfortran/32812 (random_seed and date_and_time) · 2d3ca8b7
      	PR libfortran/32812
      	* intrinsics/random.c (scramble_seed, unscramble_seed): New
      	functions.
      	(random_seed_i4): Scramble the seed the user gives us before
      	storing it, and unscramble it when we return it back later.
      
      From-SVN: r133104
      Francois-Xavier Coudert committed
    • re PR tree-optimization/31358 (IV-OPTs produces a weird MEM_REF) · 1ffe34d9
      2008-03-11  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      	Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/31358
      	* tree-ssa-loop-manip.c (create_iv): Call force_gimple_operand for
      	the step with a NULL_TREE.
      	* tree-ssa-loop-ivopts.c (find_bivs): Convert the step
      	to sizetype if type is a pointer type.
      	(add_candidate_1): Don't convert the base and step to
      	the generic type if the orginal type is a pointer type.
      	(add_iv_value_candidates): Use sizetype for the step
      	if type is a pointer type.
      	(cand_value_at): Likewise.
      	* tree-ssa-address.c (add_to_parts): Use POINTER_PLUS_EXPR
      	for pointer types.
      	* tree-affine.c (tree_to_aff_combination <POINTER_PLUS_EXPR>):
      	Don't convert the tem affine to the type.
      	(add_elt_to_tree): Use sizetype for the step if a pointer.
      	Use POINTER_PLUS_EXPR for pointers.
      	(aff_combination_to_tree): Use sizetype for the step if a
      	pointer.
      
      Co-Authored-By: Richard Guenther <rguenther@suse.de>
      
      From-SVN: r133102
      Andrew Pinski committed
    • Daily bump. · 7f2ad78b
      From-SVN: r133100
      GCC Administrator committed
  4. 10 Mar, 2008 10 commits