1. 03 Oct, 2016 7 commits
    • Fix failing gcc.target/avr/torture/builtins_error.c · d07b0a23
      The compiler defaults to thin LTO objects if built with linker plugin
      support, and in that case, the error expected by the testcase appears 
      only at link time, if at all. Forcing fat LTO object file creation 
      generates the error consistently at compile time, as expected.
      
      gcc/testsuite/ChangeLog:
      
      2016-10-03  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
      
      	* gcc.target/avr/torture/builtins-error.c: Add -ffat-lto-objects
      	option.
      
      From-SVN: r240711
      Senthil Kumar Selvaraj committed
    • Ensure "C++" language linkage for std::abs overloads · 6a0d23af
      	PR libstdc++/77814
      	* include/bits/std_abs.h: Use "C++" language linkage.
      	* testsuite/17_intro/headers/c++2011/linkage.cc: Move <complex.h> to
      	the end. Add <stdalign.h>.
      
      From-SVN: r240710
      Jonathan Wakely committed
    • re PR libstdc++/77802 (Boost Fiber doesn't compile) · 3fe2ddae
          PR libstdc++/77802
          * testsuite/20_util/tuple/77802.cc: New.
      
          Revert:
          2016-09-21  Ville Voutilainen  <ville.voutilainen@gmail.com>
          Implement LWG 2729 for tuple.
          * include/std/tuple (_Tuple_impl(_Tuple_impl&&)):
          Suppress conditionally.
          (_Tuple_impl(_Tuple_impl<_Idx, _UHead, _UTails...>&&)): Likewise.
          (__is_tuple_impl_trait_impl, __is_tuple_impl_trait): New.
          (_Tuple_impl(const _Head&)): Constrain.
          (_Tuple_impl(_UHead&&)): Likewise.
          (_Tuple_impl(_Tuple_impl&&)): Suppress conditionally.
          (_Tuple_impl(const _Tuple_impl<_Idx, _UHead>&)): Constrain.
          (_Tuple_impl(_Tuple_impl<_Idx, _UHead>&&)): Likewise.
          (operator=(const tuple&)): Enable conditionally.
          (operator=(tuple&&)): Suppress conditionally.
          (operator=(const tuple<_UElements...>&)): Constrain.
          (operator=(tuple<_UElements...>&&)): Likewise.
          (operator=(const tuple&)): Enable conditionally (2-param tuple).
          (operator=(tuple&&)): Suppress conditionally (2-param tuple).
          (operator=(const tuple<_U1, _U2>&)): Constrain.
          (operator=(tuple<_U1, _U2>&&)): Likewise.
          (operator=(const pair<_U1, _U2>&)): Likewise.
          (operator=(pair<_U1, _U2>&&)): Likewise.
          * testsuite/20_util/tuple/element_access/get_neg.cc: Adjust.
          * testsuite/20_util/tuple/tuple_traits.cc: New.
      
      From-SVN: r240709
      Ville Voutilainen committed
    • Revert: [RTL ifcvt] Transform (X == CST) ? -CST : Y into (X == CST) ? -X : Y… · b44a42cf
      Revert: [RTL ifcvt] Transform (X == CST) ? -CST : Y into (X == CST) ? -X : Y when conditional negation is available
      
      	Revert
      	2016-09-30  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
      
      	* ifcvt.c (noce_try_avoid_const_materialization): New function.
      	(noce_process_if_block): Use it.
      
      	* gcc.target/aarch64/ifcvt_avoid_const_materialization_1.c: New test.
      
      From-SVN: r240708
      Kyrylo Tkachov committed
    • Core 903 · f41f1ceb
      	Core 903
      	* typeck.c (cp_build_binary_op): Pass original operands to
      	null_ptr_cst_p, not those after the default conversions.
      
      	* g++.dg/cpp0x/nullptr37.C: New test.
      
      From-SVN: r240707
      Marek Polacek committed
    • invoke.texi: Update -Wint-in-bool-context. · 1633d3b9
      2016-10-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
      
              * doc/invoke.texi: Update -Wint-in-bool-context.
      
      c-family:
      2016-10-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
      
              * c-common.c (c_common_truthvalue_conversion): Warn for suspicious
              left shift in boolean context.
      
      cp:
      2016-10-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
      
              * parser.c (cp_parser_condition): Fix a warning.
      
      testsuite:
      2016-10-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
      
              * c-c++-common/Wint-in-bool-context.c: Update test.
      
      From-SVN: r240706
      Bernd Edlinger committed
    • Daily bump. · 21d7b03c
      From-SVN: r240705
      GCC Administrator committed
  2. 02 Oct, 2016 3 commits
    • asm3.C (two): Only use register keyword for C++14 and earlier. · 2c8e3a1d
      	* g++.dg/ext/asm3.C (two): Only use register keyword for C++14 and
      	earlier.
      	* g++.dg/charset/asm2.c (memmove): Likewise.
      	* g++.dg/tls/diag-2.C (foo): Expect -Wregister error for C++17.
      	* g++.dg/tls/diag-4.C (foo): Likewise.
      	* c-c++-common/vector-subscript-2.c (vf): Change dg-error to
      	dg-warning, fix up regex.
      	* g++.old-deja/g++.brendan/warnings4.C: Limit to c++14_down targets.
      	* g++.old-deja/g++.mike/p700.C: Add -Wno-register.
      	* g++.old-deja/g++.mike/net31.C: Likewise.
      	* g++.old-deja/g++.other/regstack.C (foo): Expect -Wregister warning
      	for C++17.
      	* g++.old-deja/g++.jason/enum3.C: Add -Wno-register.
      	* g++.old-deja/g++.eh/ia64-1.C: Likewise.
      
      From-SVN: r240702
      Jakub Jelinek committed
    • dwarf2out.c (output_fde, [...]): Use MAX_ARTIFICIAL_LABEL_BYTES as char array sizes for... · 333b2f31
      	* dwarf2out.c (output_fde, output_call_frame_info,
      	dwarf2out_do_cfi_startproc, set_indirect_string,
      	gen_internal_sym, output_die, output_line_info): Use
      	MAX_ARTIFICIAL_LABEL_BYTES as char array sizes for
      	ASM_GENERATE_INTERNAL_LABEL output.
      
      From-SVN: r240701
      Jakub Jelinek committed
    • Daily bump. · 0b787908
      From-SVN: r240699
      GCC Administrator committed
  3. 01 Oct, 2016 4 commits
  4. 30 Sep, 2016 26 commits