1. 09 Sep, 2014 6 commits
    • xordi3-opt.c: Disable this test case for thumb1 target. · f0373b8d
      2014-09-09  Tony Wang  <tony.wang@arm.com>
      
          gcc/testsuite/
          * gcc.target/arm/xordi3-opt.c: Disable this
          test case for thumb1 target.
          * gcc.target/arm/iordi3-opt.c: Ditto.
      
      From-SVN: r215047
      Tony Wang committed
    • [AArch64] PR 61749: Do not ICE in lane intrinsics when passed non-constant lane number · d5a29419
      	PR target/61749
      	* config/aarch64/aarch64-builtins.c (aarch64_types_quadop_qualifiers):
      	Use qualifier_immediate for last operand.  Rename to...
      	(aarch64_types_ternop_lane_qualifiers): ... This.
      	(TYPES_QUADOP): Rename to...
      	(TYPES_TERNOP_LANE): ... This.
      	(aarch64_simd_expand_args): Return const0_rtx when encountering user
      	error.  Change return of 0 to return of NULL_RTX.
      	(aarch64_crc32_expand_builtin): Likewise.
      	(aarch64_expand_builtin): Return NULL_RTX instead of 0.
      	ICE when expanding unknown builtin.
      	* config/aarch64/aarch64-simd-builtins.def (sqdmlal_lane): Use
      	TERNOP_LANE qualifiers.
      	(sqdmlsl_lane): Likewise.
      	(sqdmlal_laneq): Likewise.
      	(sqdmlsl_laneq): Likewise.
      	(sqdmlal2_lane): Likewise.
      	(sqdmlsl2_lane): Likewise.
      	(sqdmlal2_laneq): Likewise.
      	(sqdmlsl2_laneq): Likewise.
      
      	* gcc.target/aarch64/vqdml_lane_intrinsics-bad_1.c: New test.
      
      From-SVN: r215046
      Kyrylo Tkachov committed
    • invoke.texi (Optimization Options): Add missing @gol to the end of a line. · b250f296
      	* doc/invoke.texi (Optimization Options): Add missing @gol to the
      	end of a line.
      	(S/390 and zSeries Options): Remove superfluous word from the
      	description of the -mhotpatch option.
      
      From-SVN: r215044
      Nick Clifton committed
    • shrink-wrap.h: #define SHRINK_WRAPPING_ENABLED. · a5e022d5
      ChangeLog:
      2014-09-09  Zhenqiang Chen  <zhenqiang.chen@arm.com>
      
      	* shrink-wrap.h: #define SHRINK_WRAPPING_ENABLED.
      	* ira.c: #include "shrink-wrap.h"
      	(split_live_ranges_for_shrink_wrap): Use SHRINK_WRAPPING_ENABLED.
      	* ifcvt.c: #include "shrink-wrap.h"
      	(dead_or_predicable): Use SHRINK_WRAPPING_ENABLED.
      
      testsuite/ChangeLog:
      2014-09-09  Zhenqiang Chen  <zhenqiang.chen@arm.com>
      
      	* gcc.target/arm/split-live-ranges-for-shrink-wrap.c: New test.
      
      From-SVN: r215041
      Zhenqiang Chen committed
    • remove picochip · 157e859f
      contrib/ChangeLog:
      
      2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
      
      	* compare-all-tests: Don't test picochip.
      	* config-list.mk: Likewise.
      
      gcc/ChangeLog:
      
      2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
      
      	* common/config/picochip/picochip-common.c: Remove.
      	* config.gcc: Remove support for picochip.
      	* config/picochip/constraints.md: Remove.
      	* config/picochip/dfa_space.md: Remove.
      	* config/picochip/dfa_speed.md: Remove.
      	* config/picochip/picochip-protos.h: Remove.
      	* config/picochip/picochip.c: Remove.
      	* config/picochip/picochip.h: Remove.
      	* config/picochip/picochip.md: Remove.
      	* config/picochip/picochip.opt: Remove.
      	* config/picochip/predicates.md: Remove.
      	* config/picochip/t-picochip: Remove.
      	* doc/md.texi: Don't document picochi.
      
      libgcc/ChangeLog:
      
      2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
      
      	* config.host: Remove picochip support.
      	* config/picochip/adddi3.S: Remove.
      	* config/picochip/ashlsi3.S: Remove.
      	* config/picochip/ashlsi3.c: Remove.
      	* config/picochip/ashrsi3.S: Remove.
      	* config/picochip/ashrsi3.c: Remove.
      	* config/picochip/clzsi2.S: Remove.
      	* config/picochip/cmpsi2.S: Remove.
      	* config/picochip/divmod15.S: Remove.
      	* config/picochip/divmodhi4.S: Remove.
      	* config/picochip/divmodsi4.S: Remove.
      	* config/picochip/lib1funcs.S: Remove.
      	* config/picochip/longjmp.S: Remove.
      	* config/picochip/lshrsi3.S: Remove.
      	* config/picochip/lshrsi3.c: Remove.
      	* config/picochip/parityhi2.S: Remove.
      	* config/picochip/popcounthi2.S: Remove.
      	* config/picochip/setjmp.S: Remove.
      	* config/picochip/subdi3.S: Remove.
      	* config/picochip/t-picochip: Remove.
      	* config/picochip/ucmpsi2.S: Remove.
      	* config/picochip/udivmodhi4.S: Remove.
      	* config/picochip/udivmodsi4.S: Remove.
      
      From-SVN: r215039
      Trevor Saunders committed
    • Daily bump. · b9e76e80
      From-SVN: r215036
      GCC Administrator committed
  2. 08 Sep, 2014 11 commits
    • control_flow_insn_p takes an insn · 43f9bab0
      gcc/ChangeLog:
      2014-09-08  David Malcolm  <dmalcolm@redhat.com>
      
      	* basic-block.h (control_flow_insn_p): Strengthen param from
      	const_rtx to const rtx_insn *.
      	* cfgbuild.c (control_flow_insn_p): Likewise.
      
      From-SVN: r215028
      David Malcolm committed
    • gcse.c's modify_mem_list is a list of insns · e26d1bb2
      gcc/ChangeLog:
      2014-09-08  David Malcolm  <dmalcolm@redhat.com>
      
      	* gcse.c (modify_mem_list): Strengthen this variable from
      	vec<rtx> * to vec<rtx_insn *> *.
      	(vec_rtx_heap): Strengthen this typedef from vec<rtx> to
      	vec<rtx_insn *>.
      	(load_killed_in_block_p): Strengthen local "list" from vec<rtx> to
      	vec<rtx_insn *>, and local "setter" from rtx to rtx_insn *.
      	(record_last_mem_set_info): Strengthen param "insn" from rtx to
      	rtx_insn *.
      	(record_last_set_info): Likewise for local "last_set_insn".
      
      From-SVN: r215027
      David Malcolm committed
    • re PR tree-optimization/60196 (Incorrect compilation with -fwrapv and -ftree-vectorize) · 19b472cc
      	PR tree-optimization/60196
      	PR tree-optimization/63189
      	* gcc.dg/vect/pr63189.c: New test.
      	* gcc.dg/vect/pr60196-1.c: New test.
      	* gcc.dg/vect/pr60196-2.c: New test.
      
      From-SVN: r215025
      Jakub Jelinek committed
    • * doc/invoke.texi (MSP430 Options): Add -minrt. · 59784c46
      From-SVN: r215021
      DJ Delorie committed
    • rs6000.c (special_handling_values): Add SH_SPLAT. · db09274d
      [gcc]
      
      2014-09-08  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
      
      	* config/rs6000/rs6000.c (special_handling_values):  Add SH_SPLAT.
      	(rtx_is_swappable_p): Convert UNSPEC cascading ||s to a switch
      	statement; allow optimization of UNSPEC_VSPLT_DIRECT with special
      	handling SH_SPLAT.
      	(adjust_extract): Fix test for VEC_DUPLICATE case; fix adjustment
      	of extracted lane.
      	(adjust_splat): New function.
      	(handle_special_swappables): Call adjust_splat for SH_SPLAT.
      	(dump_swap_insn_table): Add case for SH_SPLAT.
      
      [gcc/testsuite]
      
      2014-09-08  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
      
      	* gcc.target/powerpc/swaps-p8-16.c: New test.
      
      From-SVN: r215019
      Bill Schmidt committed
    • re PR ipa/63196 (FAIL: g++.dg/torture/pr57140.C -O3 -fomit-frame-pointer … · 33d9078a
      re PR ipa/63196 (FAIL: g++.dg/torture/pr57140.C   -O3 -fomit-frame-pointer  (internal compiler error))
      
      2014-09-08  Richard Biener  <rguenther@suse.de>
      
      	PR ipa/63196
      	* tree-inline.c (copy_loops): The source loop header should
      	always be non-NULL.
      	(tree_function_versioning): If loops need fixup after removing
      	unreachable blocks fix them.
      	* omp-low.c (simd_clone_adjust): Do not add incr block to
      	loop under construction.
      
      From-SVN: r215016
      Richard Biener committed
    • [Obvious] Remove unused aarch64_types_cmtst_qualifiers, was breaking bootstrap. · efe295f2
              * config/aarch64/aarch64-builtins.c 
              (aarch64_types_cmtst_qualifiers, TYPES_TST): Remove as unused.
      
      From-SVN: r215015
      Alan Lawrence committed
    • Remove SF_SIZE etc. target macros. · 66bb34c0
      gcc:
      	* config/i386/cygming.h (TF_SIZE): Remove.
      	* config/i386/darwin.h (TF_SIZE): Remove.
      	* config/i386/dragonfly.h (TF_SIZE): Remove.
      	* config/i386/freebsd.h (TF_SIZE): Remove.
      	* config/i386/gnu-user-common.h (TF_SIZE): Remove.
      	* config/i386/openbsdelf.h (TF_SIZE): Remove.
      	* config/i386/sol2.h (TF_SIZE): Remove.
      	* config/ia64/hpux.h (XF_SIZE, TF_SIZE): Remove.
      	* config/ia64/linux.h (TF_SIZE): Remove.
      	* doc/tm.texi.in (SF_SIZE, DF_SIZE, XF_SIZE, TF_SIZE): Remove.
      	* doc/tm.texi: Regenerate.
      	* system.h (SF_SIZE, DF_SIZE, XF_SIZE, TF_SIZE): Poison.
      
      gcc/c-family:
      	* c-cppbuiltin.c (c_cpp_builtins): Define macros for mantissa
      	digits of floating-point modes if -fbuilding-libgcc.
      
      libgcc:
      	* libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
      	(DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
      	(XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
      	(TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
      	* libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
      	error if not defined and LIBGCC2_HAS_SF_MODE is defined.
      	(DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
      	defined and LIBGCC2_HAS_DF_MODE is defined.
      	(XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
      	defined and LIBGCC2_HAS_XF_MODE is defined.
      	(TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
      	defined and LIBGCC2_HAS_TF_MODE is defined.
      
      From-SVN: r215014
      Joseph Myers committed
    • Remove no-longer-needed fp-bit target macros. · 9686a2e6
      gcc:
      	* defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO):
      	Remove.
      	* doc/tm.texi.in (ROUND_TOWARDS_ZERO, LARGEST_EXPONENT_IS_NORMAL):
      	Remove.
      	* doc/tm.texi: Regenerate.
      	* system.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO):
      	Poison.
      	* config/arm/arm.h (LARGEST_EXPONENT_IS_NORMAL): Remove.
      	* config/cris/cris.h (__make_dp): Remove.
      
      libgcc:
      	* fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
      	and ROUND_TOWARDS_ZERO conditionals.
      
      From-SVN: r215013
      Joseph Myers committed
    • re PR bootstrap/63204 (gtype-desc.c:887:40: error: 'struct loop' has no member… · e45fcf80
      re PR bootstrap/63204 (gtype-desc.c:887:40: error: 'struct loop' has no member named 'former_header' breaks bootstrap)
      
      2014-09-08  Richard Biener  <rguenther@suse.de>
      
      	PR bootstrap/63204
      	* cfgloop.c (mark_loop_for_removal): Track former header
      	unconditionally.
      	* cfgloop.h (struct loop): Add former_header member unconditionally.
      	* loop-init.c (fix_loop_structure): Enable bogus loop removal
      	diagnostic unconditionally.
      
      From-SVN: r215012
      Richard Biener committed
    • Daily bump. · 08774518
      From-SVN: r215008
      GCC Administrator committed
  3. 07 Sep, 2014 4 commits
  4. 06 Sep, 2014 10 commits
  5. 05 Sep, 2014 9 commits
    • re PR rtl-optimization/62146 (CSE replaces constant with an expression incorrectly) · 14e4c2af
      2014-09-05  Easwaran Raman  <eraman@google.com>
      
              PR rtl-optimization/62146
              * ifcvt.c (dead_or_predicable): Make removal of REG_EQUAL note of
                hoisted instruction unconditional.
      
              testsuite:
              * testsuite/g++.dg/opt/pr62146.C: New.
      
      From-SVN: r214977
      Easwaran Raman committed
    • re PR target/63187 (Unrecognizable insn ICE due to revision 214080) · 8a03df77
      2014-09-05  Segher Boessenkool  <segher@kernel.crashing.org>
      
      	PR target/63187
      	* config/rs6000/rs6000.md (*and<mode>3_imm_dot, *and<mode>3_imm_dot2):
      	Do not allow any_mask_operand for operands[2].
      	(*and<mode>3_imm_mask_dot, *and<mode>3_imm_mask_dot2): New.
      
      From-SVN: r214976
      Segher Boessenkool committed
    • re PR c++/62659 (Regression in template argument substitution in 4.9+) · ed23bf8b
      	PR c++/62659
      	* semantics.c (potential_constant_expression_1): Handle un-folded
      	pointer to member constants.
      
      From-SVN: r214974
      Jason Merrill committed
    • runtime: Use the clone system call on GNU/Linux. · 01c2fa9d
      Without this we weren't supporting the standard Cloneflags
      field of SysProcAttr.
      
      From-SVN: r214972
      Ian Lance Taylor committed
    • Use rtx_insn for various jump-handling functions and predicates · 68a1a6c0
      gcc/ChangeLog:
      2014-09-05  David Malcolm  <dmalcolm@redhat.com>
      
      	* config/arc/arc.c (arc_print_operand): Use insn method of
      	final_sequence for type-safety.
      	* config/bfin/bfin.c (bfin_hardware_loop): Strengthen param
      	"insn" from rtx to rtx_insn *.
      	* config/frv/frv.c (frv_print_operand_jump_hint): Likewise.
      	* config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc):
      	Likewise for locals "branch", "label".
      	* config/h8300/h8300.c (same_cmp_preceding_p): Likewise for
      	locals "i1", "i2".  Use NULL rather than NULL_RTX in comparisons.
      	(same_cmp_following_p): Likewise for locals "i2", "i3".
      	* config/sh/sh_optimize_sett_clrt.cc
      	(sh_optimize_sett_clrt::sh_cbranch_ccreg_value): Likewise for
      	param "cbranch_insn".
      	* function.c (convert_jumps_to_returns): Likewis for local "jump".
      	* ifcvt.c (cond_exec_get_condition): Likewise for param "jump".
      	* jump.c (simplejump_p): Strengthen param "insn" from const_rtx to
      	const rtx_insn *.
      	(condjump_p): Likewise.
      	(condjump_in_parallel_p): Likewise.
      	(pc_set): Likewise.
      	(any_uncondjump_p): Likewise.
      	(any_condjump_p): Likewise.
      	(condjump_label): Likewise.
      	(returnjump_p): Strengthen param "insn" from rtx to
      	const rtx_insn *.
      	(onlyjump_p): Strengthen param "insn" from const_rtx to
      	const rtx_insn *.
      	(jump_to_label_p): Likewise.
      	(invert_jump_1): Strengthen param "jump" from rtx to rtx_insn *.
      	(invert_jump): Likewise.
      	* reorg.c (simplejump_or_return_p): Add checked cast when calling
      	simplejump_p.
      	(get_jump_flags): Strengthen param "insn" from rtx to
      	const rtx_insn *.
      	(get_branch_condition): Likewise.
      	(condition_dominates_p): Likewise.
      	(make_return_insns): Move declaration of local "pat" earlier, to
      	after we've handled NONJUMP_INSN_P and non-sequences, using its
      	methods to simplify the code and for type-safety.
      	* rtl.h (find_constant_src): Strengthen param from const_rtx to
      	const rtx_insn *.
      	(jump_to_label_p): Strengthen param from rtx to const rtx_insn *.
      	(condjump_p): Strengthen param from const_rtx to
      	const rtx_insn *.
      	(any_condjump_p): Likewise.
      	(any_uncondjump_p): Likewise.
      	(pc_set): Likewise.
      	(condjump_label): Likewise.
      	(simplejump_p): Likewise.
      	(returnjump_p): Likewise.
      	(onlyjump_p): Likewise.
      	(invert_jump_1): Strengthen param 1 from rtx to rtx_insn *.
      	(invert_jump): Likewise.
      	(condjump_in_parallel_p): Strengthen param from const_rtx to
      	const rtx_insn *.
      	* rtlanal.c (find_constant_src): Strengthen param from const_rtx
      	to const rtx_insn *.
      	* sel-sched-ir.c (fallthru_bb_of_jump): Strengthen param from rtx
      	to const rtx_insn *.
      	* sel-sched-ir.h (fallthru_bb_of_jump): Likewise.
      
      From-SVN: r214970
      David Malcolm committed
    • Simplification within reorg.c · 45700b6a
      gcc/ChangeLog:
      2014-09-05  David Malcolm  <dmalcolm@redhat.com>
      
      	* reorg.c (relax_delay_slots): Move declaration of "trial_seq"
      	above the conditional, and convert the check on GET_CODE to a
      	dyn_cast, so that "trial_seq" is available as an rtx_sequence * in
      	the conditional.  Simplify the conditional by using methods of
      	"trial_seq".
      
      From-SVN: r214969
      David Malcolm committed
    • Use rtx_insn_list within haifa-sched.c · 96b70414
      gcc/ChangeLog:
      2014-09-05  David Malcolm  <dmalcolm@redhat.com>
      
      	* haifa-sched.c (check_clobbered_conditions): Strengthen local
      	"link" from rtx to rtx_insn_list *, and use its methods for
      	clarity and type-safety.
      	(toggle_cancelled_flags): Likewise.
      	(restore_last_backtrack_point): Likewise.
      	(queue_to_ready): Use insn method of "link" in one place.
      	(schedule_block): Strengthen local "link" from rtx to
      	rtx_insn_list *, and use its methods for clarity and type-safety.
      
      From-SVN: r214968
      David Malcolm committed
    • Use rtx_insn for more scheduler things, plus CONST_CAST_RTX_INSN · c838c402
      gcc/ChangeLog:
      2014-09-05  David Malcolm  <dmalcolm@redhat.com>
      
      	* sched-deps.c (sched_get_condition_with_rev_uncached): Strengthen
      	param "insn" from const_rtx to const rtx_insn *.
      	(sched_get_reverse_condition_uncached): Likewise.
      	(sched_get_condition_with_rev): Likewise.
      	(sched_has_condition_p): Likewise.
      	(sched_insns_conditions_mutex_p): Likewise for both params.
      	(sched_insn_is_legitimate_for_speculation_p): Likewise for param
      	"insn"; convert use of CONST_CAST_RTX to CONST_CAST_RTX_INSN.
      	(setup_insn_reg_uses): Move local "list" to be more tightly
      	scoped, strengthening it from an rtx to an rtx_insn_list *.  Use
      	its methods for clarity and type-safety.
      	(sched_analyze_1): Strengthen local "pending" from rtx to
      	rtx_insn_list *, and local "pending_mem" from rtx to
      	rtx_expr_list *.  Use methods of each for clarity and type-safety.
      	(sched_analyze_2): Likewise.
      	(sched_analyze_insn): Likewise.
      
      	* sched-int.h (sched_get_reverse_condition_uncached): Strengthen
      	param from const_rtx to const rtx_insn *.
      	(sched_insns_conditions_mutex_p): Likewise for both params.
      	(sched_insn_is_legitimate_for_speculation_p): Likewise for first
      	param.
      
      	* system.h (CONST_CAST_RTX_INSN): New macro.
      
      From-SVN: r214967
      David Malcolm committed
    • Use rtx_insn more within peep2 · 1c9b6043
      gcc/ChangeLog:
      2014-09-05  David Malcolm  <dmalcolm@redhat.com>
      
      	* recog.c (peep2_attempt): Strengthen return type from rtx to
      	rtx_insn *.
      	(peep2_update_life): Likewise for params "last", "prev", removing
      	a checked cast made redundant by this.
      	(peephole2_optimize): Likewise for local "last".
      
      From-SVN: r214966
      David Malcolm committed