1. 09 Jul, 2015 17 commits
    • flags.h: Don't include flag-types.h or options.h. · 1916bcb5
      
      2015-07-09  Andrew MacLeod  <amacleod@redhat.com>
      
      	* flags.h: Don't include flag-types.h or options.h.
      	* opts-common.c: Adjust includes.
      	* opts-global.c: Likewise.
      	* common/config/epiphany/epiphany-common.c: Likewise.
      
      c
      
      	* c-array-notation.c: Adjust includes for flags.h changes.
      	* c-objc-common.c: Likewise.
      
      c-family
      
      	* c-common.h: Adjust includes for flags.h changes.
      	* stub-objc.c: Likewise.
      	
      fortran
      
      	* arith.c: Adjust includes for flags.h changes.
      	* array.c: Likewise.
      	* check.c: Likewise.
      	* decl.c: Likewise.
      	* error.c: Likewise.
      	* expr.c: Likewise.
      	* frontend-passes.c: Likewise.
      	* interface.c: Likewise.
      	* intrinsic.c: Likewise.
      	* io.c: Likewise.
      	* match.c: Likewise.
      	* openmp.c: Likewise.
      	* parse.c: Likewise.
      	* primary.c: Likewise.
      	* resolve.c: Likewise.
      	* scanner.c: Likewise.
      	* simplify.c: Likewise.
      	* symbol.c: Likewise.
      	* target-memory.c: Likewise.
      
      jit
      	* dummy-frontend.c: Adjust includes for flags.h changes.
      	* jit-common.h: Likewise.
      	* jit-playback.c: Likewise.
      
      lto
      	* lto-lang.c: Adjust includes for flags.h changes.
      
      From-SVN: r225608
      Andrew MacLeod committed
    • re PR c++/65790 (compilation error : receive std::index_sequence) · a2fe3985
      2015-07-09  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/65790
      	* g++.dg/cpp0x/vt-65790.C: New.
      
      From-SVN: r225607
      Paolo Carlini committed
    • Define ATTRIBUTE_ALIGNED_VALUE to 32 for IA MCU · e9c9e772
      attribute ((aligned)) should align to the minimum of BIGGEST_ALIGNMENT,
      which is 4 bytes for -miamcu.
      
      gcc/
      
      	PR target/66818
      	* config/i386/i386.h (ATTRIBUTE_ALIGNED_VALUE): Defined to 32
      	for IA MCU.
      
      gcc/testsuite/
      
      	PR target/66818
      	* gcc.target/i386/pr66818.c: New test.
      
      From-SVN: r225606
      H.J. Lu committed
    • Check int_size_in_bytes in ix86_return_in_memory · 661c8707
      ix86_return_in_memory should check negative return from int_size_in_bytes,
      similar to other ports.
      
      gcc/
      
      	PR target/66817
      	* config/i386/i386.c (ix86_return_in_memory): Return true
      	if int_size_in_bytes returns negative for IA MCU.
      
      gcc/testsuite/
      
      	PR target/66817
      	* gcc.target/i386/pr66817.c: New test.
      
      From-SVN: r225605
      H.J. Lu committed
    • re PR tree-optimization/66718 (Non-invariant ADDR_EXPR not vectorized) · ca87c493
      	PR tree-optimization/66718
      	* Makefile.in (OBJS): Add gimple-laddress.o. 
      	* passes.def: Schedule pass_laddress.
      	* timevar.def (DEFTIMEVAR): Add TV_GIMPLE_LADDRESS.
      	* tree-pass.h (make_pass_laddress): Declare.
      	* gimple-laddress.c: New file.
      
      	* gcc.dg/vect/vect-126.c: New test.
      
      From-SVN: r225604
      Marek Polacek committed
    • toplev.c (compile_file): Reset maximum_field_alignment after parsing. · 6c909a6a
      2015-07-08  Richard Biener  <rguenther@suse.de>
      
      	* toplev.c (compile_file): Reset maximum_field_alignment after parsing.
      
      From-SVN: r225603
      Richard Biener committed
    • re PR middle-end/66807 (--enable-libmpx failed) · 830ff002
      2015-07-09  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/66807
      	* tree-chkp-opt.c (chkp_opt_fini): Free post dominator info.
      
      From-SVN: r225600
      Richard Biener committed
    • function.c (stack_protect_epilogue): Use if rather than switch for check… · ebd765d4
      function.c (stack_protect_epilogue): Use if rather than switch for check targetm.have_stack_protect_test.
      
      2015-07-08  Kito Cheng  <kito.cheng@gmail.com>
      
      	* function.c (stack_protect_epilogue): Use if rather than switch for
      	check targetm.have_stack_protect_test.
      
      From-SVN: r225599
      Kito Cheng committed
    • *.C: generate dwarf-2 debug information even when dwarf-2 is not the default. · ca506be6
      	* g++.dg/debug/dwarf2/*.C: generate dwarf-2 debug information
      	even when dwarf-2 is not the default.
      
      From-SVN: r225598
      Carlos Sánchez de La Lama committed
    • always define WORD_REGISTER_OPERATIONS · 9e11bfef
      gcc/ChangeLog:
      
      2015-07-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* defaults.h: Provide default for WORD_REGISTER_OPERATIONS.
      	* config/alpha/alpha.h: Define WORD_REGISTER_OPERATIONS to 1.
      	* config/arc/arc.h: Likewise.
      	* config/arm/arm.h: Likewise.
      	* config/bfin/bfin.h: Likewise.
      	* config/epiphany/epiphany.h: Likewise.
      	* config/frv/frv.h: Likewise.
      	* config/ia64/ia64.h: Likewise.
      	* config/iq2000/iq2000.h: Likewise.
      	* config/lm32/lm32.h: Likewise.
      	* config/m32r/m32r.h: Likewise.
      	* config/mcore/mcore.h: Likewise.
      	* config/mep/mep.h: Likewise.
      	* config/microblaze/microblaze.h: Likewise.
      	* config/mips/mips.h: Likewise.
      	* config/mmix/mmix.h: Likewise.
      	* config/mn10300/mn10300.h: Likewise.
      	* config/nds32/nds32.h: Likewise.
      	* config/nios2/nios2.h: Likewise.
      	* config/pa/pa.h: Likewise.
      	* config/rl78/rl78.h: Likewise.
      	* config/sh/sh.h: Likewise.
      	* config/sparc/sparc.h: Likewise.
      	* config/stormy16/stormy16.h: Likewise.
      	* config/tilegx/tilegx.h: Likewise.
      	* config/tilepro/tilepro.h: Likewise.
      	* config/v850/v850.h: Likewise.
      	* config/xtensa/xtensa.h: Likewise.
      	* doc/tm.texi: Regenerate.
      	* doc/tm.texi.in: Adjust.
      	* combine.c (simplify_set): Likewise.
      	(simplify_comparison): Likewise.
      	* expr.c (store_constructor): Likewise.
      	* internal-fn.c (expand_arith_overflow): Likewise.
      	* reload.c (push_reload): Likewise.
      	(find_reloads): Likewise.
      	(find_reloads_subreg_address): Likewise.
      	* reload1.c (eliminate_regs_1): Likewise.
      	* rtlanal.c (nonzero_bits1): Likewise.
      	(num_sign_bit_copies1): Likewise.
      	* simplify-rtx.c (simplify_truncation): Likewise.
      
      From-SVN: r225597
      Trevor Saunders committed
    • reduce conditional compilation based on AUTO_INC_DEC · 760edf20
      gcc/ChangeLog:
      
      2015-07-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* auto-inc-dec.c (pass_inc_dec::execute): Don't check the value
      	of AUTO_INC_DEC with the preprocessor.
      	* combine.c (combine_instructions): Likewise.
      	(can_combine_p): Likewise.
      	(try_combine): Likewise.
      	* emit-rtl.c (try_split): Likewise.
      	* loop-invariant.c (calculate_loop_reg_pressure): Likewise.
      	* lower-subreg.c (resolve_simple_move): Likewise.
      	* lra.c (update_inc_notes): Likewise.
      	* recog.c (asm_operand_ok): Likewise.
      	(constrain_operands): Likewise.
      	* regrename.c (scan_rtx_address): Likewise.
      	* reload.c (update_auto_inc_notes): Likewise.
      	(reg_inc_found_and_valid_p): Likewise.
      	* reload1.c (reload): Likewise.
      	(emit_input_reload_insns): Likewise.
      	(delete_output_reload): Likewise.
      	* sched-deps.c (init_insn_reg_pressure_info): Likewise.
      	* valtrack.c (cleanup_auto_inc_dec): Likewise.
      
      From-SVN: r225596
      Trevor Saunders committed
    • always define AUTO_INC_DEC · 16cb5668
      gcc/ChangeLog:
      
      2015-07-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* rtl.h: Always define AUTO_INC_DEC.
      	* auto-inc-dec.c (pass_inc_dec::execute): Adjust.
      	* combine.c (combine_instructions): Likewise.
      	(can_combine_p): Likewise.
      	(try_combine): Likewise.
      	* emit-rtl.c (try_split): Likewise.
      	* loop-invariant.c (calculate_loop_reg_pressure): Likewise.
      	* lower-subreg.c (resolve_simple_move): Likewise.
      	* lra.c (update_inc_notes): Likewise.
      	* recog.c (asm_operand_ok): Likewise.
      	(constrain_operands): Likewise.
      	* regrename.c (scan_rtx_address): Likewise.
      	* reload.c (update_auto_inc_notes): Likewise.
      	(find_equiv_reg): Likewise.
      	* reload1.c (reload): Likewise.
      	(reload_as_needed): Likewise.
      	(choose_reload_regs): Likewise.
      	(emit_input_reload_insns): Likewise.
      	(delete_output_reload): Likewise.
      	* sched-deps.c (init_insn_reg_pressure_info): Likewise.
      	* valtrack.c (cleanup_auto_inc_dec): Likewise.
      
      From-SVN: r225595
      Trevor Saunders committed
    • use #if for HARD_FRAME_POINTER_IS_FRAME_POINTER less · de824c8b
      gcc/ChangeLog:
      
      2015-07-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* combine.c (can_combine_def_p): Don't check the value of
      	HARD_FRAME_POINTER_IS_FRAME_POINTER with the preprocessor.
      	(combinable_i3pat): Likewise.
      	(mark_used_regs_combine): Likewise.
      	* regrename.c (rename_chains): Likewise.
      	* reload.c (find_reloads_address): Likewise.
      	* sel-sched.c (mark_unavailable_hard_regs): Likewise.
      
      From-SVN: r225594
      Trevor Saunders committed
    • always define SHORT_IMMEDIATES_SIGN_EXTEND · 58f2ae18
      gcc/ChangeLog:
      
      2015-07-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* combine.c (update_rsp_from_reg_equal): Don't check if
      	SHORT_IMMEDIATES_SIGN_EXTEND is defined.
      	(reg_nonzero_bits_for_combine): Likewise.
      	* config/alpha/alpha.h: Define SHORT_IMMEDIATES_SIGN_EXTEND to
      	1.
      	* config/frv/frv.h: Likewise.
      	* config/lm32/lm32.h: Likewise.
      	* config/mep/mep.h: Likewise.
      	* config/mips/mips.h: Likewise.
      	* config/rs6000/rs6000.h: Likewise.
      	* config/sh/sh.h: Likewise.
      	* config/tilegx/tilegx.h (enum reg_class): Likewise.
      	* config/tilepro/tilepro.h: Likewise.
      	* defaults.h: Add default for SHORT_IMMEDIATES_SIGN_EXTEND.
      	* doc/tm.texi: Regenerate.
      	* doc/tm.texi.in: Adjust.
      	* rtlanal.c (nonzero_bits1): Likewise.
      
      From-SVN: r225593
      Trevor Saunders committed
    • remove #if for HAVE_cc0 in combine.c · be1a835d
      gcc/ChangeLog:
      
      2015-07-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* combine.c (do_SUBST_MODE): Don't check the value of HAVE_cc0
      	with the preprocessor.
      	(combine_instructions): Likewise.
      	(try_combine): Likewise.
      	(subst): Likewise.
      	(distribute_notes): Likewise.
      
      From-SVN: r225592
      Trevor Saunders committed
    • reduce conditional compilation for LOAD_EXTEND_OP · f1657f05
      Provide a default in files where that is possible, so that everything
      else there can be unconditionally compiled.  However rtlanal.c and
      reload.c do tricky things that break providing a global default, so we
      can't do that yet.
      
      gcc/ChangeLog:
      
      2015-07-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* combine.c (try_combine): Don't check if LOAD_EXTEND_OP is
      	defined.
      	(simplify_set): Likewise.
      	* cse.c (cse_insn): Likewise.
      	* fold-const.c (fold_single_bit_test): Likewise.
      	(fold_unary_loc): Likewise.
      	* postreload.c (reload_cse_simplify_set): Likewise.
      	(reload_cse_simplify_operands): Likewise.
      
      From-SVN: r225591
      Trevor Saunders committed
    • Daily bump. · 1acfc9ca
      From-SVN: r225590
      GCC Administrator committed
  2. 08 Jul, 2015 23 commits