1. 14 Oct, 2016 36 commits
    • diagnostic.c (diagnostic_action_after_output): Remove max error handling here .... · efc5aa6b
      	* diagnostic.c (diagnostic_action_after_output): Remove max error
      	handling here ....
      	(diagnostic_report_diagnostic): ... do it here instead.
      
      	testsuite/
      	* c-c++-common/fmax-errors.c: Make sure note is emitted.
      
      From-SVN: r241186
      Nathan Sidwell committed
    • Tweaks to print_rtx_function · 983496fe
      gcc/ChangeLog:
      	* print-rtl-function.c (print_edge): Omit "(flags)" when none are
      	set.
      	(print_rtx_function): Update example in comment for...
      	* print-rtl.c (print_rtx_operand_code_r): In compact mode, print
      	non-virtual pseudos with a '%' sigil followed by the regno, offset
      	by (LAST_VIRTUAL_REGISTER + 1), so that the first non-virtual
      	pseudo is dumped as "%0".
      
      From-SVN: r241185
      David Malcolm committed
    • Optimize std::shuffle by using generator to get two values at once · 38e34671
      2016-10-14  Eelis van der Weegen  <eelis@eelis.net>
      
      	* include/bits/stl_algo.h (shuffle): Extract two random numbers from
      	each generator invocation when its range is large enough.
      
      From-SVN: r241184
      Eelis van der Weegen committed
    • Resolve ambiguities in std::experimental::sample test · 17739146
      	* testsuite/experimental/algorithm/sample.cc: Qualify calls to
      	resolve ambiguity between std::sample and std::experimental::sample.
      
      From-SVN: r241183
      Jonathan Wakely committed
    • re PR middle-end/77959 (ICE in ix86_decompose_address, at i386/i386.c:14954) · 9a822fc7
      	PR middle-end/77959
      	* expr.c (expand_expr_real_1) <case CONST_DECL>: For EXPAND_WRITE
      	return a MEM.
      
      	* gfortran.dg/pr77959.f90: New test.
      
      From-SVN: r241182
      Jakub Jelinek committed
    • sparc-passes.def: New file. · 6af11d2b
      	* config/sparc/sparc-passes.def: New file.
      	* config/sparc/t-sparc (PASSES_EXTRA): Add sparc-passes.def.
      	* config/sparc/sparc-protos.h (make_pass_work_around_errata): New.
      	* config/sparc/sparc.c (sparc_option_override): Don't register passes.
      
      From-SVN: r241180
      Eric Botcazou committed
    • Make std::bind use std::invoke · de1d0794
      	* include/std/functional (_Mu<A, false, true>, _Mu<A, true, false>):
      	Simplify forwarding from tuple of references.
      	(_Maybe_wrap_member_pointer): Remove.
      	(_Bind::__call, _Bind::__call_c, _Bind::__call_v, _Bind::__call_c_v):
      	Use std::__invoke.
      	(_Bind::_Mu_type, _Bind::_Res_type_impl, _Bind::_Res_type)
      	(_Bind::__dependent, _Bind::_Res_type_cv): New helpers to simplify
      	return type deduction.
      	(_Bind::operator(), _Bind::operator() const): Use new helpers.
      	(_Bind::operator() volatile, _Bind::operator() const volatile):
      	Likewise. Add deprecated attribute for C++17 mode.
      	(_Bind_result::__call): Use std::__invoke.
      	(_Bind_result::operator() volatile)
      	(_Bind_result::operator() const volatile): Add deprecated attribute.
      	(_Bind_helper::__maybe_type, _Bindres_helper::__maybe_type): Remove.
      	(_Bind_helper, _Bindres_helper): Don't use _Maybe_wrap_member_pointer.
      	(bind, bind<R>): Don't use __maybe_type.
      	* src/c++11/compatibility-thread-c++0x.cc
      	(_Maybe_wrap_member_pointer): Define here for compatibility symbols.
      	* testsuite/20_util/bind/68912.cc: Don't test volatile-qualification
      	in C++17 mode.
      	* testsuite/20_util/bind/cv_quals.cc: Likewise.
      	* testsuite/20_util/bind/cv_quals_2.cc: Likewise.
      
      From-SVN: r241178
      Jonathan Wakely committed
    • DR 1511 - const volatile variables and ODR · 064ed55a
      	DR 1511 - const volatile variables and ODR
      	* decl.c (grokvardecl): Change flags argument to type_quals,
      	add conceptp argument.  Set TREE_PUBLIC for non-static volatile vars.
      	(grokdeclarator): Adjust grokvardecl caller.
      
      	* g++.dg/DRs/dr1511-1.C: New test.
      	* g++.dg/DRs/dr1511-2.C: New test.
      
      From-SVN: r241176
      Jakub Jelinek committed
    • debug7.adb (dg-options): Remove -g. · 2579762a
      	* gnat.dg/debug7.adb (dg-options): Remove -g.
      	* gnat.dg/debug8.adb (dg-options): Add -margs.
      	* gnat.dg/debug9.adb (dg-options): Remove -g and add -margs.
      
      From-SVN: r241174
      Eric Botcazou committed
    • loop-unroll.c (unroll_loop_runtime_iterations): Condition initial loop peel to… · de0a3fa3
      loop-unroll.c (unroll_loop_runtime_iterations): Condition initial loop peel to loops with exit test at the beginning.
      
      	* loop-unroll.c (unroll_loop_runtime_iterations): Condition initial
      	loop peel to loops with exit test at the beginning.
      
      From-SVN: r241173
      Pat Haugen committed
    • runtime: just do file/line lookup in C, move Func to Go · db2fb304
          
          In order to port stack backtraces to Go, we need the ability to look up
          file/line information for PC values without allocating memory.  This
          patch moves the handling of Func from C code to Go code, and simplifies
          the C code to just look up function/file/line/entry information for a PC.
          
          Reviewed-on: https://go-review.googlesource.com/31150
      
      From-SVN: r241172
      Ian Lance Taylor committed
    • debug/elf: add sparc64 relocations · d2c4425e
          
          This is a backport of https://go-review.googlesource.com/30870.
          
          Reviewed-on: https://go-review.googlesource.com/30916
      
      From-SVN: r241171
      Ian Lance Taylor committed
    • re PR rtl-optimization/68212 (Loop unroller breaks basic block frequencies) · d4919e65
      	PR rtl-optimization/68212
      	* cfgloopmanip.c (duplicate_loop_to_header_edge): Use preheader edge
      	frequency when computing scale factor for peeled copies.
      	* loop-unroll.c (unroll_loop_runtime_iterations): Fix freq/count
      	values for switch/peel blocks/edges.
      
      From-SVN: r241170
      Pat Haugen committed
    • Avoid copies in std::scoped_allocator_adaptor piecewise construction · a4744f62
      	* include/std/scoped_allocator (scoped_allocator_adaptor): Forward
      	piecewise construction arguments as tuples of references, to avoid
      	copies (related to LWG 2511).
      	* testsuite/20_util/scoped_allocator/construct_pair.cc: New test.
      
      From-SVN: r241169
      Jonathan Wakely committed
    • FINAL/OVERRIDE: Define to empty on g++ < 4.7 · 30cd7c74
      final/override were only implemented in g++ 4.7.
      
      include/ChangeLog
      2016-10-14  Pedro Alves  <palves@redhat.com>
      
      	* ansidecl.h [__cplusplus >= 201103 && GCC_VERSION < 4007] (FINAL,
      	OVERRIDE): Define as empty.
      	[__cplusplus < 201103 && GCC_VERSION < 4007] (FINAL): Define as
      	__final.
      	[__cplusplus < 201103 && GCC_VERSION >= 4007] (OVERRIDE): Define as
      	empty.
      
      From-SVN: r241167
      Pedro Alves committed
    • Move OVERRIDE/FINAL from gcc/coretypes.h to include/ansidecl.h · 2121e959
      So that GDB and other projects that share the top level can use them.
      
      Bootstrapped with all default languages + jit on x86-64 Fedora 23.
      
      gcc/ChangeLog:
      2016-10-14  Pedro Alves  <palves@redhat.com>
      
      	* coretypes.h (OVERRIDE, FINAL): Delete, moved to
      	include/ansidecl.h.
      
      include/ChangeLog:
      2016-10-14  Pedro Alves  <palves@redhat.com>
      
      	* ansidecl.h (GCC_FINAL): Delete.
      	(OVERRIDE, FINAL): New, moved from gcc/coretypes.h.
      
      From-SVN: r241166
      Pedro Alves committed
    • mips.c (mips_prepare_pch_save): Initialize micromips_globals to zero. · df17106f
      2016-10-13  Catherine Moore  <clm@codesourcery.com>
      
      	* gcc/config/mips/mips.c (mips_prepare_pch_save): Initialize
      	micromips_globals to zero.
      
      From-SVN: r241165
      Catherine Moore committed
    • 1.cc: Remove 'test' variables. · 1558d39e
      2016-10-14  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* testsuite/26_numerics/accumulate/1.cc: Remove 'test' variables.
      	* testsuite/26_numerics/adjacent_difference/1.cc: Likewise.
      	* testsuite/26_numerics/complex/13450.cc: Likewise.
      	* testsuite/26_numerics/complex/50880.cc: Likewise.
      	* testsuite/26_numerics/complex/c99.cc: Likewise.
      	* testsuite/26_numerics/complex/cons/48760.cc: Likewise.
      	* testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
      	* testsuite/26_numerics/complex/dr781_dr1137.cc: Likewise.
      	* testsuite/26_numerics/complex/dr844.cc: Likewise.
      	* testsuite/26_numerics/complex/inserters_extractors/char/1.cc:
      	Likewise.
      	* testsuite/26_numerics/complex/inserters_extractors/wchar_t/1.cc:
      	Likewise.
      	* testsuite/26_numerics/complex/value_operations/1.cc: Likewise.
      	* testsuite/26_numerics/complex/value_operations/dr387.cc: Likewise.
      	* testsuite/26_numerics/headers/cmath/19322.cc: Likewise.
      	* testsuite/26_numerics/headers/cmath/
      	c99_classification_macros_c++11.c: Likewise.c
      	* testsuite/26_numerics/headers/cmath/
      	c99_classification_macros_c++98.cc: Likewise.
      	* testsuite/26_numerics/headers/cmath/c_math.cc: Likewise.
      	* testsuite/26_numerics/headers/cmath/dr550.cc: Likewise.
      	* testsuite/26_numerics/headers/cmath/hypot.cc: Likewise.
      	* testsuite/26_numerics/headers/cmath/powi.cc: Likewise.
      	* testsuite/26_numerics/headers/cstdlib/13943.cc: Likewise.
      	* testsuite/26_numerics/inner_product/1.cc: Likewise.
      	* testsuite/26_numerics/iota/1.cc: Likewise.
      	* testsuite/26_numerics/partial_sum/1.cc: Likewise.
      	* testsuite/26_numerics/random/bernoulli_distribution/cons/default.cc:
      	Likewise.
      	* testsuite/26_numerics/random/bernoulli_distribution/cons/parms.cc:
      	Likewise.
      	* testsuite/26_numerics/random/bernoulli_distribution/operators/
      	equal.cc: Likewise.
      	* testsuite/26_numerics/random/bernoulli_distribution/operators/
      	inequal.cc: Likewise.
      	* testsuite/26_numerics/random/binomial_distribution/cons/default.cc:
      	Likewise.
      	* testsuite/26_numerics/random/binomial_distribution/cons/parms.cc:
      	Likewise.
      	* testsuite/26_numerics/random/binomial_distribution/operators/
      	equal.cc: Likewise.
      	* testsuite/26_numerics/random/binomial_distribution/operators/
      	inequal.cc: Likewise.
      	* testsuite/26_numerics/random/cauchy_distribution/cons/default.cc:
      	Likewise.
      	* testsuite/26_numerics/random/cauchy_distribution/cons/parms.cc:
      	Likewise.
      	* testsuite/26_numerics/random/cauchy_distribution/operators/equal.cc:
      	Likewise.
      	* testsuite/26_numerics/random/cauchy_distribution/operators/
      	inequal.cc: Likewise.
      	* testsuite/26_numerics/random/chi_squared_distribution/cons/
      	default.cc: Likewise.
      	* testsuite/26_numerics/random/chi_squared_distribution/cons/
      	parms.cc: Likewise.
      	* testsuite/26_numerics/random/chi_squared_distribution/operators/
      	equal.cc: Likewise.
      	* testsuite/26_numerics/random/chi_squared_distribution/operators/
      	inequal.cc: Likewise.
      	* testsuite/26_numerics/random/default_random_engine.cc: Likewise.
      	* testsuite/26_numerics/random/discard_block_engine/cons/55215.cc:
      	Likewise.
      	* testsuite/26_numerics/random/discard_block_engine/operators/equal.cc:
      	Likewise.
      	* testsuite/26_numerics/random/discard_block_engine/operators/
      	inequal.cc: Likewise.
      	* testsuite/26_numerics/random/discard_block_engine/operators/
      	serialize.cc: Likewise.
      	* testsuite/26_numerics/random/discrete_distribution/cons/
      	default.cc: Likewise.
      	* testsuite/26_numerics/random/discrete_distribution/cons/
      	initlist.cc: Likewise.
      	* testsuite/26_numerics/random/discrete_distribution/cons/
      	num_xbound_fun.cc: Likewise.
      	* testsuite/26_numerics/random/discrete_distribution/cons/range.cc:
      	Likewise.
      	* testsuite/26_numerics/random/discrete_distribution/operators/
      	equal.cc: Likewise.
      	* testsuite/26_numerics/random/discrete_distribution/operators/
      	inequal.cc: Likewise.
      	* testsuite/26_numerics/random/exponential_distribution/cons/
      	default.cc: Likewise.
      	* testsuite/26_numerics/random/exponential_distribution/cons/
      	parms.cc: Likewise.
      	* testsuite/26_numerics/random/exponential_distribution/operators/
      	equal.cc: Likewise.
      	* testsuite/26_numerics/random/exponential_distribution/operators/
      	inequal.cc: Likewise.
      	* testsuite/26_numerics/random/extreme_value_distribution/cons/
      	default.cc: Likewise.
      	* testsuite/26_numerics/random/extreme_value_distribution/cons/
      	parms.cc: Likewise.
      	* testsuite/26_numerics/random/extreme_value_distribution/operators/
      	equal.cc: Likewise.
      	* testsuite/26_numerics/random/extreme_value_distribution/operators/
      	inequal.cc: Likewise.
      	* testsuite/26_numerics/random/fisher_f_distribution/cons/default.cc:
      	Likewise.
      	* testsuite/26_numerics/random/fisher_f_distribution/cons/parms.cc:
      	Likewise.
      	* testsuite/26_numerics/random/fisher_f_distribution/operators/
      	equal.cc: Likewise.
      	* testsuite/26_numerics/random/fisher_f_distribution/operators/
      	inequal.cc: Likewise.
      	* testsuite/26_numerics/random/gamma_distribution/cons/default.cc:
      	Likewise.
      	* testsuite/26_numerics/random/gamma_distribution/cons/parms.cc:
      	Likewise.
      	* testsuite/26_numerics/random/gamma_distribution/operators/equal.cc:
      	Likewise.
      	* testsuite/26_numerics/random/gamma_distribution/operators/
      	inequal.cc: Likewise.
      	* testsuite/26_numerics/random/geometric_distribution/cons/
      	default.cc: Likewise.
      	* testsuite/26_numerics/random/geometric_distribution/cons/parms.cc:
      	Likewise.
      	* testsuite/26_numerics/random/geometric_distribution/operators/
      	equal.cc: Likewise.
      	* testsuite/26_numerics/random/geometric_distribution/operators/
      	inequal.cc: Likewise.
      	* testsuite/26_numerics/random/independent_bits_engine/cons/55215.cc:
      	Likewise.
      	* testsuite/26_numerics/random/independent_bits_engine/operators/
      	equal.cc: Likewise.
      	* testsuite/26_numerics/random/independent_bits_engine/operators/
      	inequal.cc: Likewise.
      	* testsuite/26_numerics/random/independent_bits_engine/operators/
      	serialize.cc: Likewise.
      	* testsuite/26_numerics/random/knuth_b.cc: Likewise.
      	* testsuite/26_numerics/random/linear_congruential_engine/cons/
      	55215.cc: Likewise.
      	* testsuite/26_numerics/random/linear_congruential_engine/cons/
      	default.cc: Likewise.
      	* testsuite/26_numerics/random/linear_congruential_engine/operators/
      	51795.cc: Likewise.
      	* testsuite/26_numerics/random/linear_congruential_engine/operators/
      	equal.cc: Likewise.
      	* testsuite/26_numerics/random/linear_congruential_engine/operators/
      	inequal.cc: Likewise.
      	* testsuite/26_numerics/random/linear_congruential_engine/operators/
      	serialize.cc: Likewise.
      	* testsuite/26_numerics/random/lognormal_distribution/cons/default.cc:
      	Likewise.
      	* testsuite/26_numerics/random/lognormal_distribution/cons/parms.cc:
      	Likewise.
      	* testsuite/26_numerics/random/lognormal_distribution/operators/
      	equal.cc: Likewise.
      	* testsuite/26_numerics/random/lognormal_distribution/operators/
      	inequal.cc: Likewise.
      	* testsuite/26_numerics/random/mersenne_twister_engine/cons/55215.cc:
      	Likewise.
      	* testsuite/26_numerics/random/mersenne_twister_engine/cons/
      	default.cc: Likewise.
      	* testsuite/26_numerics/random/mersenne_twister_engine/operators/
      	equal.cc: Likewise.
      	* testsuite/26_numerics/random/mersenne_twister_engine/operators/
      	inequal.cc: Likewise.
      	* testsuite/26_numerics/random/mersenne_twister_engine/operators/
      	serialize.cc: Likewise.
      	* testsuite/26_numerics/random/minstd_rand.cc: Likewise.
      	* testsuite/26_numerics/random/minstd_rand0.cc: Likewise.
      	* testsuite/26_numerics/random/mt19937.cc: Likewise.
      	* testsuite/26_numerics/random/mt19937_64.cc: Likewise.
      	* testsuite/26_numerics/random/negative_binomial_distribution/cons/
      	default.cc: Likewise.
      	* testsuite/26_numerics/random/negative_binomial_distribution/cons/
      	parms.cc: Likewise.
      	* testsuite/26_numerics/random/negative_binomial_distribution/
      	operators/equal.cc: Likewise.
      	* testsuite/26_numerics/random/negative_binomial_distribution/
      	operators/inequal.cc: Likewise.
      	* testsuite/26_numerics/random/normal_distribution/cons/default.cc:
      	Likewise.
      	* testsuite/26_numerics/random/normal_distribution/cons/parms.cc:
      	Likewise.
      	* testsuite/26_numerics/random/normal_distribution/operators/
      	equal.cc: Likewise.
      	* testsuite/26_numerics/random/normal_distribution/operators/
      	inequal.cc: Likewise.
      	* testsuite/26_numerics/random/piecewise_constant_distribution/cons/
      	default.cc: Likewise.
      	* testsuite/26_numerics/random/piecewise_constant_distribution/cons/
      	initlist_fun.cc: Likewise.
      	* testsuite/26_numerics/random/piecewise_constant_distribution/cons/
      	num_xbound_fun.cc: Likewise.
      	* testsuite/26_numerics/random/piecewise_constant_distribution/cons/
      	range.cc: Likewise.
      	* testsuite/26_numerics/random/piecewise_constant_distribution/
      	operators/equal.cc: Likewise.
      	* testsuite/26_numerics/random/piecewise_constant_distribution/
      	operators/inequal.cc: Likewise.
      	* testsuite/26_numerics/random/piecewise_linear_distribution/cons/
      	default.cc: Likewise.
      	* testsuite/26_numerics/random/piecewise_linear_distribution/cons/
      	initlist_fun.cc: Likewise.
      	* testsuite/26_numerics/random/piecewise_linear_distribution/cons/
      	num_xbound_fun.cc: Likewise.
      	* testsuite/26_numerics/random/piecewise_linear_distribution/cons/
      	range.cc: Likewise.
      	* testsuite/26_numerics/random/piecewise_linear_distribution/
      	operators/equal.cc: Likewise.
      	* testsuite/26_numerics/random/piecewise_linear_distribution/
      	operators/inequal.cc: Likewise.
      	* testsuite/26_numerics/random/poisson_distribution/cons/default.cc:
      	Likewise.
      	* testsuite/26_numerics/random/poisson_distribution/cons/parms.cc:
      	Likewise.
      	* testsuite/26_numerics/random/poisson_distribution/operators/
      	equal.cc: Likewise.
      	* testsuite/26_numerics/random/poisson_distribution/operators/
      	inequal.cc: Likewise.
      	* testsuite/26_numerics/random/random_device/cons/default.cc: Likewise.
      	* testsuite/26_numerics/random/random_device/cons/token.cc: Likewise.
      	* testsuite/26_numerics/random/ranlux24.cc: Likewise.
      	* testsuite/26_numerics/random/ranlux24_base.cc: Likewise.
      	* testsuite/26_numerics/random/ranlux48.cc: Likewise.
      	* testsuite/26_numerics/random/ranlux48_base.cc: Likewise.
      	* testsuite/26_numerics/random/seed_seq/cons/initlist.cc: Likewise.
      	* testsuite/26_numerics/random/shuffle_order_engine/cons/55215.cc:
      	Likewise.
      	* testsuite/26_numerics/random/shuffle_order_engine/operators/
      	equal.cc: Likewise.
      	* testsuite/26_numerics/random/shuffle_order_engine/operators/
      	inequal.cc: Likewise.
      	* testsuite/26_numerics/random/shuffle_order_engine/operators/
      	serialize.cc: Likewise.
      	* testsuite/26_numerics/random/student_t_distribution/cons/
      	default.cc: Likewise.
      	* testsuite/26_numerics/random/student_t_distribution/cons/
      	parms.cc: Likewise.
      	* testsuite/26_numerics/random/student_t_distribution/operators/
      	equal.cc: Likewise.
      	* testsuite/26_numerics/random/student_t_distribution/operators/
      	inequal.cc: Likewise.
      	* testsuite/26_numerics/random/subtract_with_carry_engine/cons/
      	55215.cc: Likewise.
      	* testsuite/26_numerics/random/subtract_with_carry_engine/cons/
      	default.cc: Likewise.
      	* testsuite/26_numerics/random/subtract_with_carry_engine/operators/
      	equal.cc: Likewise.
      	* testsuite/26_numerics/random/subtract_with_carry_engine/operators/
      	inequal.cc: Likewise.
      	* testsuite/26_numerics/random/subtract_with_carry_engine/operators/
      	serialize.cc: Likewise.
      	* testsuite/26_numerics/random/uniform_int_distribution/cons/
      	default.cc: Likewise.
      	* testsuite/26_numerics/random/uniform_int_distribution/cons/
      	parms.cc: Likewise.
      	* testsuite/26_numerics/random/uniform_int_distribution/operators/
      	equal.cc: Likewise.
      	* testsuite/26_numerics/random/uniform_int_distribution/operators/
      	inequal.cc: Likewise.
      	* testsuite/26_numerics/random/uniform_real_distribution/cons/
      	default.cc: Likewise.
      	* testsuite/26_numerics/random/uniform_real_distribution/cons/
      	parms.cc: Likewise.
      	* testsuite/26_numerics/random/uniform_real_distribution/operators/
      	equal.cc: Likewise.
      	* testsuite/26_numerics/random/uniform_real_distribution/operators/
      	inequal.cc: Likewise.
      	* testsuite/26_numerics/random/weibull_distribution/cons/default.cc:
      	Likewise.
      	* testsuite/26_numerics/random/weibull_distribution/cons/parms.cc:
      	Likewise.
      	* testsuite/26_numerics/random/weibull_distribution/operators/
      	equal.cc: Likewise.
      	* testsuite/26_numerics/random/weibull_distribution/operators/
      	inequal.cc: Likewise.
      	* testsuite/26_numerics/slice/1.cc: Likewise.
      	* testsuite/26_numerics/slice_array/array_assignment.cc: Likewise.
      	* testsuite/26_numerics/valarray/27867.cc: Likewise.
      	* testsuite/26_numerics/valarray/28277.cc: Likewise.
      	* testsuite/26_numerics/valarray/30416.cc: Likewise.
      	* testsuite/26_numerics/valarray/dr543.cc: Likewise.
      	* testsuite/26_numerics/valarray/dr630-1.cc: Likewise.
      	* testsuite/26_numerics/valarray/dr630-2.cc: Likewise.
      	* testsuite/26_numerics/valarray/dr630-3.C: Likewise.
      	* testsuite/26_numerics/valarray/init-list.cc: Likewise.
      	* testsuite/26_numerics/valarray/moveable.cc: Likewise.
      	* testsuite/26_numerics/valarray/operators.cc: Likewise.
      	* testsuite/26_numerics/valarray/swap.cc: Likewise.
      	* testsuite/experimental/deque/erasure.cc: Likewise.
      	* testsuite/experimental/filesystem/iterators/directory_iterator.cc:
      	Likewise.
      	* testsuite/experimental/filesystem/iterators/
      	recursive_directory_iterator.cc: Likewise.
      	* testsuite/experimental/filesystem/operations/absolute.cc: Likewise.
      	* testsuite/experimental/filesystem/operations/canonical.cc: Likewise.
      	* testsuite/experimental/filesystem/operations/copy.cc: Likewise.
      	* testsuite/experimental/filesystem/operations/copy_file.cc: Likewise.
      	* testsuite/experimental/filesystem/operations/create_directories.cc:
      	Likewise.
      	* testsuite/experimental/filesystem/operations/create_directory.cc:
      	Likewise.
      	* testsuite/experimental/filesystem/operations/current_path.cc:
      	Likewise.
      	* testsuite/experimental/filesystem/operations/exists.cc: Likewise.
      	* testsuite/experimental/filesystem/operations/file_size.cc: Likewise.
      	* testsuite/experimental/filesystem/operations/last_write_time.cc:
      	Likewise.
      	* testsuite/experimental/filesystem/operations/permissions.cc: Likewise.
      	* testsuite/experimental/filesystem/operations/status.cc: Likewise.
      	* testsuite/experimental/filesystem/operations/temp_directory_path.cc:
      	Likewise.
      	* testsuite/experimental/filesystem/path/native/string.cc: Likewise.
      	* testsuite/experimental/forward_list/erasure.cc: Likewise.
      	* testsuite/experimental/list/erasure.cc: Likewise.
      	* testsuite/experimental/map/erasure.cc: Likewise.
      	* testsuite/experimental/memory/shared_ptr/assign/assign.cc: Likewise.
      	* testsuite/experimental/memory/shared_ptr/comparison/comparison.cc:
      	Likewise.
      	* testsuite/experimental/memory/shared_ptr/cons/alias_ctor.cc: Likewise.
      	* testsuite/experimental/memory/shared_ptr/cons/alloc_ctor.cc: Likewise.
      	* testsuite/experimental/memory/shared_ptr/cons/copy_ctor.cc: Likewise.
      	* testsuite/experimental/memory/shared_ptr/cons/default_ctor.cc:
      	Likewise.
      	* testsuite/experimental/memory/shared_ptr/cons/move_ctor.cc: Likewise.
      	* testsuite/experimental/memory/shared_ptr/cons/pointer_ctor.cc:
      	Likewise.
      	* testsuite/experimental/memory/shared_ptr/cons/unique_ptr_ctor.cc:
      	Likewise.
      	* testsuite/experimental/memory/shared_ptr/cons/weak_ptr_ctor.cc:
      	Likewise.
      	* testsuite/experimental/memory/shared_ptr/dest/dest.cc: Likewise.
      	* testsuite/experimental/memory/shared_ptr/modifiers/reset.cc: Likewise.
      	* testsuite/experimental/memory/shared_ptr/modifiers/swap.cc: Likewise.
      	* testsuite/experimental/memory/shared_ptr/observers/bool_conv.cc:
      	Likewise.
      	* testsuite/experimental/memory/shared_ptr/observers/operators.cc:
      	Likewise.
      	* testsuite/experimental/memory/shared_ptr/observers/owner_before.cc:
      	Likewise.
      	* testsuite/experimental/memory/shared_ptr/observers/use_count.cc:
      	Likewise.
      	* testsuite/experimental/memory_resource/1.cc: Likewise.
      	* testsuite/experimental/memory_resource/null_memory_resource.cc:
      	Likewise.
      	* testsuite/experimental/memory_resource/resource_adaptor.cc: Likewise.
      	* testsuite/experimental/set/erasure.cc: Likewise.
      	* testsuite/experimental/string/erasure.cc: Likewise.
      	* testsuite/experimental/string_view/capacity/1.cc: Likewise.
      	* testsuite/experimental/string_view/cons/char/1.cc: Likewise.
      	* testsuite/experimental/string_view/cons/char/2.cc: Likewise.
      	* testsuite/experimental/string_view/cons/char/3.cc: Likewise.
      	* testsuite/experimental/string_view/cons/wchar_t/1.cc: Likewise.
      	* testsuite/experimental/string_view/cons/wchar_t/2.cc: Likewise.
      	* testsuite/experimental/string_view/cons/wchar_t/3.cc: Likewise.
      	* testsuite/experimental/string_view/element_access/char/1.cc: Likewise.
      	* testsuite/experimental/string_view/element_access/char/empty.cc:
      	Likewise.
      	* testsuite/experimental/string_view/element_access/char/
      	front_back.cc: Likewise.
      	* testsuite/experimental/string_view/element_access/wchar_t/1.cc:
      	Likewise.
      	* testsuite/experimental/string_view/element_access/wchar_t/empty.cc:
      	Likewise.
      	* testsuite/experimental/string_view/element_access/wchar_t/
      	front_back.cc: Likewise.
      	* testsuite/experimental/string_view/inserters/char/1.cc: Likewise.
      	* testsuite/experimental/string_view/inserters/char/2.cc: Likewise.
      	* testsuite/experimental/string_view/inserters/char/3.cc: Likewise.
      	* testsuite/experimental/string_view/inserters/pod/10081-out.cc:
      	Likewise.
      	* testsuite/experimental/string_view/inserters/wchar_t/1.cc: Likewise.
      	* testsuite/experimental/string_view/inserters/wchar_t/2.cc: Likewise.
      	* testsuite/experimental/string_view/inserters/wchar_t/3.cc: Likewise.
      	* testsuite/experimental/string_view/modifiers/remove_prefix/char/
      	1.cc: Likewise.
      	* testsuite/experimental/string_view/modifiers/remove_prefix/wchar_t/
      	1.cc: Likewise.
      	* testsuite/experimental/string_view/modifiers/remove_suffix/char/
      	1.cc: Likewise.
      	* testsuite/experimental/string_view/modifiers/remove_suffix/wchar_t/
      	1.cc: Likewise.
      	* testsuite/experimental/string_view/operations/compare/char/1.cc:
      	Likewise.
      	* testsuite/experimental/string_view/operations/compare/char/
      	13650.cc: Likewise.
      	* testsuite/experimental/string_view/operations/compare/wchar_t/
      	1.cc: Likewise.
      	* testsuite/experimental/string_view/operations/compare/wchar_t/
      	13650.cc: Likewise.
      	* testsuite/experimental/string_view/operations/copy/char/1.cc:
      	Likewise.
      	* testsuite/experimental/string_view/operations/copy/wchar_t/1.cc:
      	Likewise.
      	* testsuite/experimental/string_view/operations/data/char/1.cc:
      	Likewise.
      	* testsuite/experimental/string_view/operations/data/wchar_t/1.cc:
      	Likewise.
      	* testsuite/experimental/string_view/operations/find/char/1.cc:
      	Likewise.
      	* testsuite/experimental/string_view/operations/find/char/2.cc:
      	Likewise.
      	* testsuite/experimental/string_view/operations/find/char/3.cc:
      	Likewise.
      	* testsuite/experimental/string_view/operations/find/char/4.cc:
      	Likewise.
      	* testsuite/experimental/string_view/operations/find/wchar_t/1.cc:
      	Likewise.
      	* testsuite/experimental/string_view/operations/find/wchar_t/2.cc:
      	Likewise.
      	* testsuite/experimental/string_view/operations/find/wchar_t/3.cc:
      	Likewise.
      	* testsuite/experimental/string_view/operations/find/wchar_t/4.cc:
      	Likewise.
      	* testsuite/experimental/string_view/operations/rfind/char/1.cc:
      	Likewise.
      	* testsuite/experimental/string_view/operations/rfind/char/2.cc:
      	Likewise.
      	* testsuite/experimental/string_view/operations/rfind/char/3.cc:
      	Likewise.
      	* testsuite/experimental/string_view/operations/rfind/wchar_t/1.cc:
      	Likewise.
      	* testsuite/experimental/string_view/operations/rfind/wchar_t/2.cc:
      	Likewise.
      	* testsuite/experimental/string_view/operations/rfind/wchar_t/3.cc:
      	Likewise.
      	* testsuite/experimental/string_view/operations/substr/char/1.cc:
      	Likewise.
      	* testsuite/experimental/string_view/operations/substr/wchar_t/1.cc:
      	Likewise.
      	* testsuite/experimental/string_view/operations/to_string/1.cc:
      	Likewise.
      	* testsuite/experimental/string_view/operators/char/2.cc: Likewise.
      	* testsuite/experimental/string_view/operators/wchar_t/2.cc: Likewise.
      	* testsuite/experimental/unordered_map/erasure.cc: Likewise.
      	* testsuite/experimental/unordered_set/erasure.cc: Likewise.
      	* testsuite/experimental/vector/erasure.cc: Likewise.
      	* testsuite/ext/array_allocator/1.cc: Likewise.
      	* testsuite/ext/array_allocator/2.cc: Likewise.
      	* testsuite/ext/array_allocator/3.cc: Likewise.
      	* testsuite/ext/array_allocator/variadic_construct.cc: Likewise.
      	* testsuite/ext/bitmap_allocator/variadic_construct.cc: Likewise.
      	* testsuite/ext/codecvt/1.cc: Likewise.
      	* testsuite/ext/codecvt/char-1.cc: Likewise.
      	* testsuite/ext/codecvt/char-2.cc: Likewise.
      	* testsuite/ext/codecvt/wchar_t.cc: Likewise.
      	* testsuite/ext/enc_filebuf/char/13189.cc: Likewise.
      	* testsuite/ext/enc_filebuf/char/13598.cc: Likewise.
      	* testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
      	* testsuite/ext/ext_pointer/1.cc: Likewise.
      	* testsuite/ext/ext_pointer/1_neg.cc: Likewise.
      	* testsuite/ext/malloc_allocator/variadic_construct.cc: Likewise.
      	* testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: Likewise.
      	* testsuite/ext/mt_allocator/tune-1.cc: Likewise.
      	* testsuite/ext/mt_allocator/tune-2.cc: Likewise.
      	* testsuite/ext/mt_allocator/tune-3.cc: Likewise.
      	* testsuite/ext/mt_allocator/tune-4.cc: Likewise.
      	* testsuite/ext/mt_allocator/variadic_construct.cc: Likewise.
      	* testsuite/ext/new_allocator/variadic_construct.cc: Likewise.
      	* testsuite/ext/pod_char_traits.cc: Likewise.
      	* testsuite/ext/pool_allocator/variadic_construct.cc: Likewise.
      	* testsuite/ext/random/arcsine_distribution/cons/default.cc: Likewise.
      	* testsuite/ext/random/arcsine_distribution/cons/parms.cc: Likewise.
      	* testsuite/ext/random/arcsine_distribution/operators/equal.cc:
      	Likewise.
      	* testsuite/ext/random/arcsine_distribution/operators/inequal.cc:
      	Likewise.
      	* testsuite/ext/random/arcsine_distribution/operators/serialize.cc:
      	Likewise.
      	* testsuite/ext/random/beta_distribution/cons/default.cc: Likewise.
      	* testsuite/ext/random/beta_distribution/cons/parms.cc: Likewise.
      	* testsuite/ext/random/beta_distribution/operators/equal.cc: Likewise.
      	* testsuite/ext/random/beta_distribution/operators/inequal.cc: Likewise.
      	* testsuite/ext/random/hoyt_distribution/cons/default.cc: Likewise.
      	* testsuite/ext/random/hoyt_distribution/cons/parms.cc: Likewise.
      	* testsuite/ext/random/hoyt_distribution/operators/equal.cc: Likewise.
      	* testsuite/ext/random/hoyt_distribution/operators/inequal.cc: Likewise.
      	* testsuite/ext/random/hoyt_distribution/operators/serialize.cc:
      	Likewise.
      	* testsuite/ext/random/hypergeometric_distribution/cons/default.cc:
      	Likewise.
      	* testsuite/ext/random/hypergeometric_distribution/cons/parms.cc:
      	Likewise.
      	* testsuite/ext/random/hypergeometric_distribution/operators/
      	equal.cc: Likewise.
      	* testsuite/ext/random/hypergeometric_distribution/operators/
      	inequal.cc: Likewise.
      	* testsuite/ext/random/hypergeometric_distribution/operators/
      	serialize.cc: Likewise.
      	* testsuite/ext/random/k_distribution/cons/default.cc: Likewise.
      	* testsuite/ext/random/k_distribution/cons/parms.cc: Likewise.
      	* testsuite/ext/random/k_distribution/operators/equal.cc: Likewise.
      	* testsuite/ext/random/k_distribution/operators/inequal.cc: Likewise.
      	* testsuite/ext/random/k_distribution/operators/serialize.cc: Likewise.
      	* testsuite/ext/random/logistic_distribution/cons/default.cc: Likewise.
      	* testsuite/ext/random/logistic_distribution/cons/parms.cc: Likewise.
      	* testsuite/ext/random/logistic_distribution/operators/equal.cc:
      	Likewise.
      	* testsuite/ext/random/logistic_distribution/operators/inequal.cc:
      	Likewise.
      	* testsuite/ext/random/logistic_distribution/operators/serialize.cc:
      	Likewise.
      	* testsuite/ext/random/nakagami_distribution/cons/default.cc: Likewise.
      	* testsuite/ext/random/nakagami_distribution/cons/parms.cc: Likewise.
      	* testsuite/ext/random/nakagami_distribution/operators/equal.cc:
      	Likewise.
      	* testsuite/ext/random/nakagami_distribution/operators/inequal.cc:
      	Likewise.
      	* testsuite/ext/random/nakagami_distribution/operators/serialize.cc:
      	Likewise.
      	* testsuite/ext/random/normal_mv_distribution/cons/default.cc: Likewise.
      	* testsuite/ext/random/normal_mv_distribution/cons/parms.cc: Likewise.
      	* testsuite/ext/random/normal_mv_distribution/operators/equal.cc:
      	Likewise.
      	* testsuite/ext/random/normal_mv_distribution/operators/inequal.cc:
      	Likewise.
      	* testsuite/ext/random/pareto_distribution/cons/default.cc: Likewise.
      	* testsuite/ext/random/pareto_distribution/cons/parms.cc: Likewise.
      	* testsuite/ext/random/pareto_distribution/operators/equal.cc: Likewise.
      	* testsuite/ext/random/pareto_distribution/operators/inequal.cc:
      	Likewise.
      	* testsuite/ext/random/pareto_distribution/operators/serialize.cc:
      	Likewise.
      	* testsuite/ext/random/rice_distribution/cons/default.cc: Likewise.
      	* testsuite/ext/random/rice_distribution/cons/parms.cc: Likewise.
      	* testsuite/ext/random/rice_distribution/operators/equal.cc: Likewise.
      	* testsuite/ext/random/rice_distribution/operators/inequal.cc: Likewise.
      	* testsuite/ext/random/rice_distribution/operators/serialize.cc: 
      	Likewise.
      	* testsuite/ext/random/simd_fast_mersenne_twister_engine/cons/
      	default.cc: Likewise.
      	* testsuite/ext/random/simd_fast_mersenne_twister_engine/operators/
      	equal.cc: Likewise.
      	* testsuite/ext/random/simd_fast_mersenne_twister_engine/operators/
      	inequal.cc: Likewise.
      	* testsuite/ext/random/simd_fast_mersenne_twister_engine/operators/
      	serialize.cc: Likewise.
      	* testsuite/ext/random/triangular_distribution/cons/default.cc:
      	Likewise.
      	* testsuite/ext/random/triangular_distribution/cons/parms.cc: Likewise.
      	* testsuite/ext/random/triangular_distribution/operators/equal.cc:
      	Likewise.
      	* testsuite/ext/random/triangular_distribution/operators/inequal.cc:
      	Likewise.
      	* testsuite/ext/random/uniform_on_sphere_distribution/cons/default.cc:
      	Likewise.
      	* testsuite/ext/random/uniform_on_sphere_distribution/operators/
      	equal.cc: Likewise.
      	* testsuite/ext/random/uniform_on_sphere_distribution/operators/
      	generate.cc: Likewise.
      	* testsuite/ext/random/uniform_on_sphere_distribution/operators/
      	inequal.cc: Likewise.
      	* testsuite/ext/random/uniform_on_sphere_distribution/operators/
      	serialize.cc: Likewise.
      	* testsuite/ext/random/von_mises_distribution/cons/default.cc: Likewise.
      	* testsuite/ext/random/von_mises_distribution/cons/parms.cc: Likewise.
      	* testsuite/ext/random/von_mises_distribution/operators/equal.cc:
      	Likewise.
      	* testsuite/ext/random/von_mises_distribution/operators/inequal.cc:
      	Likewise.
      	* testsuite/ext/rope/2.cc: Likewise.
      	* testsuite/ext/rope/3.cc: Likewise.
      	* testsuite/ext/rope/4.cc: Likewise.
      	* testsuite/ext/rope/pthread7-rope.cc: Likewise.
      	* testsuite/ext/special_functions/conf_hyperg/check_nan.cc: Likewise.
      	* testsuite/ext/special_functions/conf_hyperg/check_value.cc: Likewise.
      	* testsuite/ext/special_functions/hyperg/check_nan.cc: Likewise.
      	* testsuite/ext/special_functions/hyperg/check_value.cc: Likewise.
      	* testsuite/ext/stdio_filebuf/char/10063-1.cc: Likewise.
      	* testsuite/ext/stdio_filebuf/char/10063-2.cc: Likewise.
      	* testsuite/ext/stdio_filebuf/char/10063-3.cc: Likewise.
      	* testsuite/ext/stdio_filebuf/char/2.cc: Likewise.
      	* testsuite/ext/stdio_sync_filebuf/char/1.cc: Likewise.
      	* testsuite/ext/stdio_sync_filebuf/char/12048-1.cc: Likewise.
      	* testsuite/ext/stdio_sync_filebuf/char/12048-2.cc: Likewise.
      	* testsuite/ext/stdio_sync_filebuf/char/12048-3.cc: Likewise.
      	* testsuite/ext/stdio_sync_filebuf/char/12048-4.cc: Likewise.
      	* testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc: Likewise.
      	* testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
      	* testsuite/ext/stdio_sync_filebuf/wchar_t/12948-1.cc: Likewise.
      	* testsuite/ext/stdio_sync_filebuf/wchar_t/12948-2.cc: Likewise.
      	* testsuite/ext/stdio_sync_filebuf/wchar_t/12948-3.cc: Likewise.
      	* testsuite/ext/stdio_sync_filebuf/wchar_t/12948-4.cc: Likewise.
      	* testsuite/ext/throw_allocator/variadic_construct.cc: Likewise.
      	* testsuite/ext/type_traits/add_unsigned.cc: Likewise.
      	* testsuite/ext/type_traits/remove_unsigned.cc: Likewise.
      	* testsuite/ext/vstring/capacity/29134.cc: Likewise.
      	* testsuite/ext/vstring/capacity/shrink_to_fit.cc: Likewise.
      	* testsuite/ext/vstring/cons/58415-1.cc: Likewise.
      	* testsuite/ext/vstring/cons/moveable.cc: Likewise.
      	* testsuite/ext/vstring/element_access/char/58163.cc: Likewise.
      	* testsuite/ext/vstring/element_access/char/front_back.cc: Likewise.
      	* testsuite/ext/vstring/element_access/wchar_t/58163.cc: Likewise.
      	* testsuite/ext/vstring/element_access/wchar_t/front_back.cc: Likewise.
      	* testsuite/ext/vstring/hash/char/1.cc: Likewise.
      	* testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
      	* testsuite/ext/vstring/init-list.cc: Likewise.
      	* testsuite/ext/vstring/inserters_extractors/char/28277.cc: Likewise.
      	* testsuite/ext/vstring/inserters_extractors/wchar_t/28277.cc: Likewise.
      	* testsuite/ext/vstring/modifiers/assign/move_assign.cc: Likewise.
      	* testsuite/ext/vstring/modifiers/pop_back/char/1.cc: Likewise.
      	* testsuite/ext/vstring/modifiers/pop_back/wchar_t/1.cc: Likewise.
      	* testsuite/ext/vstring/operators/1.cc: Likewise.
      	* testsuite/ext/vstring/operators/2.cc: Likewise.
      
      From-SVN: r241164
      Paolo Carlini committed
    • runtime: copy cpuprof code from Go 1.7 runtime · 238fc344
          
          This replaces runtime/cpuprof.goc with go/runtime/cpuprof.go and adjusts
          the supporting code in runtime/proc.c.
          
          This adds another case where the compiler needs to avoid heap allocation
          in the runtime package: when evaluating a method expression into a
          closure.  Implementing this required moving the relevant code from
          do_get_backend to do_flatten, so that I could easily add a temporary
          variable.  Doing that let me get rid of Bound_method_expression::do_lower.
          
          Reviewed-on: https://go-review.googlesource.com/31050
      
      From-SVN: r241163
      Ian Lance Taylor committed
    • re PR tree-optimization/77979 (ICE on valid code at -Os and above on… · 6d59425d
      re PR tree-optimization/77979 (ICE on valid code at -Os and above on x86_64-linux-gnu: Segmentation fault)
      
      2016-10-14  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/77979
      	* tree-vrp.c (compare_name_with_value): Handle released SSA names
      	in the equivalency sets.
      	(compare_names): Likewise.
      
      	* gcc.dg/torture/pr77979.c: New testcase.
      
      From-SVN: r241162
      Richard Biener committed
    • Test folding of str{n}{case}cmp and memchr · 43f66d6e
      	* gcc.dg/tree-ssa/builtins-folding-generic.c: New test.
      	* gcc.dg/tree-ssa/builtins-folding-gimple.c: Likewise.
      	* gcc.dg/tree-ssa/builtins-folding-gimple-ub.c: Likewise.
      
      From-SVN: r241161
      Martin Liska committed
    • Fold __builtin_memchr function · 488c6247
      	* builtins.h(target_char_cst_p): Declare the function.
      	* builtins.c (fold_builtin_memchr): Remove.
      	(target_char_cst_p): Move the function from gimple-fold.c.
      	(fold_builtin_3): Do not call the function.
      	* gimple-fold.c (gimple_fold_builtin_memchr): New function.
      	(gimple_fold_builtin): Call the function.
      	* fold-const-call.c (fold_const_call_1): Handle CFN_BUILT_IN_MEMCHR.
      
      From-SVN: r241160
      Martin Liska committed
    • Fold __builtin_str{n}{case}cmp functions · a918bfbf
      	* builtins.c (fold_builtin_strcmp): Remove function.
      	(fold_builtin_strncmp): Likewise.
      	(fold_builtin_2): Remove call of the function.
      	(fold_builtin_3): Likewise.
      	* fold-const-call.c (fold_const_call): Add constant folding
      	for CFN_BUILT_IN_STRCASECMP and CFN_BUILT_IN_STRNCASECMP.
      	* fold-const-call.h (build_cmp_result): Declare the function.
      	* gimple-fold.c (gimple_load_first_char): New function.
      	(gimple_fold_builtin_string_compare): Likewise.
      	(gimple_fold_builtin): Call the function.
      
      From-SVN: r241159
      Martin Liska committed
    • PR65122 extended alignment support in allocators · ace4c2f0
      	PR libstdc++/65122
      	* include/ext/malloc_allocator.h (malloc_allocator::allocate): Use
      	aligned_alloc for types with extended alignment if available,
      	otherwise throw bad_alloc if malloc doesn't return a suitable value.
      	* include/ext/bitmap_allocator.h (bitmap_allocator::allocate)
      	(bitmap_allocator::deallocate): Use aligned new/delete for types with
      	extended alignment.
      	* include/ext/mt_allocator.h (__mt_alloc::allocate)
      	(__mt_alloc::deallocate): Likewise.
      	* include/ext/new_allocator.h (new_allocator::allocate)
      	(new_allocator::deallocate): Likewise.
      	* include/ext/pool_allocator.h (__pool_alloc::allocate)
      	(__pool_alloc::deallocate): Likewise.
      	* testsuite/20_util/allocator/overaligned.cc: New test.
      	* testsuite/ext/bitmap_allocator/overaligned.cc: New test.
      	* testsuite/ext/malloc_allocator/overaligned.cc: New test.
      	* testsuite/ext/mt_allocator/overaligned.cc: New test.
      	* testsuite/ext/new_allocator/overaligned.cc: New test.
      	* testsuite/ext/pool_allocator/overaligned.cc: New test.
      
      From-SVN: r241158
      Jonathan Wakely committed
    • Fix gcc.dg/torture/pr77937-[12].c for real. · cb3ac867
      2016-10-14  Uros Bizjak  <ubizjak@gmail.com>
      
      	* gcc.dg/torture/pr77937-1.c: Move -O3 to dg-options.
      	Pass -march=amdfam10 for both i?86-?-* and x86_64-*-*.
      	* gcc.dg/torture/pr77937-2.c: Likewise.
      
      From-SVN: r241157
      Uros Bizjak committed
    • Fix pr77937-1.c and pr77937-2.c testcases · 2c3e40f5
      From-SVN: r241156
      Markus Trippelsdorf committed
    • * gcov-io.c (gcov_open): Deconstify 'mode'. · 74d2b907
      From-SVN: r241155
      Nathan Sidwell committed
    • re PR ada/77968 (ICEs with -flto on gnat.dg) · 14cf71a0
      	PR ada/77968
      	* gcc-interface/utils.c (create_var_decl): Do not clear TREE_READONLY
      	in LTO mode for an external variable.
      	(can_materialize_object_renaming_p): Move up.
      
      From-SVN: r241154
      Eric Botcazou committed
    • re PR libstdc++/77944 (FAIL: 20_util/variant/compile.cc (test for excess errors)) · 45b510b3
      	PR libstdc++/77944
      	* include/std/variant: include <bits/funcexcept.h> for __try and __catch.
      
      From-SVN: r241153
      Tim Shen committed
    • Support only \0-terminated string in c_getstr and return · a766d4d7
      	* fold-const.c (c_getstr): Support of properly \0-terminated
      	string constants.  New argument is added.
      	* fold-const.h: New argument is added.
      
      From-SVN: r241152
      Martin Liska committed
    • Simplify reference_wrapper nested typedefs · 57c4fbc6
      	* include/std/functional (_Reference_wrapper_base_impl): Remove.
      	(_Refwrap_base_arg1, _Refwrap_base_arg2): New helpers using __void_t.
      	(_Reference_wrapper_base): Inherit from new helpers.
      
      From-SVN: r241151
      Jonathan Wakely committed
    • coarray_38.f90: Expect error message. · 6fd9c6f4
      gcc/testsuite/ChangeLog:
      
      2016-10-14  Andre Vehreschild  <vehre@gcc.gnu.org>
      
      	* gfortran.dg/coarray_38.f90: Expect error message.
      
      gcc/fortran/ChangeLog:
      
      2016-10-14  Andre Vehreschild  <vehre@gcc.gnu.org>
      
      	* resolve.c (resolve_symbol): Add unimplemented message for
      	polymorphic types with allocatable/pointer components and coarray=lib.
      
      From-SVN: r241150
      Andre Vehreschild committed
    • [AArch64] Add spellchecking hints for -march,-mcpu,-mtune and their attributes · 01f44038
      	* config/aarch64/aarch64.c (aarch64_print_hint_for_core_or_arch):
      	New function.
      	(aarch64_print_hint_for_core): Likewise.
      	(aarch64_print_hint_for_arch): Likewise.
      	(aarch64_validate_march): Use it.  Fix indentation in type signature.
      	(aarch64_validate_mcpu): Use aarch64_print_hint_for_core_or_arch.
      	(aarch64_validate_mtune): Likewise.
      	(aarch64_handle_attr_arch): Likewise.
      	(aarch64_handle_attr_cpu): Likewise.
      	(aarch64_handle_attr_tune): Likewise.
      
      	* gcc.target/aarch64/spellcheck_1.c: New test.
      	* gcc.target/aarch64/spellcheck_2.c: Likewise.
      	* gcc.target/aarch64/spellcheck_3.c: Likewise.
      	* gcc.target/aarch64/spellcheck_4.c: Likewise.
      	* gcc.target/aarch64/spellcheck_5.c: Likewise.
      	* gcc.target/aarch64/spellcheck_6.c: Likewise.
      
      From-SVN: r241149
      Kyrylo Tkachov committed
    • Fix long line · 4827fd10
      From-SVN: r241148
      Eric Botcazou committed
    • optabs.def: Remove optab function gen_int_libfunc for sdivmod_optab and udivmod_optab. · b0057783
      2016-10-14  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
      
      	* optabs.def: Remove optab function gen_int_libfunc for sdivmod_optab and
      	udivmod_optab.
      
      From-SVN: r241147
      Prathamesh Kulkarni committed
    • Daily bump. · 7ca95f50
      From-SVN: r241146
      GCC Administrator committed
  2. 13 Oct, 2016 4 commits
    • PR c++/71912 - [6/7 regression] flexible array in struct in union rejected · 96032047
      gcc/cp/ChangeLog:
      
      	PR c++/71912
      	* class.c (struct flexmems_t):  Add members.
      	(find_flexarrays): Add arguments.  Correct handling of anonymous
      	structs.
      	(diagnose_flexarrays): Adjust to issue warnings in addition to errors.
      	(check_flexarrays): Add argument.
      	(diagnose_invalid_flexarray): New functions.
      
      gcc/testsuite/ChangeLog:
      
      	PR c++/71912
      	* g++.dg/ext/flexary4.C: Adjust.
      	* g++.dg/ext/flexary5.C: Same.
      	* g++.dg/ext/flexary9.C: Same.
      	* g++.dg/ext/flexary19.C: New test.
      	* g++.dg/ext/flexary18.C: New test.
      	* g++.dg/torture/pr64312.C: Add a dg-error directive to an ill-formed
      	regression test.
              * g++.dg/compat/struct-layout-1_generate.c (subfield): Add argument.
              Avoid generating a flexible array member in an array.
      
      From-SVN: r241143
      Martin Sebor committed
    • m68k.c (m68k_option_override): Check opt_fstack_limit_symbol_arg and… · 253abb2a
      m68k.c (m68k_option_override): Check opt_fstack_limit_symbol_arg and opt_fstack_limit_register_no instead of...
      
      gcc/
      	* config/m68k/m68k.c (m68k_option_override): Check
      	opt_fstack_limit_symbol_arg and opt_fstack_limit_register_no
      	instead of stack_limit_rtx.
      
      gcc/testsuite/
      	* gcc.target/m68k/stack-limit-1.c: Expect warning on line 0.
      
      From-SVN: r241140
      Andreas Schwab committed
    • re PR tree-optimization/77937 (ICE: in replace_one_candidate, at… · a2695319
      re PR tree-optimization/77937 (ICE: in replace_one_candidate, at gimple-ssa-strength-reduction.c:3370)
      
      2016-10-13  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
      
      	PR tree-optimization/77937
      	* gcc.dg/torture/pr77937-1.c: New.
      	* gcc.dg/torture/pr77937-2.c: New.
      
      From-SVN: r241139
      Bill Schmidt committed
    • container_access.cc: Remove 'test' variables. · 2437d31d
      2016-10-13  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* testsuite/24_iterators/container_access.cc: Remove 'test' variables.
      	* testsuite/24_iterators/istream_iterator/2.cc: Likewise.
      	* testsuite/24_iterators/istreambuf_iterator/2.cc: Likewise.
      	* testsuite/24_iterators/istreambuf_iterator/2627.cc: Likewise.
      	* testsuite/24_iterators/operations/next.cc: Likewise.
      	* testsuite/24_iterators/operations/prev.cc: Likewise.
      	* testsuite/24_iterators/ostreambuf_iterator/2.cc: Likewise.
      	* testsuite/24_iterators/random_access_iterator/26020.cc: Likewise.
      	* testsuite/24_iterators/range_access_cpp14.cc: Likewise.
      	* testsuite/24_iterators/reverse_iterator/11729.cc: Likewise.
      	* testsuite/24_iterators/reverse_iterator/3.cc: Likewise.
      	* testsuite/25_algorithms/adjacent_find/vectorbool.cc: Likewise.
      	* testsuite/25_algorithms/all_of/1.cc: Likewise.
      	* testsuite/25_algorithms/any_of/1.cc: Likewise.
      	* testsuite/25_algorithms/binary_search/2.cc: Likewise.
      	* testsuite/25_algorithms/binary_search/partitioned.cc: Likewise.
      	* testsuite/25_algorithms/clamp/1.cc: Likewise.
      	* testsuite/25_algorithms/clamp/2.cc: Likewise.
      	* testsuite/25_algorithms/copy/1.cc: Likewise.
      	* testsuite/25_algorithms/copy/2.cc: Likewise.
      	* testsuite/25_algorithms/copy/3.cc: Likewise.
      	* testsuite/25_algorithms/copy/34595.cc: Likewise.
      	* testsuite/25_algorithms/copy/4.cc: Likewise.
      	* testsuite/25_algorithms/copy/deque_iterators/1.cc: Likewise.
      	* testsuite/25_algorithms/copy/move_iterators/1.cc: Likewise.
      	* testsuite/25_algorithms/copy/streambuf_iterators/char/1.cc: Likewise.
      	* testsuite/25_algorithms/copy/streambuf_iterators/char/2.cc: Likewise.
      	* testsuite/25_algorithms/copy/streambuf_iterators/char/3.cc: Likewise.
      	* testsuite/25_algorithms/copy/streambuf_iterators/char/4.cc: Likewise.
      	* testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/1.cc:
      	Likewise.
      	* testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/2.cc:
      	Likewise.
      	* testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/3.cc:
      	Likewise.
      	* testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/4.cc:
      	Likewise.
      	* testsuite/25_algorithms/copy_backward/deque_iterators/1.cc: Likewise.
      	* testsuite/25_algorithms/copy_backward/move_iterators/1.cc: Likewise.
      	* testsuite/25_algorithms/copy_n/1.cc: Likewise.
      	* testsuite/25_algorithms/copy_n/2.cc: Likewise.
      	* testsuite/25_algorithms/copy_n/3.cc: Likewise.
      	* testsuite/25_algorithms/copy_n/4.cc: Likewise.
      	* testsuite/25_algorithms/copy_n/50119.cc: Likewise.
      	* testsuite/25_algorithms/copy_n/move_iterators/1.cc: Likewise.
      	* testsuite/25_algorithms/equal_range/2.cc: Likewise.
      	* testsuite/25_algorithms/equal_range/partitioned.cc: Likewise.
      	* testsuite/25_algorithms/fill/1.cc: Likewise.
      	* testsuite/25_algorithms/fill/2.cc: Likewise.
      	* testsuite/25_algorithms/fill/3.cc: Likewise.
      	* testsuite/25_algorithms/fill/4.cc: Likewise.
      	* testsuite/25_algorithms/fill_n/1.cc: Likewise.
      	* testsuite/25_algorithms/find/39546.cc: Likewise.
      	* testsuite/25_algorithms/find/istreambuf_iterators/char/1.cc: Likewise.
      	* testsuite/25_algorithms/find/istreambuf_iterators/char/2.cc: Likewise.
      	* testsuite/25_algorithms/find/istreambuf_iterators/wchar_t/1.cc:
      	Likewise.
      	* testsuite/25_algorithms/find/istreambuf_iterators/wchar_t/2.cc:
      	Likewise.
      	* testsuite/25_algorithms/find_if/1.cc: Likewise.
      	* testsuite/25_algorithms/find_if_not/1.cc: Likewise.
      	* testsuite/25_algorithms/for_each/1.cc: Likewise.
      	* testsuite/25_algorithms/heap/1.cc: Likewise.
      	* testsuite/25_algorithms/heap/moveable.cc: Likewise.
      	* testsuite/25_algorithms/heap/moveable2.cc: Likewise.
      	* testsuite/25_algorithms/heap/vectorbool.cc: Likewise.
      	* testsuite/25_algorithms/includes/1.cc: Likewise.
      	* testsuite/25_algorithms/inplace_merge/1.cc: Likewise.
      	* testsuite/25_algorithms/inplace_merge/49559.cc: Likewise.
      	* testsuite/25_algorithms/inplace_merge/moveable.cc: Likewise.
      	* testsuite/25_algorithms/inplace_merge/moveable2.cc: Likewise.
      	* testsuite/25_algorithms/is_heap/1.cc: Likewise.
      	* testsuite/25_algorithms/is_heap_until/1.cc: Likewise.
      	* testsuite/25_algorithms/is_partitioned/1.cc: Likewise.
      	* testsuite/25_algorithms/is_permutation/1.cc: Likewise.
      	* testsuite/25_algorithms/is_permutation/2.cc: Likewise.
      	* testsuite/25_algorithms/is_permutation/vectorbool.cc: Likewise.
      	* testsuite/25_algorithms/is_sorted/1.cc: Likewise.
      	* testsuite/25_algorithms/is_sorted_until/1.cc: Likewise.
      	* testsuite/25_algorithms/iter_swap/20577.cc: Likewise.
      	* testsuite/25_algorithms/lower_bound/2.cc: Likewise.
      	* testsuite/25_algorithms/lower_bound/partitioned.cc: Likewise.
      	* testsuite/25_algorithms/make_heap/complexity.cc: Likewise.
      	* testsuite/25_algorithms/max/1.cc: Likewise.
      	* testsuite/25_algorithms/max/2.cc: Likewise.
      	* testsuite/25_algorithms/max/3.cc: Likewise.
      	* testsuite/25_algorithms/max/37547.cc: Likewise.
      	* testsuite/25_algorithms/max/4.cc: Likewise.
      	* testsuite/25_algorithms/min/1.cc: Likewise.
      	* testsuite/25_algorithms/min/2.cc: Likewise.
      	* testsuite/25_algorithms/min/3.cc: Likewise.
      	* testsuite/25_algorithms/min/37547.cc: Likewise.
      	* testsuite/25_algorithms/min/4.cc: Likewise.
      	* testsuite/25_algorithms/minmax/1.cc: Likewise.
      	* testsuite/25_algorithms/minmax/2.cc: Likewise.
      	* testsuite/25_algorithms/minmax/3.cc: Likewise.
      	* testsuite/25_algorithms/minmax/37547.cc: Likewise.
      	* testsuite/25_algorithms/minmax_element/1.cc: Likewise.
      	* testsuite/25_algorithms/move/1.cc: Likewise.
      	* testsuite/25_algorithms/move/deque_iterators/1.cc: Likewise.
      	* testsuite/25_algorithms/move_backward/1.cc: Likewise.
      	* testsuite/25_algorithms/move_backward/deque_iterators/1.cc: Likewise.
      	* testsuite/25_algorithms/next_permutation/moveable.cc: Likewise.
      	* testsuite/25_algorithms/none_of/1.cc: Likewise.
      	* testsuite/25_algorithms/nth_element/1.cc: Likewise.
      	* testsuite/25_algorithms/nth_element/2.cc: Likewise.
      	* testsuite/25_algorithms/nth_element/3.cc: Likewise.
      	* testsuite/25_algorithms/nth_element/moveable.cc: Likewise.
      	* testsuite/25_algorithms/nth_element/random_test.cc: Likewise.
      	* testsuite/25_algorithms/partial_sort/2.cc: Likewise.
      	* testsuite/25_algorithms/partial_sort/check_compare_by_value.cc:
      	Likewise.
      	* testsuite/25_algorithms/partial_sort/moveable.cc: Likewise.
      	* testsuite/25_algorithms/partial_sort/random_test.cc: Likewise.
      	* testsuite/25_algorithms/partial_sort_copy/2.cc: Likewise.
      	* testsuite/25_algorithms/partial_sort_copy/random_test.cc: Likewise.
      	* testsuite/25_algorithms/partition/1.cc: Likewise.
      	* testsuite/25_algorithms/partition/moveable.cc: Likewise.
      	* testsuite/25_algorithms/partition_copy/1.cc: Likewise.
      	* testsuite/25_algorithms/partition_point/1.cc: Likewise.
      	* testsuite/25_algorithms/pop_heap/complexity.cc: Likewise.
      	* testsuite/25_algorithms/prev_permutation/moveable.cc: Likewise.
      	* testsuite/25_algorithms/push_heap/complexity.cc: Likewise.
      	* testsuite/25_algorithms/random_shuffle/1.cc: Likewise.
      	* testsuite/25_algorithms/random_shuffle/moveable.cc: Likewise.
      	* testsuite/25_algorithms/rotate/1.cc: Likewise.
      	* testsuite/25_algorithms/rotate/moveable.cc: Likewise.
      	* testsuite/25_algorithms/rotate/moveable2.cc: Likewise.
      	* testsuite/25_algorithms/rotate/rotate.cc: Likewise.
      	* testsuite/25_algorithms/search/1.cc: Likewise.
      	* testsuite/25_algorithms/search_n/58358.cc: Likewise.
      	* testsuite/25_algorithms/shuffle/1.cc: Likewise.
      	* testsuite/25_algorithms/sort/1.cc: Likewise.
      	* testsuite/25_algorithms/sort/check_compare_by_value.cc: Likewise.
      	* testsuite/25_algorithms/sort/moveable.cc: Likewise.
      	* testsuite/25_algorithms/sort/random_test.cc: Likewise.
      	* testsuite/25_algorithms/sort/vectorbool.cc: Likewise.
      	* testsuite/25_algorithms/sort_heap/check_compare_by_value.cc: Likewise.
      	* testsuite/25_algorithms/sort_heap/complexity.cc: Likewise.
      	* testsuite/25_algorithms/stable_partition/1.cc: Likewise.
      	* testsuite/25_algorithms/stable_partition/mem_check.cc: Likewise.
      	* testsuite/25_algorithms/stable_partition/moveable.cc: Likewise.
      	* testsuite/25_algorithms/stable_sort/2.cc: Likewise.
      	* testsuite/25_algorithms/stable_sort/3.cc: Likewise.
      	* testsuite/25_algorithms/stable_sort/49559.cc: Likewise.
      	* testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
      	Likewise.
      	* testsuite/25_algorithms/stable_sort/mem_check.cc: Likewise.
      	* testsuite/25_algorithms/stable_sort/moveable.cc: Likewise.
      	* testsuite/25_algorithms/stable_sort/moveable2.cc: Likewise.
      	* testsuite/25_algorithms/swap_ranges/1.cc: Likewise.
      	* testsuite/25_algorithms/unique/11480.cc: Likewise.
      	* testsuite/25_algorithms/unique/2.cc: Likewise.
      	* testsuite/25_algorithms/unique/moveable.cc: Likewise.
      	* testsuite/25_algorithms/unique_copy/1.cc: Likewise.
      	* testsuite/25_algorithms/unique_copy/2.cc: Likewise.
      	* testsuite/25_algorithms/unique_copy/26133.cc: Likewise.
      	* testsuite/25_algorithms/upper_bound/2.cc: Likewise.
      	* testsuite/25_algorithms/upper_bound/partitioned.cc: Likewise.
      	* testsuite/28_regex/algorithms/regex_match/awk/cstring_01.cc: Likewise.
      	* testsuite/28_regex/algorithms/regex_match/basic/empty_range.cc:
      	Likewise.
      	* testsuite/28_regex/algorithms/regex_match/basic/string_01.cc:
      	Likewise.
      	* testsuite/28_regex/algorithms/regex_match/basic/
      	string_range_00_03.cc: Likewise.
      	* testsuite/28_regex/algorithms/regex_match/basic/
      	string_range_01_03.cc: Likewise.
      	* testsuite/28_regex/algorithms/regex_match/basic/
      	string_range_02_03.cc: Likewise.
      	* testsuite/28_regex/algorithms/regex_match/cstring_bracket_01.cc:
      	Likewise.
      	* testsuite/28_regex/algorithms/regex_match/ecma/char/53622.cc:
      	Likewise.
      	* testsuite/28_regex/algorithms/regex_match/ecma/char/57173.cc:
      	Likewise.
      	* testsuite/28_regex/algorithms/regex_match/ecma/char/58576.cc:
      	Likewise.
      	* testsuite/28_regex/algorithms/regex_match/ecma/char/68863.cc:
      	Likewise.
      	* testsuite/28_regex/algorithms/regex_match/ecma/char/anymatcher.cc:
      	Likewise.
      	* testsuite/28_regex/algorithms/regex_match/ecma/char/backref.cc:
      	Likewise.
      	* testsuite/28_regex/algorithms/regex_match/ecma/char/empty_range.cc:
      	Likewise.
      	* testsuite/28_regex/algorithms/regex_match/ecma/char/emptygroup.cc:
      	Likewise.
      	* testsuite/28_regex/algorithms/regex_match/ecma/char/hex.cc: Likewise.
      	* testsuite/28_regex/algorithms/regex_match/ecma/char/quoted_char.cc:
      	Likewise.
      	* testsuite/28_regex/algorithms/regex_match/ecma/char/ungreedy.cc:
      	Likewise.
      	* testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/63199.cc:
      	Likewise.
      	* testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/
      	anymatcher.cc: Likewise.
      	* testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/cjk_match.cc:
      	Likewise.
      	* testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/hex.cc:
      	Likewise.
      	* testsuite/28_regex/algorithms/regex_match/extended/cstring_plus.cc:
      	Likewise.
      	* testsuite/28_regex/algorithms/regex_match/extended/
      	cstring_questionmark.cc: Likewise.
      	* testsuite/28_regex/algorithms/regex_match/extended/
      	cstring_range.cc: Likewise.
      	* testsuite/28_regex/algorithms/regex_match/extended/string_any.cc:
      	Likewise.
      	* testsuite/28_regex/algorithms/regex_match/extended/
      	string_range_00_03.cc: Likewise.
      	* testsuite/28_regex/algorithms/regex_match/extended/
      	string_range_01_03.cc: Likewise.
      	* testsuite/28_regex/algorithms/regex_match/extended/
      	string_range_02_03.cc: Likewise.
      	* testsuite/28_regex/algorithms/regex_match/extended/
      	wstring_locale.cc: Likewise.
      	* testsuite/28_regex/algorithms/regex_replace/char/basic_replace.cc:
      	Likewise.
      	* testsuite/28_regex/algorithms/regex_replace/char/dr2213.cc: Likewise.
      	* testsuite/28_regex/algorithms/regex_search/61720.cc: Likewise.
      	* testsuite/28_regex/algorithms/regex_search/basic/string_01.cc:
      	Likewise.
      	* testsuite/28_regex/algorithms/regex_search/ecma/assertion.cc:
      	Likewise.
      	* testsuite/28_regex/algorithms/regex_search/ecma/flags.cc: Likewise.
      	* testsuite/28_regex/algorithms/regex_search/ecma/greedy.cc: Likewise.
      	* testsuite/28_regex/algorithms/regex_search/ecma/string_01.cc:
      	Likewise.
      	* testsuite/28_regex/basic_regex/assign/char/cstring.cc: Likewise.
      	* testsuite/28_regex/basic_regex/assign/char/cstring_op.cc: Likewise.
      	* testsuite/28_regex/basic_regex/assign/char/moveable.cc: Likewise.
      	* testsuite/28_regex/basic_regex/assign/char/pstring.cc: Likewise.
      	* testsuite/28_regex/basic_regex/assign/char/range.cc: Likewise.
      	* testsuite/28_regex/basic_regex/assign/char/string.cc: Likewise.
      	* testsuite/28_regex/basic_regex/assign/char/string_op.cc: Likewise.
      	* testsuite/28_regex/basic_regex/assign/wchar_t/cstring.cc: Likewise.
      	* testsuite/28_regex/basic_regex/assign/wchar_t/cstring_op.cc: Likewise.
      	* testsuite/28_regex/basic_regex/assign/wchar_t/pstring.cc: Likewise.
      	* testsuite/28_regex/basic_regex/assign/wchar_t/range.cc: Likewise.
      	* testsuite/28_regex/basic_regex/assign/wchar_t/string.cc: Likewise.
      	* testsuite/28_regex/basic_regex/assign/wchar_t/string_op.cc: Likewise.
      	* testsuite/28_regex/basic_regex/ctors/basic/pstring_wchar_t.cc:
      	Likewise.
      	* testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
      	Likewise.
      	* testsuite/28_regex/basic_regex/ctors/extended/cstring.cc: Likewise.
      	* testsuite/28_regex/basic_regex/ctors/extended/
      	string_range_01_02_03.cc: Likewise.
      	* testsuite/28_regex/basic_regex/ctors/move_char.cc: Likewise.
      	* testsuite/28_regex/basic_regex/ctors/string_wchar_t.cc: Likewise.
      	* testsuite/28_regex/basic_regex/ctors/wchar_t/cstring.cc: Likewise.
      	* testsuite/28_regex/basic_regex/ctors/wchar_t/default.cc: Likewise.
      	* testsuite/28_regex/basic_regex/ctors/wchar_t/range.cc: Likewise.
      	* testsuite/28_regex/basic_regex/imbue/string.cc: Likewise.
      	* testsuite/28_regex/constants/error_type.cc: Likewise.
      	* testsuite/28_regex/constants/match_flag_type.cc: Likewise.
      	* testsuite/28_regex/init-list.cc: Likewise.
      	* testsuite/28_regex/iterators/regex_iterator/char/64140.cc: Likewise.
      	* testsuite/28_regex/iterators/regex_iterator/char/string_01.cc:
      	Likewise.
      	* testsuite/28_regex/iterators/regex_iterator/char/
      	string_position_01.cc
      	* testsuite/28_regex/iterators/regex_iterator/ctors/char/default.cc:
      	Likewise.
      	* testsuite/28_regex/iterators/regex_iterator/ctors/wchar_t/
      	default.cc: Likewise.
      	* testsuite/28_regex/iterators/regex_iterator/typedefs.cc: Likewise.
      	* testsuite/28_regex/iterators/regex_iterator/wchar_t/string_01.cc:
      	Likewise.
      	* testsuite/28_regex/iterators/regex_iterator/wchar_t/string_02.cc:
      	Likewise.
      	* testsuite/28_regex/iterators/regex_token_iterator/64303.cc: Likewise.
      	* testsuite/28_regex/iterators/regex_token_iterator/char/string_01.cc:
      	Likewise.
      	* testsuite/28_regex/iterators/regex_token_iterator/ctors/char/
      	default.cc: Likewise.
      	* testsuite/28_regex/iterators/regex_token_iterator/ctors/wchar_t/
      	default.cc: Likewise.
      	* testsuite/28_regex/iterators/regex_token_iterator/typedefs.cc:
      	Likewise.
      	* testsuite/28_regex/iterators/regex_token_iterator/wchar_t/
      	string_01.cc: Likewise.
      	* testsuite/28_regex/iterators/regex_token_iterator/wchar_t/
      	wstring_02.cc: Likewise.
      	* testsuite/28_regex/match_results/ctors/char/default.cc: Likewise.
      	* testsuite/28_regex/match_results/ctors/wchar_t/default.cc: Likewise.
      	* testsuite/28_regex/match_results/format.cc: Likewise.
      	* testsuite/28_regex/match_results/out_of_range_submatches.cc: Likewise.
      	* testsuite/28_regex/match_results/swap.cc: Likewise.
      	* testsuite/28_regex/match_results/typedefs.cc: Likewise.
      	* testsuite/28_regex/regex_error/regex_error.cc: Likewise.
      	* testsuite/28_regex/regression.cc: Likewise.
      	* testsuite/28_regex/sub_match/cast_char.cc: Likewise.
      	* testsuite/28_regex/sub_match/cast_wchar_t.cc: Likewise.
      	* testsuite/28_regex/sub_match/embedded_zeros_cmp.cc: Likewise.
      	* testsuite/28_regex/sub_match/length.cc: Likewise.
      	* testsuite/28_regex/traits/char/ctor.cc: Likewise.
      	* testsuite/28_regex/traits/char/isctype.cc: Likewise.
      	* testsuite/28_regex/traits/char/length.cc: Likewise.
      	* testsuite/28_regex/traits/char/lookup_classname.cc: Likewise.
      	* testsuite/28_regex/traits/char/lookup_collatename.cc: Likewise.
      	* testsuite/28_regex/traits/char/transform.cc: Likewise.
      	* testsuite/28_regex/traits/char/transform_primary.cc: Likewise.
      	* testsuite/28_regex/traits/char/translate.cc: Likewise.
      	* testsuite/28_regex/traits/char/translate_nocase.cc: Likewise.
      	* testsuite/28_regex/traits/char/user_defined.cc: Likewise.
      	* testsuite/28_regex/traits/char/value.cc: Likewise.
      	* testsuite/28_regex/traits/wchar_t/ctor.cc: Likewise.
      	* testsuite/28_regex/traits/wchar_t/isctype.cc: Likewise.
      	* testsuite/28_regex/traits/wchar_t/length.cc: Likewise.
      	* testsuite/28_regex/traits/wchar_t/lookup_classname.cc: Likewise.
      	* testsuite/28_regex/traits/wchar_t/lookup_collatename.cc: Likewise.
      	* testsuite/28_regex/traits/wchar_t/transform.cc: Likewise.
      	* testsuite/28_regex/traits/wchar_t/transform_primary.cc: Likewise.
      	* testsuite/28_regex/traits/wchar_t/translate.cc: Likewise.
      	* testsuite/28_regex/traits/wchar_t/translate_nocase.cc: Likewise.
      	* testsuite/28_regex/traits/wchar_t/user_defined.cc: Likewise.
      	* testsuite/28_regex/traits/wchar_t/value.cc: Likewise.
      	* testsuite/29_atomics/atomic/60658.cc: Likewise.
      	* testsuite/29_atomics/atomic/operators/51811.cc: Likewise.
      	* testsuite/29_atomics/atomic_flag/clear/1.cc: Likewise.
      	* testsuite/backward/11460.cc: Likewise.
      	* testsuite/backward/hash_map/1.cc: Likewise.
      	* testsuite/backward/hash_map/25896.cc: Likewise.
      	* testsuite/backward/hash_set/1.cc: Likewise.
      	* testsuite/backward/hash_set/25896.cc: Likewise.
      	* testsuite/decimal/binary-arith.cc: Likewise.
      	* testsuite/decimal/comparison.cc: Likewise.
      	* testsuite/decimal/compound-assignment-memfunc.cc: Likewise.
      	* testsuite/decimal/compound-assignment.cc: Likewise.
      	* testsuite/decimal/conversion-from-float.cc: Likewise.
      	* testsuite/decimal/conversion-from-integral.cc: Likewise.
      	* testsuite/decimal/conversion-to-generic-float.cc: Likewise.
      	* testsuite/decimal/conversion-to-integral.cc: Likewise.
      	* testsuite/decimal/ctor.cc: Likewise.
      	* testsuite/decimal/incdec-memfunc.cc: Likewise.
      	* testsuite/decimal/incdec.cc: Likewise.
      	* testsuite/decimal/make-decimal.cc: Likewise.
      	* testsuite/decimal/pr54036-1.cc: Likewise.
      	* testsuite/decimal/pr54036-2.cc: Likewise.
      	* testsuite/decimal/pr54036-3.cc: Likewise.
      	* testsuite/decimal/unary-arith.cc: Likewise.
      	* testsuite/special_functions/01_assoc_laguerre/check_nan.cc: Likewise.
      	* testsuite/special_functions/01_assoc_laguerre/check_value.cc:
      	Likewise.
      	* testsuite/special_functions/02_assoc_legendre/check_nan.cc: Likewise.
      	* testsuite/special_functions/02_assoc_legendre/check_value.cc:
      	Likewise.
      	* testsuite/special_functions/03_beta/check_nan.cc: Likewise.
      	* testsuite/special_functions/03_beta/check_value.cc: Likewise.
      	* testsuite/special_functions/04_comp_ellint_1/check_nan.cc: Likewise.
      	* testsuite/special_functions/04_comp_ellint_1/check_value.cc: Likewise.
      	* testsuite/special_functions/05_comp_ellint_2/check_nan.cc: Likewise.
      	* testsuite/special_functions/05_comp_ellint_2/check_value.cc: Likewise.
      	* testsuite/special_functions/06_comp_ellint_3/check_nan.cc: Likewise.
      	* testsuite/special_functions/06_comp_ellint_3/check_value.cc: Likewise.
      	* testsuite/special_functions/07_cyl_bessel_i/check_nan.cc: Likewise.
      	* testsuite/special_functions/07_cyl_bessel_i/check_value.cc: Likewise.
      	* testsuite/special_functions/07_cyl_bessel_i/pr56216.cc: Likewise.
      	* testsuite/special_functions/08_cyl_bessel_j/check_nan.cc: Likewise.
      	* testsuite/special_functions/08_cyl_bessel_j/check_value.cc: Likewise.
      	* testsuite/special_functions/09_cyl_bessel_k/check_nan.cc: Likewise.
      	* testsuite/special_functions/09_cyl_bessel_k/check_value.cc: Likewise.
      	* testsuite/special_functions/10_cyl_neumann/check_nan.cc: Likewise.
      	* testsuite/special_functions/10_cyl_neumann/check_value.cc: Likewise.
      	* testsuite/special_functions/11_ellint_1/check_nan.cc: Likewise.
      	* testsuite/special_functions/11_ellint_1/check_value.cc: Likewise.
      	* testsuite/special_functions/12_ellint_2/check_nan.cc: Likewise.
      	* testsuite/special_functions/12_ellint_2/check_value.cc: Likewise.
      	* testsuite/special_functions/13_ellint_3/check_nan.cc: Likewise.
      	* testsuite/special_functions/13_ellint_3/check_value.cc: Likewise.
      	* testsuite/special_functions/14_expint/check_nan.cc: Likewise.
      	* testsuite/special_functions/14_expint/check_value.cc: Likewise.
      	* testsuite/special_functions/15_hermite/check_nan.cc: Likewise.
      	* testsuite/special_functions/15_hermite/check_value.cc: Likewise.
      	* testsuite/special_functions/16_laguerre/check_nan.cc: Likewise.
      	* testsuite/special_functions/16_laguerre/check_value.cc: Likewise.
      	* testsuite/special_functions/17_legendre/check_nan.cc: Likewise.
      	* testsuite/special_functions/17_legendre/check_value.cc: Likewise.
      	* testsuite/special_functions/18_riemann_zeta/check_nan.cc: Likewise.
      	* testsuite/special_functions/18_riemann_zeta/check_value.cc: Likewise.
      	* testsuite/special_functions/19_sph_bessel/check_nan.cc: Likewise.
      	* testsuite/special_functions/19_sph_bessel/check_value.cc: Likewise.
      	* testsuite/special_functions/20_sph_legendre/check_nan.cc: Likewise.
      	* testsuite/special_functions/20_sph_legendre/check_value.cc: Likewise.
      	* testsuite/special_functions/21_sph_neumann/check_nan.cc: Likewise.
      	* testsuite/special_functions/21_sph_neumann/check_value.cc: Likewise.
      	* testsuite/tr2/bases/value.cc: Likewise.
      	* testsuite/tr2/direct_bases/value.cc: Likewise.
      	* testsuite/util/debug/checks.h: Likewise.
      	* testsuite/util/debug/unordered_checks.h: Likewise.
      	* testsuite/util/testsuite_allocator.h: Likewise.
      	* testsuite/util/testsuite_api.h: Likewise.
      	* testsuite/util/testsuite_common_types.h: Likewise.
      	* testsuite/util/testsuite_random.h: Likewise.
      	* testsuite/util/testsuite_rvalref.h: Likewise.
      
      From-SVN: r241138
      Paolo Carlini committed