1. 21 Nov, 2016 13 commits
    • empty_fiq_handler.c: Skip if -mthumb is passed in and target is Thumb-only. · e420e419
      2016-11-21  Thomas Preud'homme  <thomas.preudhomme@arm.com>
      
          gcc/testsuite/
          * gcc.target/arm/empty_fiq_handler.c: Skip if -mthumb is passed in and
          target is Thumb-only.
      
      From-SVN: r242658
      Thomas Preud'homme committed
    • make dead_or_set_{,regno_}p take rtx_insn * · bacca127
      gcc/ChangeLog:
      
      2016-11-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* rtl.h: Adjust prototype.
      	* rtlanal.c (dead_or_set_p): Change argument type to rtx_insn *.
      	(dead_or_set_regno_p): Likewise.
      
      From-SVN: r242657
      Trevor Saunders committed
    • make add_int_reg_note take rtx_insn * · 2059d0e9
      gcc/ChangeLog:
      
      2016-11-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* rtl.h: Adjust prototype.
      	* rtlanal.c (add_int_reg_note): Change argument type to rtx_insn *.
      
      From-SVN: r242656
      Trevor Saunders committed
    • make prologue_epilogue_contains take a rtx_insn * · 87ac59a0
      gcc/ChangeLog:
      
      2016-11-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* function.c (contains): Change argument type to rtx_insn *.
      	(prologue_contains): Likewise.
      	(epilogue_contains): Likewise.
      	(prologue_epilogue_contains): Likewise.
      	* function.h: Adjust prototype.
      
      From-SVN: r242655
      Trevor Saunders committed
    • remove cast from emit_libcall_block · f087c773
      gcc/ChangeLog:
      
      2016-11-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* optabs.c (emit_libcall_block): Change argument type to
      	rtx_insn *.
      	* optabs.h: Adjust prototype.
      
      From-SVN: r242654
      Trevor Saunders committed
    • make delete_insn () take a rtx_insn * · a29f6a2b
      gcc/ChangeLog:
      
      2016-11-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* cfgrtl.c (delete_insn): Change argument type to rtx_insn *.
      	(fixup_reorder_chain): Adjust.
      	* cfgrtl.h: Adjust prototype.
      
      From-SVN: r242653
      Trevor Saunders committed
    • make replace_label_in_insn take labels as rtx_insn * · 4bd09ee9
      gcc/ChangeLog:
      
      2016-11-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* rtl.h: Adjust prototype.
      	* rtlanal.c (replace_label_in_insn): Change argument type to
      	rtx_insn *.
      
      From-SVN: r242652
      Trevor Saunders committed
    • make recog () take a rtx_insn * · 800dcd86
      gcc/ChangeLog:
      
      2016-11-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* config/v850/v850.c (expand_prologue): Adjust.
      	(expand_epilogue): Likewise.
      	* expr.c (init_expr_target): Likewise.
      	* genrecog.c (print_subroutine): Always make the argument type
      	rtx_insn *.
      	* recog.h: Adjust prototype.
      
      From-SVN: r242651
      Trevor Saunders committed
    • split up variables to use rtx_insn * more · f370536c
      gcc/ChangeLog:
      
      2016-11-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* config/aarch64/aarch64.c (aarch64_emit_unlikely_jump): split
      	up variables to make some rtx_insn *.
      	* config/alpha/alpha.c (emit_unlikely_jump): Likewise.
      	* config/arc/arc.c: Likewise.
      	* config/arm/arm.c: Likewise.
      	* config/mn10300/mn10300.c (mn10300_legitimize_pic_address):
      	Likewise.
      	* config/rs6000/rs6000.c (rs6000_expand_split_stack_prologue):
      	Likewise.
      	* config/spu/spu.c (spu_emit_branch_hint): Likewise.
      
      From-SVN: r242650
      Trevor Saunders committed
    • use rtx_insn * more places where it is obvious · d8485bdb
      gcc/ChangeLog:
      
      2016-11-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* config/arm/arm.c (legitimize_pic_address): Change to use
      	rtx_insn * as the type of variables.
      	(arm_pic_static_addr): Likewise.
      	(arm_emit_movpair): Likewise.
      	* config/c6x/c6x.c (reorg_split_calls): Likewise.
      	* config/darwin.c (machopic_legitimize_pic_address): Likewise.
      	* config/frv/frv.c (frv_optimize_membar_local): Likewise.
      	* config/frv/frv.md: Likewise.
      	* config/i386/i386-protos.h: Likewise.
      	* config/i386/i386.c (ix86_expand_split_stack_prologue):
      	Likewise.
      	(ix86_split_fp_branch): Likewise.
      	(predict_jump): Likewise.
      	* config/ia64/ia64.c: Likewise.
      	* config/mcore/mcore.c: Likewise.
      	* config/rs6000/rs6000.c (rs6000_legitimize_tls_address):
      	Likewise.
      	* config/s390/s390.c: Likewise.
      	* config/s390/s390.md: Likewise.
      	* config/spu/spu.md: Likewise.
      	* config/tilegx/tilegx.c (tilegx_legitimize_tls_address):
      	Likewise.
      	* lower-subreg.c (resolve_simple_move): Likewise.
      
      From-SVN: r242649
      Trevor Saunders committed
    • re PR target/48551 (Following source code crashes the c++ compiler on coldfire platform.) · fe12d76c
      2016-11-20  Jeff Law  <law@redhat.com>
      
      	PR target/48551
      	* reload.h (struct target_reload): Make x_double_reg_address_ok
      	be per-mode rather.
      	* reload.c (find_reloads_address): Check if double_reg_address_ok
      	is true for the mode of the memory reference.
      	* reload1.c (init_reload): Initialize double_reg_address_ok for
      	each mode.
      
      	PR target/48551
      	* gcc.target/m68k/pr48551.c: New test.
      
      From-SVN: r242648
      Jeff Law committed
    • PR objc++/78418 - ICE in string tests on darwin · 29c90a3c
      	* tree.c (lvalue_kind): Guard DECL_HAS_VALUE_EXPR_P.
      
      From-SVN: r242647
      Jason Merrill committed
    • Daily bump. · 30820050
      From-SVN: r242646
      GCC Administrator committed
  2. 20 Nov, 2016 10 commits
  3. 19 Nov, 2016 13 commits
  4. 18 Nov, 2016 4 commits
    • re PR c++/68180 ([ICE] at cp/constexpr.c:2768 in initializing __vector in a loop) · 521c54dd
      	PR c++/68180
      	* g++.dg/cpp1y/pr68180.C: Add -Wno-psabi as dg-additional-options.
      
      From-SVN: r242610
      Jakub Jelinek committed
    • re PR middle-end/78419 (ICE with target_clone on invalid target) · 5e7c7761
      	PR middle-end/78419
      	* multiple_target.c (get_attr_len): Start with argnum and increment
      	argnum on every arg.  Use strchr in a loop instead of counting commas
      	manually.
      	(get_attr_str): Increment argnum for every comma in the string.
      	(separate_attrs): Use for instead of while loop, simplify.
      	(expand_target_clones): Rename defenition argument to definition.
      	Free attrs and attr_str even when diagnosing errors.  Temporarily
      	change input_location around targetm.target_option.valid_attribute_p
      	calls.  Don't emit warning or errors if that function fails.
      
      	* gcc.target/i386/pr78419.c: New test.
      
      From-SVN: r242608
      Jakub Jelinek committed
    • re PR c++/77285 (extern thread_local linkage) · 6c554a2a
      	PR c++/77285
      	* mangle.c (mangle_tls_init_fn, mangle_tls_wrapper_fn): Call
      	check_abi_tags.
      
      	* g++.dg/tls/pr77285-1.C: New test.
      	* g++.dg/tls/pr77285-2.C: New test.
      
      From-SVN: r242607
      Jakub Jelinek committed
    • re PR debug/78191 (ICE in calc_die_sizes) · 33305b74
      	* dwarf2out.c (size_of_discr_list): Fix typo in function comment.
      
      	PR debug/78191
      	* dwarf2out.c (abbrev_opt_base_type_end): New variable.
      	(die_abbrev_cmp): Sort dies with die_abbrev smaller than
      	abbrev_opt_base_type_end only by increasing die_abbrev, before
      	any other dies.
      	(optimize_abbrev_table): Don't change abbrev numbers of
      	base types and CU or optimize implicit consts in them if
      	calc_base_type_die_sizes has been called during build_abbrev_table.
      	(calc_base_type_die_sizes): If abbrev_opt_start, set
      	abbrev_opt_base_type_end to one plus largest base type's
      	die_abbrev.
      
      From-SVN: r242606
      Jakub Jelinek committed