1. 04 Aug, 2010 30 commits
  2. 03 Aug, 2010 9 commits
    • simplify-rtx.c (simplify_binary_operation_1): Try to simplify away NEG as… · 29b40d79
      simplify-rtx.c (simplify_binary_operation_1): Try to simplify away NEG as operand of a MULT by merging it with the other operand.
      
      	* simplify-rtx.c (simplify_binary_operation_1): Try to simplify away
      	NEG as operand of a MULT by merging it with the other operand.
      	* combine.c (make_compound_operation): Use trunc_int_for_mode when
      	generating a MULT with constant.  Canonicalize PLUS and MINUS involving
      	MULT.
      	* config/arm/constraints.md (M): Examine only 32 bits of a
      	HOST_WIDE_INT.
      	* config/arm/predicates.md (power_of_two_operand): Likewise.
      
      From-SVN: r162849
      Bernd Schmidt committed
    • re PR fortran/45159 (Unnecessary temporaries) · 15b71db3
      2010-08-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/45159
      	* dependency.c (gfc_deb_compare_expr):  Remove any integer
      	conversion functions to larger types from both arguments.
      	Remove handling these functions futher down.
      
      2010-08-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/45159
      	* gfortran.dg/dependency_30.f90:  New test.
      
      From-SVN: r162848
      Thomas Koenig committed
    • spu.c (spu_emit_branch_hint): Do not access NOTE_KIND of non-NOTE insns. · 051de0eb
      	* config/spu/spu.c (spu_emit_branch_hint): Do not access NOTE_KIND of
      	non-NOTE insns.
      
      From-SVN: r162845
      Ulrich Weigand committed
    • ipa-split.c (struct split_point): Add split_part_set_retval. · 241a2b9e
      
      	* ipa-split.c (struct split_point): Add split_part_set_retval.
      	(find_retval): Forward declare.
      	(test_nonssa_use, mark_nonssa_use): Special case return by reference.
      	(consider_split): Compute current->split_part_set_retval.
      	(visit_bb): Do not look into return value.
      	(split_function): Handle !split_part_set_retval
      
      From-SVN: r162842
      Jan Hubicka committed
    • tree-sra.c (completely_scalarize_record): New parameter REF, create its own… · fc734382
      tree-sra.c (completely_scalarize_record): New parameter REF, create its own access->expr intead of using build_ref_for_offset.
      
      2010-08-03  Martin Jambor  <mjambor@suse.cz>
      
      	* tree-sra.c (completely_scalarize_record): New parameter REF, create
      	its own access->expr intead of using build_ref_for_offset.
      
      From-SVN: r162841
      Martin Jambor committed
    • re PR fortran/44584 (Invalid memory access with gfortran.dg/typebound_proc_15.f03) · aea18e92
      2010-08-03  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/44584
      	PR fortran/45161
      	* class.c (add_procs_to_declared_vtab1): Don't add erroneous procedures.
      	* resolve.c (resolve_tb_generic_targets): Check for errors.
      
      
      2010-08-03  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/44584
      	PR fortran/45161
      	* gfortran.dg/typebound_call_9.f03: Modified.
      	* gfortran.dg/typebound_generic_1.f03: Modified.
      
      From-SVN: r162840
      Janus Weil committed
    • alpha.h (SWITCH_TAKES_ARG): Define. · 1890bccc
      	* config/alpha/alpha.h (SWITCH_TAKES_ARG): Define.
      	* config/alpha/osf5.h (LIB_SPEC): Don't handle -a.
      	* config/bfin/bfin.h (ASM_SPEC, LINK_SPEC): Don't pass -G*
      	options.
      	* config/darwin.h (WORD_SWITCH_TAKES_ARG): Handle -iframework.
      	* config/ia64/ia64.h (SWITCH_TAKES_ARG): Define.
      	* config/iq2000/iq2000.h (SWITCH_TAKES_ARG): Remove.
      	* config/rs6000/sysv4.h (SWITCH_TAKES_ARG): Define using
      	DEFAULT_SWITCH_TAKES_ARG.
      	* config/rx/rx.opt (-patch=): Remove option.
      	* config/rx/rx.c (rx_handle_option): Don't handle OPT_patch_.
      	* defaults.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Handle -imultilib.
      	* doc/invoke.texi (RX Options): Remove -patch=.
      	* gcc.c (cc1_options): Pass -aux-info* instead of -a* options.
      	(option_map): Remove --profile-blocks, --quiet and --silent.
      
      ada:
      	* gcc-interface/lang-specs.h: Don't pass -a options.
      
      c-family:
      	* c.opt (-print-pch-checksum): Remove option.
      	* c-opts.c (c_common_handle_option): Don't handle
      	OPT_print_pch_checksum.
      
      From-SVN: r162838
      Joseph Myers committed
    • i386.h (ix86_compare_op0, [...]): Remove. · dc91d892
      	* config/i386/i386.h (ix86_compare_op0, ix86_compare_op1): Remove.
      	* config/i386/i386.c (ix86_compare_op0, ix86_compare_op1): Remove.
      	(ix86_expand_branch): Add op0 and op1 arguments.  Do not access
      	ix86_compare_op0 and ix86_compare_op1, use op0 and op1 instead.
      	Update calls to ix86_expand_compare and ix86_expand_branch.
      	(ix86_expand_setcc): Add op0 and op1 arguments.  Update calls to
      	ix86_expand_compare.
      	(ix86_expand_compare): Add op0 and op1 arguments.  Do not access
      	ix86_compare_op0 and ix86_compare_op1, use op0 and op1 instead.
      	Make static.
      	(ix86_expand_carry_flag_compare): Do not set ix86_compare_op0
      	and ix86_compare_op1.  Update calls to ix86_expand_compare.
      	(ix86_expand_int_movcc): Ditto.
      	(ix86_expand_fp_movcc): Ditto.  Update calls to ix86_expand_setcc.
      	* config/i386/i386-protos.h (ix86_expand_branch): Update prototype.
      	(ix86_expand_setcc): Ditto.
      	(ix86_expand_compare): Remove prototype.
      	* config/i386/i386.md (cbranch<SDWIM:mode>4): Do not set
      	ix86_compare_op0 and ix86_compare_op1.  Update calls
      	to ix86_expand_branch to directly pass operands[1] and operands[2].
      	(cbranchxf4): Ditto.
      	(cbranch<MODEF:mode>4): Ditto.
      	(cbranchcc4): Ditto.
      	(cstore<SWIM:mode>4): Do not set ix86_compare_op0 and ix86_compare_op1.
      	Update calls to ix86_expand_setcc to directly pass operands[2] and
      	operands[3].
      	(cstorexf4): Ditto.
      	(cstore<MODEF:mode>4): Ditto.
      	(cstorecc4): Ditto.
      
      From-SVN: r162837
      Uros Bizjak committed
    • Daily bump. · d518b5e9
      From-SVN: r162834
      GCC Administrator committed
  3. 02 Aug, 2010 1 commit