1. 05 Jun, 2014 4 commits
  2. 04 Jun, 2014 28 commits
  3. 03 Jun, 2014 8 commits
    • aarch64.c (aarch64_if_then_else_costs): Allow non comparisons for OP0. · b9e3afe9
      2014-06-03  Andrew Pinski  <apinski@cavium.com>
      
      	* config/aarch64/aarch64.c (aarch64_if_then_else_costs): Allow non comparisons
      	for OP0.
      
      2014-06-03  Andrew Pinski  <apinski@cavium.com>
      
      	* gcc.c-torture/compile/20140528-1.c: New testcase.
      
      From-SVN: r211206
      Andrew Pinski committed
    • aarch64.c (aarch64_if_then_else_costs): New function. · 2d5ffe46
      2014-06-03  Andrew Pinski  <apinski@cavium.com>
      
      	* config/aarch64/aarch64.c (aarch64_if_then_else_costs): New function.
      	(aarch64_rtx_costs): Use aarch64_if_then_else_costs.
      
      From-SVN: r211205
      Andrew Pinski committed
    • i386.c (ix86_function_value_regno_p): Disallow DX_REG for 64-bit ms-abi. · 3ce7abdd
              * config/i386/i386.c (ix86_function_value_regno_p): Disallow DX_REG
              for 64-bit ms-abi.
      
      From-SVN: r211204
      Kai Tietz committed
    • tree-cfg.c (gimple_merge_blocks): Only reset count when BBs are in the same loop. · 47e78f98
      2014-06-03  Dehao Chen  <dehao@google.com>
      
      	* tree-cfg.c (gimple_merge_blocks): Only reset count when BBs are in
      	the same loop.
      	* gcc.dg/tree-prof/merge_block.c: New test.
      
      From-SVN: r211202
      Dehao Chen committed
    • mv14.C (dg-options): Add -march=x86-64. · eb7404d4
      	* g++.dg/ext/mv14.C (dg-options): Add -march=x86-64.
      	* g++.dg/ext/mv15.C (dg-options): Ditto.
      
      From-SVN: r211196
      Uros Bizjak committed
    • DR 1423 PR c++/52174 · 3c61a5ba
      gcc/cp
      2014-06-03  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	DR 1423
      	PR c++/52174
      	* call.c (standard_conversion): Convert nullptr to bool only
      	in case of direct-initialization.
      	(convert_like_real): Provide informative error message.
      
      gcc/testsuite
      2014-06-03  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	DR 1423
      	PR c++/52174
      	* g++.dg/cpp0x/nullptr31.C: New.
      	* g++.dg/cpp0x/sfinae-nullptr1.C: Likewise.
      	* g++.dg/cpp0x/nullptr17.C: Update.
      
      libstdc++-v3
      2014-06-03  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	DR 1423
      	PR c++/52174
      	* testsuite/20_util/is_assignable/value.cc: Update.
      
      From-SVN: r211195
      Paolo Carlini committed
    • re PR c/60439 (No warning for case overflow in switch statement.) · fedfecef
      	PR c/60439
      	* doc/invoke.texi: Document -Wswitch-bool.
      	* function.c (stack_protect_epilogue): Cast controlling expression of
      	the switch to int.
      	* gengtype.c (walk_type): Generate switch expression with its
      	controlling expression cast to int.
      c/
      	* c-parser.c (c_parser_switch_statement): Pass explicit_cast_p to
      	c_start_case.
      	* c-tree.h (c_start_case): Update.
      	* c-typeck.c (c_start_case): Add new boolean parameter.  Warn if
      	switch condition has boolean value.
      cp/
      	* semantics.c (finish_switch_cond): Warn if switch condition has
      	boolean value.
      c-family/
      	* c.opt (Wswitch-bool): New option.
      testsuite/
      	* c-c++-common/pr60439.c: New test.
      	* g++.dg/eh/scope1.C (f4): Add dg-warning.
      
      From-SVN: r211194
      Marek Polacek committed
    • avr-mcus.def: Add new avr25 devices attiny441, attiny828 and attiny841. · e4f36438
      	* config/avr/avr-mcus.def: Add new avr25 devices attiny441, attiny828
      	and attiny841.
      	* config/avr/avr-tables.opt: Regenerate.
      	* config/avr/t-multilib: Regenerate.
      	* doc/avr-mmcu.texi: Regenerate.
      
      	* config/avr/avr-mcus.def (ata6616c): Add new avr25 device.
      	(ata6617c, ata664251): Add new avr35 devices.
      	(ata6612c): Add new avr4 device.
      	(ata6613c, ata6614q): Add new avr5 devices.
      	* config/avr/avr-tables.opt: Regenerate.
      	* config/avr/t-multilib: Regenerate.
      	* doc/avr-mmcu.texi: Regenerate.
      
      From-SVN: r211189
      Denis Chertykov committed