1. 15 Oct, 2016 5 commits
    • PR 48587 Newunit allocator · e2a02db7
      2016-10-15  Janne Blomqvist  <jb@gcc.gnu.org>
      
              PR libfortran/48587
              * gfortran.dg/negative_unit2.f90: New testcase.
      
      From-SVN: r241200
      Janne Blomqvist committed
    • PR 48587 Newunit allocator · c04d4ede
      Currently GFortran newer reuses unit numbers allocated with NEWUNIT=,
      instead having a simple counter that is decremented each time such a
      unit is opened.  For a long running program which repeatedly opens
      files with NEWUNIT= and closes them, the counter can wrap around and
      cause an abort.  This patch replaces the counter with an allocator
      that keeps track of which units numbers are allocated, and can reuse
      them once they have been deallocated.  Since operating systems tend to
      limit the number of simultaneous open files for a process to a
      relatively modest number, a relatively simple approach with a linear
      scan through an array suffices.  Though as a small optimization there
      is a low water indicator keeping track of the index for which all unit
      numbers below are already allocated.  This linear scan also ensures
      that we always allocate the smallest available unit number.
      
      2016-10-15  Janne Blomqvist  <jb@gcc.gnu.org>
      
              PR libfortran/48587
              * io/io.h (get_unique_unit_number): Remove prototype.
              (newunit_alloc): New prototype.
              * io/open.c (st_open): Call newunit_alloc.
              * io/unit.c (newunits,newunit_size,newunit_lwi): New static
              variables.
              (GFC_FIRST_NEWUNIT): Rename to NEWUNIT_START.
              (next_available_newunit): Remove variable.
              (get_unit): Call newunit_alloc, don't try to create negative
              external unit.
              (close_unit_1): Call newunit_free.
              (close_units): Free newunits array.
              (get_unique_number): Remove function.
              (newunit_alloc): New function.
              (newunit_free): New function.
              * io/transfer.c (data_transfer_init): Check for invalid unit
              number.
      
      testsuite ChangeLog:
      
      2016-10-15  Janne Blomqvist  <jb@gcc.gnu.org>
      
              PR libfortran/48587
              * gfortran.dg/negative_unit2.f90: New testcase.
      
      From-SVN: r241199
      Janne Blomqvist committed
    • revert: diagnostic.c (diagnostic_action_after_output): Remove max error handling here .... · 64190f04
      Revert
      	* 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: r241198
      Nathan Sidwell committed
    • runtime: copy runtime package time code from Go 1.7 · 35d94244
          
          Fix handling of function values for -fgo-c-header to generate FuncVal*,
          not simply FuncVal.
          
          While we're here change runtime.nanotime to use clock_gettime with
          CLOCK_MONOTONIC, rather than gettimeofday.  This is what the gc library
          does.  It provides nanosecond precision and a monotonic clock.
          
          Reviewed-on: https://go-review.googlesource.com/31232
      
      From-SVN: r241197
      Ian Lance Taylor committed
    • Daily bump. · 2a0b23da
      From-SVN: r241196
      GCC Administrator committed
  2. 14 Oct, 2016 35 commits
    • runtime: copy mprof code from Go 1.7 runtime · 1f0be9ee
          
          Also create a gccgo version of some of the traceback code in
          traceback_gccgo.go, replacing some code currently in C.
          
          This required modifying the compiler so that when compiling the runtime
          package a slice expression does not cause a local array variable to
          escape to the heap.
          
          Reviewed-on: https://go-review.googlesource.com/31230
      
      From-SVN: r241189
      Ian Lance Taylor committed
    • c-cppbuiltin.c (c_cpp_builtins): Define __cpp_aggregate_bases and __cpp_deduction_guides. · 2045acd9
      	* c-cppbuiltin.c (c_cpp_builtins): Define __cpp_aggregate_bases
      	and __cpp_deduction_guides.
      
      From-SVN: r241188
      Jason Merrill committed
    • Implement P0017R1, C++17 aggregates with bases. · ec2416b5
      	* class.c (build_base_field_1): Split out from...
      	(build_base_field): ...here.  In C++17 mode, build a field for
      	empty bases.
      	* decl.c (xref_basetypes): In C++17 aggregates can have bases.
      	(next_initializable_field): Allow base fields in C++17.
      	* typeck2.c (process_init_constructor_record): Likewise.
      
      From-SVN: r241187
      Jason Merrill committed
    • 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