1. 22 Oct, 2012 21 commits
  2. 21 Oct, 2012 13 commits
  3. 20 Oct, 2012 6 commits
    • re PR middle-end/54315 (unnecessary copy of return value for union) · 929634d8
      	PR rtl-optimization/54315
      	* calls.c (expand_call): Don't deal specifically with BLKmode values
      	returned in naked registers.
      	* expr.h (copy_blkmode_from_reg): Adjust prototype.
      	* expr.c (copy_blkmode_from_reg): Rename first parameter into TARGET and
      	make it required.  Assert that SRCREG hasn't BLKmode.  Add a couple of 
      	short-circuits for common cases and be prepared for sub-word registers.
      	(expand_assignment): Call copy_blkmode_from_reg for BLKmode values
      	returned in naked registers.
      	(store_expr): Likewise.
      	(store_field): Likewise.
      
      From-SVN: r192641
      Eric Botcazou committed
    • unroll-1.c: New testcase. · e598c332
      	* gcc.dg/tree-prof/unroll-1.c: New testcase.
      
      	* loop-unroll.c (decide_unroll_constant_iterations): Don't
      	perform unrolling for loops with low iterations bounds or estimates.
      
      From-SVN: r192638
      Jan Hubicka committed
    • loop-iv.c (iv_number_of_iterations): Record the upper bound only if there are no… · bcd8d322
      loop-iv.c (iv_number_of_iterations): Record the upper bound only if there are no further conditions on it.
      
      
      	* loop-iv.c (iv_number_of_iterations): Record the upper bound
      	only if there are no further conditions on it.
      
      From-SVN: r192636
      Jan Hubicka committed
    • re PR c/53063 (encode group options in the .opt files) · 4a0ae68e
      2012-10-20  Manuel López-Ibáñez  <manu@gcc.gnu.org>
      
      	PR c/53063
      	PR c/40989
      c-family/
      	* c.opt (Waddress,Wchar-subscripts,Wsign-conversion,Wimplicit,
      	Wimplicit-function-declaration,Wimplicit-int,Wsizeof-pointer-memaccess,
      	Wnarrowing,Wparentheses,Wpointer-sign,Wreturn-type,Wsequence-point,
      	Wsign-compare,Wuninitialized,Wmaybe-uninitialized,Wunused,
      	Wvolatile-register-var): Add LangEnabledBy or EnabledBy.
      	* c-opts.c (c_common_handle_option): Remove explicit handling from
      	here.
      	(c_common_post_options): Likewise.
      gcc/
      	* opts.c (finish_options): Remove explicit handling from here.
      
      From-SVN: r192635
      Manuel López-Ibáñez committed
    • final.c (shorten_branches): When optimizing... · f6df08e6
              * final.c (shorten_branches): When optimizing, start with small
              length and increase from there, and don't decrease lengths.
      
      Co-Authored-By: Richard Sandiford <rdsandiford@googlemail.com>
      
      From-SVN: r192634
      Joern Rennecke committed
    • emit-rtl.c (copy_delay_slot_insn): New function. · 8e383849
      2012-10-20  Joern Rennecke  <joern.rennecke@embecosm.com>
                  Richard Sandiford  <rdsandiford@googlemail.com>
      
              * emit-rtl.c (copy_delay_slot_insn): New function.
              * emit-rtl.h (copy_delay_slot_insn): Declare.
              * reorg.c: Include "emit-rtl.h".
              (steal_delay_list_from_target): Use copy_delay_slot_insn.
              (fill_slots_from_thread, fill_simple_delay_slots): Likewise.
      
      Co-Authored-By: Richard Sandiford <rdsandiford@googlemail.com>
      
      From-SVN: r192633
      Joern Rennecke committed