1. 16 Dec, 2013 7 commits
    • Makefile.in (version.o): Restore dependencies on $(REVISION), $(DATESTAMP),… · 609458ae
      Makefile.in (version.o): Restore dependencies on $(REVISION), $(DATESTAMP), $(BASEVER) and $(DEVPHASE).
      
      	* Makefile.in (version.o): Restore dependencies on
      	$(REVISION), $(DATESTAMP), $(BASEVER) and $(DEVPHASE).
      
      From-SVN: r206013
      Jakub Jelinek committed
    • re PR ipa/59473 (ice in get_class_context with -O3) · 3b4e93c3
      
      	PR ipa/59473
      	* ipa-devirt.c (get_class_context): Do not ICE when type is found
      	at wrong offset.
      
      From-SVN: r206012
      Jan Hubicka committed
    • re PR libgomp/58756 (FAIL: libgomp.c/pr58392.c execution test) · e9792e1d
      	PR libgomp/58756
      	* omp-low.c (lower_rec_input_clauses) <case OMP_CLAUSE_REDUCTION>: For
      	reductions without placeholder if is_simd, but when not using
      	GOMP_SIMD* internal calls, also perform the reduction operation
      	on the outer var rather than simple assignment.
      
      	* testsuite/libgomp.c/pr58756.c: New test.
      
      From-SVN: r206011
      Jakub Jelinek committed
    • i386.c (slm_cost): Fix imul cost for HI. · cc7937da
      * config/i386/i386.c (slm_cost): Fix imul cost for HI.
      
      From-SVN: r206010
      Yuri Rumyantsev committed
    • re PR middle-end/58956 (wrong code at -O1 and above (affecting gcc 4.6 to trunk)) · 9f1363cd
      	PR middle-end/58956
      	PR middle-end/59470
      	* gimple-walk.h (walk_stmt_load_store_addr_fn): New typedef.
      	(walk_stmt_load_store_addr_ops, walk_stmt_load_store_ops): Use it
      	for callback params.
      	* gimple-walk.c (walk_stmt_load_store_ops): Likewise.
      	(walk_stmt_load_store_addr_ops): Likewise.  Adjust all callback
      	calls to supply the gimple operand containing the base tree
      	as an extra argument.
      	* tree-ssa-ter.c: Include gimple-walk.h.
      	(find_ssaname, find_ssaname_in_store): New helper functions.
      	(find_replaceable_in_bb): For calls or GIMPLE_ASM, only set
      	same_root_var if USE is used somewhere in the stores of the stmt.
      	* ipa-prop.c (visit_ref_for_mod_analysis): Remove name of the stmt
      	argument and ATTRIBUTE_UNUSED, add another unnamed tree argument.
      	* ipa-pure-const.c (check_load, check_store, check_ipa_load,
      	check_ipa_store): Likewise.
      	* gimple.c (gimple_ior_addresses_taken_1, check_loadstore): Likewise.
      	* ipa-split.c (test_nonssa_use, mark_nonssa_use): Likewise.
      	(verify_non_ssa_vars, visit_bb): Adjust their callers.
      	* cfgexpand.c (add_scope_conflicts_1): Use
      	walk_stmt_load_store_addr_fn type for visit variable.
      	(visit_op, visit_conflict): Remove name of the stmt
      	argument and ATTRIBUTE_UNUSED, add another unnamed tree argument.
      	* tree-sra.c (asm_visit_addr): Likewise.  Remove name of the data
      	argument and ATTRIBUTE_UNUSED.
      	* cgraphbuild.c (mark_address, mark_load, mark_store): Add another
      	unnamed tree argument.
      	* gimple-ssa-isolate-paths.c (check_loadstore): Likewise.  Remove
      	ATTRIBUTE_UNUSED from stmt parameter.
      
      	* gcc.target/i386/pr59470.c: New test.
      
      From-SVN: r206009
      Jakub Jelinek committed
    • opts-common.c (integral_argument): Add support for hexadecimal command option integer arguments. · 317c1849
      2013-12-16  Chung-Lin Tang  <cltang@codesourcery.com>
      
      	* opts-common.c (integral_argument): Add support for
      	hexadecimal command option integer arguments. Update comments.
      
      From-SVN: r206008
      Chung-Lin Tang committed
    • Daily bump. · de9d8725
      From-SVN: r206007
      GCC Administrator committed
  2. 15 Dec, 2013 7 commits
    • re PR ipa/59265 (Segmentation fault in ipa_note_param_call for -fprofile-use in SPEC CPU2006) · b786d31f
      
      	PR ipa/59265
      	* ipa-prop.c (ipa_analyze_call_uses): Skip already
      	devirtualized calls.
      	g++.dg/torture/pr59265.C: New testcase.
      
      From-SVN: r206004
      Jan Hubicka committed
    • vect-nop-move.c (foo32x2_be): Call __builtin_ia32_emms for 32bit x86 targets. · 88fab00d
      	* gcc.dg/vect/vect-nop-move.c (foo32x2_be): Call
      	__builtin_ia32_emms for 32bit x86 targets.
      	(foo32x2_le): Ditto.
      	(main): Reorder function calls.
      
      From-SVN: r206002
      Uros Bizjak committed
    • pr57756.c (dg-options): Add -mno-sse3. · 4e7a80df
      	* gcc.target/i386/pr57756.c (dg-options): Add -mno-sse3.
      
      From-SVN: r206000
      Uros Bizjak committed
    • * ChangeLog: Add missing PR number. · 71803dc5
      From-SVN: r205999
      Uros Bizjak committed
    • pr43662.c (dg-options): Add -maccumulate-outgoing-args. · e009b7da
      	* gcc.target/i386/pr43662.c (dg-options):
      	Add -maccumulate-outgoing-args.
      	* gcc.target/i386/pr43869.c (dg-options): Ditto.
      	* gcc.target/i386/pr57003.c (dg-options): Ditto.
      	* gcc.target/i386/avx-vzeroupper-16.c (dg-options):
      	Remove -mtune=generic and add -maccumulate-outgoing-args instead.
      	* gcc.target/i386/avx-vzeroupper-17.c (dg-options): Ditto.
      	* gcc.target/i386/avx-vzeroupper-18.c (dg-options): Ditto.
      	* gcc.target/x86_64/abi/callabi/func-1.c (dg-options):
      	Add -maccumulate-outgoing-args.
      	* gcc.target/x86_64/abi/callabi/func-2a.c (dg-options): Ditto.
      	* gcc.target/x86_64/abi/callabi/func-2b.c (dg-options): Ditto.
      	* gcc.target/x86_64/abi/callabi/func-indirect.c (dg-options): Ditto.
      	* gcc.target/x86_64/abi/callabi/func-indirect-2a.c (dg-options): Ditto.
      	* gcc.target/x86_64/abi/callabi/func-indirect-2b.c (dg-options): Ditto.
      	* gcc.target/x86_64/abi/callabi/leaf-1.c (dg-options): Ditto.
      	* gcc.target/x86_64/abi/callabi/leaf-2.c (dg-options): Ditto.
      	* gcc.target/x86_64/abi/callabi/pr38891.c (dg-options): Ditto.
      	* gcc.target/x86_64/abi/callabi/vaarg-1.c (dg-options): Ditto.
      	* gcc.target/x86_64/abi/callabi/vaarg-2.c (dg-options): Ditto.
      	* gcc.target/x86_64/abi/callabi/vaarg-3.c (dg-options): Ditto.
      	* gcc.target/x86_64/abi/callabi/vaarg-4a.c (dg-options): Ditto.
      	* gcc.target/x86_64/abi/callabi/vaarg-4b.c (dg-options): Ditto.
      	* gcc.target/x86_64/abi/callabi/vaarg-5a.c (dg-options): Ditto.
      	* gcc.target/x86_64/abi/callabi/vaarg-5b.c (dg-options): Ditto.
      
      From-SVN: r205998
      Uros Bizjak committed
    • re PR fortran/59493 ([OOP] ICE: Segfault on Class(*) pointer association) · 013a961b
      2013-12-15  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/59493
      	* class.c (gfc_find_intrinsic_vtab): Handle BT_CLASS.
      
      
      2013-12-15  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/59493
      	* gfortran.dg/unlimited_polymorphic_15.f90: New.
      
      From-SVN: r205997
      Janus Weil committed
    • Daily bump. · 5fbcd8d4
      From-SVN: r205996
      GCC Administrator committed
  3. 14 Dec, 2013 14 commits
  4. 13 Dec, 2013 12 commits
    • msp430.md (movqi): replace general_operand with msp_general_operand and… · a3b50977
      msp430.md (movqi): replace general_operand with msp_general_operand and nonimmediate_operand with...
      
      * config/msp430/msp430.md (movqi): replace general_operand with
      msp_general_operand and nonimmediate_operand with
      msp_nonimmediate_operand to allow volatile operands.
      (movhi): Likewise.
      (movpsi): Likewise.
      (addpsi3): Likewise.
      (addhi3): Likewise.
      (addhi3_cy): Likewise.
      (addchi4_cy): Likewise.
      (xor<mode>3): Likewise.
      (ome_cmpl<mode>2): Likewise.
      (extendqihi2): Likewise.
      (zero_extendqihi2): Likewise.
      (zero_extendhipsi2): Likewise.
      (truncpsihi2): Likewise.
      (srai_1): Likewise.
      
      From-SVN: r205977
      DJ Delorie committed
    • Fix g++.dg/cilk-plus/cilk-plus.exp · 4cd3c67d
              * g++.dg/cilk-plus/cilk-plus.exp: Properly set ld_library_path.
              Use TEST_EXTRA_LIBS instead of ALWAYS_CFLAGS.
      
      From-SVN: r205976
      Rainer Orth committed
    • configure.ac: Add user-friendly check for native x86_64-linux multilibs. · 79e0604d
      	* configure.ac: Add user-friendly check for native x86_64-linux
      	multilibs.
      	* configure: Regenerate.
      
      From-SVN: r205975
      Francois-Xavier Coudert committed
    • ira.h (struct ira_reg_equiv): Rename to ira_reg_equiv_s. · 4c2b2d79
      2013-12-13  Vladimir Makarov  <vmakarov@redhat.com>
      
      	* ira.h (struct ira_reg_equiv): Rename to ira_reg_equiv_s.
      	* ira.c: Ditto.
      	* lra-int.h (lra_init_equiv): New prototype.
      	* lra-constraints.c (lra_init_equiv, update_equiv): New functions.
      	(loc_equivalence_callback): Use the 3rd arg.
      	(lra_constraints): Update equivalences.  Pass curr_insn to
      	simplify_replace_fn_rtx.
      	* lra.c (lra): Call lra_init_equiv.
      
      From-SVN: r205974
      Vladimir Makarov committed
    • genmodes.c (emit_max_int): Fixed missing parens. · 74241479
      2013-12-13  Kenneth Zadeck  <zadeck@naturalbridge.com>
      
      	* genmodes.c (emit_max_int): Fixed missing parens.
      
      From-SVN: r205970
      Kenneth Zadeck committed
    • re PR tree-optimization/59149 (diagnose_tm_1 calls flags_from_decl_or_type on an ADDR_EXPR) · 17fc8d6f
      	PR tree-optimization/59149
      	* calls.c (flags_from_decl_or_type): Fail on non decl or type.
      	* trans-mem.c (diagnose_tm_1): Do not call flags_from_decl_or_type
      	if no type or decl.
      
      From-SVN: r205967
      Aldy Hernandez committed
    • Enabled Usage of _Cilk_spawn and _Cilk_sync in Cilk Runtime (libcilkrts). · 1904eff1
      +2013-12-13  Balaji V. Iyer  <balaji.v.iyer@intel.com>
      +
      +       * Makefile.am (GENERAL_FLAGS): Removed undefining of Cilk keywords.
      +       * Makefile.in: Reconfigure.
      +       * runtime/symbol_test.c: Added a #define to clear out _Cilk_for.
      +
      
      From-SVN: r205965
      Balaji V. Iyer committed
    • arc.h (BITS_PER_UNIT): Removed. · 8fd05f4d
      2013-12-13  Kenneth Zadeck  <zadeck@naturalbridge.com>
      
      	* config/arc/arc.h (BITS_PER_UNIT): Removed.
      	* config/bfin/bfin.h (BITS_PER_UNIT): Removed.
      	* config/lm32/lm32.h (BITS_PER_UNIT): Removed.
      	* config/m32c/m32c.h (BITS_PER_UNIT): Removed.
      	* config/microblaze/microblaze.h (BITS_PER_UNIT): Removed.
      	* config/picochip/picochip.h (BITS_PER_UNIT): Removed.
      	* config/spu/spu.h (BITS_PER_UNIT): Removed.
      	* defaults.h (BITS_PER_UNIT): Removed.
      	* config/i386/i386-modes.def (MAX_BITSIZE_MODE_ANY_INT): New.
      	* doc/rtl (BITS_PER_UNIT): Moved from tm.texi.
      	(MAX_BITSIZE_MODE_ANY_INT): Updated.
      	* doc/tm.texi (BITS_PER_UNIT): Removed.
      	* doc/tm.texi.in (BITS_PER_UNIT): Removed.
      	* genmodes.c (bits_per_unit, max_bitsize_mode_any_int): New.
      	(create_modes): Added code to set bits_per_unit and
      	max_bitsize_mode_any_int.
      	(emit_max_int): Changed code generation.
      	* mkconfig.sh: Added insn-modes.h.
      
      From-SVN: r205964
      Kenneth Zadeck committed
    • re PR tree-optimization/45685 (missed conditional move opportunity in loop) · 62c6e26e
      	PR tree-optimization/45685
      	* tree-ssa-phiopt.c (neg_replacement): New function.
      	(tree_ssa_phiopt_worker): Call it.
      
      	PR tree-optimization/45685
      	* gcc.dg/tree-ssa/pr45685.c: New test.
      
      From-SVN: r205963
      Jeff Law committed
    • Update HImode imul cost for Silvermont · b0d97c33
      2013-12-13  Yuri Rumyantsev  <ysrumyan@gmail.com>
      
      	* config/i386/i386.c (slm_cost): Fix imul cost for HI.
      
      From-SVN: r205962
      Yuri Rumyantsev committed
    • re PR tree-optimization/58296 (ivopts is unable to handle some loops altered by… · b83b5507
      re PR tree-optimization/58296 (ivopts is unable to handle some loops altered by the loop header copying pass)
      
      
      	PR tree-optimization/58296
      	PR tree-optimization/41488
      	* tree-scalar-evolution.c: Include necessary header files.
      	(simplify_peeled_chrec): New function.
      	(analyze_evolution_in_loop): New static variable.
      	Call simplify_peeled_chrec.
      	* tree-ssa-loop-ivopts.c (mark_bivs): Don't mark peeled IV as biv.
      	(add_old_iv_candidates): Don't add candidate for peeled IV.
      	* tree-affine.h (aff_combination_zero_p): New function.
      
      	PR tree-optimization/58296
      	PR tree-optimization/41488
      	* gcc.dg/tree-ssa/scev-7.c: New test.
      	* gcc.dg/pr41488.c: New test.
      	* g++.dg/pr59445.C: New test.
      
      From-SVN: r205959
      Bin Cheng committed
    • msp430.c (is_wakeup_func): New function. · a005b5be
      	* config/msp430/msp430.c (is_wakeup_func): New function.  Returns
      	true if the current function has the wakeup attribute.
      	(msp430_start_function): Note if the function has the wakeup
      	attribute.
      	(msp430_attribute_table): Add wakeup attribute.
      	(msp430_expand_epilogue): Add support for wakeup functions.
      	* config/msp430/msp430.md (disable_interrupts): Emit a NOP after
      	the DINT instruction.
      	* doc/extend.texi: Document the wakeup attribute.
      
      From-SVN: r205958
      Nick Clifton committed