1. 07 Sep, 2010 19 commits
  2. 06 Sep, 2010 21 commits
    • * Object.m (MAX_CLASS_NAME_LEN): Unused define removed. · 29b71c02
      From-SVN: r163936
      Nicola Pero committed
    • re PR target/43137 (redundant register move for sign extending) · da0a441d
      	PR target/43137
      	* config/arm/iterators.md (qhs_zextenddi_cond, qhs_sextenddi_cond):
      	New define_mode_attrs.
      	* config/arm/arm.md (zero_extendsidi2, arm_zero_extendsidi2,
      	arm_exxtendsidi2, arm_extendsidi2): Delete patterns.
      	(zero_extend<mode>di2, extend<mode>di2 and related splits): New.
      	(thumb1_zero_extendhisi2): Remove code to handle LABEL_REFs.
      	Remove pool_range attribute.
      	(arm_zero_extendhisi2, arm_zero_extendhisi2_v6, arm_zero_extendqisi2,
      	arm_zero_extendqisi2_v6, thumb1_zero_extendqisi2_v6): Remove
      	pool_range and neg_pool_range attributes.
      	* config/arm/thumb2.md (thumb2_zero_extendsidi2,
      	thumb2_zero_extendhidi2, thumb2_zero_extendqidi2, thumb2_extendsidi2,
      	thumb2_extendhidi2, thumb2_extendqidi2): Delete.
      
      	PR target/43137
      	* gcc.target/arm/pr43137.c: New test.
      
      From-SVN: r163935
      Bernd Schmidt committed
    • re PR fortran/36931 (unneeded temporary for array intrinsic binop scalar) · 5c599206
      2010-09-06  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/36931
      	* frontend-passes.c (optimize_binop_array_assignment):  New
      	function.
      	(optimize_assignment):  Call it.
      
      2010-09-06  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/36931
      	* gfortran.dg/dependency_35.f90:  New test.
      
      From-SVN: r163934
      Thomas Koenig committed
    • Properly check glibc. · 4e18507b
      2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* config/i386/linux-unwind.h (x86_fallback_frame_state): Properly
      	check glibc.
      
      From-SVN: r163933
      H.J. Lu committed
    • re PR fortran/34145 (single_char_string.f90 fails with -fdefault-integer-8) · f884552b
      2010-09-06  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/34145
      	* trans-expr.c (gfc_conv_substring):  If start and end
      	of the string reference are equal, set the length to one.
      
      2010-09-06  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/34145
      	* gfortran.dg/char_length_17.f90:  New test.
      
      From-SVN: r163932
      Thomas Koenig committed
    • re PR fortran/45560 (debugging: Add EXPR pretty printer (gfc_debug_expr)) · f973b648
       2010-09-06  Tobias Burnus  <burnus@net-b.de>
       
              PR fortran/45560
              * dump-parse-tree.c (gfc_debug_expr): Use stderr instead of stdout.
      
      From-SVN: r163931
      Tobias Burnus committed
    • Patch PR c++/45200 · e6c2fc5d
          Fix PR c++/45200, c++/45293, c++/45558
      
      gcc/cp/Changelog:
      	PR c++/45200
      	PR c++/45293
      	PR c++/45558
      	* tree.c (strip_typedefs): Strip typedefs from the context of
      	TYPENAME_TYPEs.
      
      gcc/testsuite/ChangeLog:
      	PR c++/45200
      	PR c++/45293
      	PR c++/45558
      	* g++.dg/template/typedef34.C: New test.
      	* g++.dg/template/typedef35.C: New test.
      
      From-SVN: r163929
      Dodji Seketeli committed
    • re PR fortran/45560 (debugging: Add EXPR pretty printer (gfc_debug_expr)) · 3c7ac37e
      2010-09-06  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/45560
              * dump-parse-tree.c (gfc_debug_expr): New function.
      
      From-SVN: r163928
      Tobias Burnus committed
    • re PR target/22152 (Poor loop optimization when using mmx builtins) · a7529ed6
      	PR target/22152
      	* gcc.target/i386/pr22152.c (add3): Change "count" to unsigned int.
      
      From-SVN: r163927
      Uros Bizjak committed
    • re PR target/22152 (Poor loop optimization when using mmx builtins) · 61ec1123
      	PR target/22152
      	* config/i386/mmx.md (*mov<mode>_internal_rex64,
      	*mov<mode>_internal_avx, *mov<mode>_internal,
      	*movv2sf_internal_rex64_avx, *movv2sf_internal_rex64,
      	*movv2sf_internal_avx, *movv2sf_internal): Split out !y-!y alternative.
      [
      
      From-SVN: r163926
      Uros Bizjak committed
    • c-common.h (do_warn_double_promotion): Declare. · c5ee1358
      	* c-common.h (do_warn_double_promotion): Declare.
      	* c-common.c (do_warn_double_promotion): Define.
      
      	* c-typeck.c (do_warn_double_promotion): Remove.
      	* doc/invoke.texi (-Wdouble-promotion): Note available for C++ and
      	Objective-C++ too.
      
      	* typeck.c (cp_build_binary_op): Call do_warn_double_promotion.
      	* call.c (build_conditional_expr): Likewise.
      	(convert_arg_to_ellipsis): Likewise.
      
      	* g++.dg/warn/Wdouble-promotion.C: New.
      
      From-SVN: r163925
      Mark Mitchell committed
    • frv.h (CLASS_LIKELY_SPILLED_P): Remove. · c28350ab
      	* config/frv/frv.h (CLASS_LIKELY_SPILLED_P): Remove.
      	* config/frv/frv-protos.h (frv_class_likely_spilled_p): Remove.
      	* config/frv/frv.c (frv_class_likely_spilled_p): Make static. Change
      	argument type to reg_class_t. Change result type to bool.
      	(TARGET_CLASS_LIKELY_SPILLED_P): Define.
      
      From-SVN: r163924
      Anatoly Sokolov committed
    • re PR libobjc/19850 (libobjc leaks threads on posix) · 708e07fb
             PR libobjc/19850
             * gthr-posix.h (__gthread_objc_thread_detach): Use
             _objc_thread_attribs when detaching a thread.
             * gthr-posix95.h (__gthread_objc_thread_detach): Same change.
      
      From-SVN: r163923
      Nicola Pero committed
    • Replace assemble by compile. · 6fa0abcf
      From-SVN: r163922
      Arnaud Charlet committed
    • Don't set enable_decimal_float to dpd if DFP is disabled. · cc0ae0ca
      config/
      
      2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/45524
      	* dfp.m4: Don't set enable_decimal_float to dpd if DFP is
      	disabled.  Set default_decimal_float.
      
      gcc/
      
      2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/45524
      	* configure.ac (enable_decimal_float): Set to
      	$default_decimal_float.
      	* configure: Regenerated.
      
      libdecnumber/
      
      2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/45524
      	* configure.ac (enable_decimal_float): Set to
      	$default_decimal_float.
      	* configure: Regenerated.
      
      libgcc/
      
      2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/45524
      	* configure: Regenerated.
      
      From-SVN: r163921
      H.J. Lu committed
    • redef2.C: New. · 6f295bbf
      testsuite/
      	* g++.dg/parse/redef2.C: New.
      cp/
      	* parser.c (make_pointer_declarator, make_reference_declarator,
      	make_call_declarator, make_array_declarator): Set declarator->id_loc.
      	(cp_parser_init_declarator): Adjust location of decl if appropriate.
      
      From-SVN: r163920
      Arnaud Charlet committed
    • combine.c (try_combine): Set subst_low_luid to i0. · c18605cc
      2010-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
      
      	* combine.c (try_combine): Set subst_low_luid to i0.
      
      2010-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
      
      	* gcc.dg/20100906-1.c: New testcase.
      
      From-SVN: r163917
      Andreas Krebbel committed
    • abi.exp: Add "libstdc++-abi/" to abi_check FAIL message. · 6d105d8d
      	* testsuite/libstdc++-abi/abi.exp: Add "libstdc++-abi/" to
      	abi_check FAIL message.
      
      From-SVN: r163916
      Jason Merrill committed
    • tree.def (MISALIGNED_INDIRECT_REF): Remove. · be1ac4ec
      2010-09-06  Richard Guenther  <rguenther@suse.de>
      
      	* tree.def (MISALIGNED_INDIRECT_REF): Remove.
      	* tree.h (INDIRECT_REF_P): Only check for INDIRECT_REF.
      	(build_aligned_type): Declare.
      	* tree.c (check_qualified_type): Also compare TYPE_ALIGN.
      	(check_aligned_type): New function.
      	(build_aligned_type): Likewise.
      	* expr.c (expand_assignment): Handle misaligned stores via
      	TARGET_MEM_REF and MEM_REF using movmisalign_optab.
      	(expand_expr_real_1): Likewise.
      	(safe_from_p): Remove MISALIGNED_INDIRECT_REF handling.
      	* tree-vect-stmts.c (vectorizable_store): Do not build
      	MISALIGNED_INDIRECT_REF but initialize alignment information.
      	(vectorizable_load): Likewise.
      	* builtins.c (get_object_alignment): Remove MISALIGNED_INDIRECT_REF
      	handling.
      	* cfgexpand.c (expand_debug_expr): Likewise.
      	* dwarf2out.c (loc_list_from_tree): Likewise.
      	* fold-const.c (maybe_lvalue_p): Likewise.
      	(operand_equal_p): Likewise.
      	(build_fold_addr_expr_with_type_loc): Likewise.
      	* gimplify.c (gimplify_addr_expr): Likewise.
      	(gimplify_expr): Likewise.
      	* tree-cfg.c (verify_types_in_gimple_min_lval): Likewise.
      	(verify_gimple_assign_single): Likewise.
      	* tree-dump.c (dequeue_and_dump): Likewise.
      	(tree_could_trap_p): Likewise.
      	* tree-predcom.c (ref_at_iteration): Likewise.
      	* tree-pretty-print.c (dump_generic_node): Likewise.
      	(op_code_prio): Likewise.
      	(op_symbol_code): Likewise.
      	* tree-ssa-ccp.c (get_value_from_alignment): Likewise.
      	* tree-ssa-loop-im.c (for_each_index): Likewise.
      	(gen_lsm_tmp_name): Likewise.
      	* tree-ssa-loop-ivopts.c (idx_find_step): Likewise.
      	(find_interesting_uses_address): Likewise.
      	* tree-ssa-loop-prefetch.c (idx_analyze_ref): Likewise.
      	* tree-ssa-operands.c (get_expr_operands): Likewise.
      	* tree-ssa-pre.c (create_component_ref_by_pieces_1): Likewise.
      	* tree-ssa-sccvn.c (copy_reference_ops_from_ref): Likewise.
      	(ao_ref_init_from_vn_reference): Likewise.
      	* tree.c (staticp): Likewise.
      	(build1_stat): Likewise.
      	(reference_alias_ptr_type): Likewise.
      	* emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise.
      	* config/rs6000/rs6000.c (rs6000_check_sdmode): Remove
      	MISALIGNED_INDIRECT_REF handling.
      
      From-SVN: r163915
      Richard Guenther committed
    • re PR middle-end/45534 (ICE in refs_may_alias_p_1, at tree-ssa-alias.c:1031) · 863a7578
      2010-09-06  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/45534
      	* tree-ssa-address.c (create_mem_ref_raw): Add verify parameter.
      	(create_mem_ref): Do verify the created TARGET_MEM_REF is valid
      	on the target.
      	(maybe_fold_tmr): Do not verify the created TARGET_MEM_REF is
      	valid on the target.
      
      From-SVN: r163913
      Richard Biener committed
    • dfp.m4: Quote argument of AC_MSG_WARN. · 84f47d20
      config/:
      	* dfp.m4: Quote argument of AC_MSG_WARN.
      
      gcc/:
      	* configure.ac: Quote argument of AC_MSG_WARN.
      	* configure: Regenerate.
      
      libdecnumber/:
      	* configure: Regenerate.
      
      libgcc/:
      	* configure: Regenerate.
      
      From-SVN: r163909
      Andreas Schwab committed