Ian Lance Taylor [Wed, 19 Oct 2016 16:53:13 +0000 (16:53 +0000)]
runtime, syscall: force EPOLLET to be positive
The C definition is 1U << 31. Reportedly on some systems GCC's
-fgo-dump-spec can print this as -
2147483648.
Reviewed-on: https://go-review.googlesource.com/31448
From-SVN: r241347
Aldy Hernandez [Wed, 19 Oct 2016 13:52:43 +0000 (13:52 +0000)]
Wvla-1.c: Rename to...
* gcc.dg/Wvla-1.c: Rename to...
* gcc.dg/Wvla-larger-than-1.c: ...this.
* gcc.dg/Wvla-2.c: Rename to...
* gcc.dg/Wvla-larger-than-2.c: ...this.
* gcc.dg/Wvla-3.c: Rename to...
* gcc.dg/Walloca-11.c.: ...this.
* gcc.dg/wvla-[1-7].c: Rename to:
* gcc.dg/Wvla-[1-7].c: ...this.
From-SVN: r241344
Eric Botcazou [Wed, 19 Oct 2016 13:38:24 +0000 (13:38 +0000)]
omp-low.c (pass_oacc_device_lower::gate): New method.
* omp-low.c (pass_oacc_device_lower::gate): New method.
(execute): Always call execute_oacc_device_lower.
From-SVN: r241343
Bill Schmidt [Wed, 19 Oct 2016 13:35:14 +0000 (13:35 +0000)]
re PR tree-optimization/77916 (ICE in verify_gimple_in_cfg: invalid (pointer) operands to plus/minus)
2016-10-19 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR tree-optimization/77916
PR tree-optimization/77937
* gimple-ssa-strength-reduction.c (analyze_increments): Remove
stopgap fix.
(insert_initializers): Requirement of initializer for -1 should be
based on pointer-typedness of the candidate basis.
From-SVN: r241342
Jonathan Wakely [Wed, 19 Oct 2016 11:57:22 +0000 (12:57 +0100)]
Test experimental::shared_ptr construction from other smart pointers
* testsuite/experimental/memory/shared_ptr/cons/unique_ptr_ctor.cc:
Add tests for valid and invalid conversions.
* testsuite/experimental/memory/shared_ptr/cons/weak_ptr_ctor.cc:
Likewise.
From-SVN: r241340
Bin Cheng [Wed, 19 Oct 2016 11:02:23 +0000 (11:02 +0000)]
re PR tree-optimization/78005 (172.mgrid and 450.soplex miscompare)
PR tree-optimization/78005
* tree-vect-loop-manip.c (vect_gen_prolog_loop_niters): Compute
upper (included) bound for niters of prolog loop.
(vect_gen_scalar_loop_niters): Change parameter VF to VFM1.
Compute niters of scalar loop above which vectorized loop is
preferred, as well as the upper (included) bound for the niters.
(vect_do_peeling): Record niter bound for loops accordingly.
gcc/testsuite
PR tree-optimization/78005
* gcc.dg/vect/pr78005.c: New.
* gcc.target/i386/l_fma_float_1.c: Revise test.
* gcc.target/i386/l_fma_float_2.c: Ditto.
* gcc.target/i386/l_fma_float_3.c: Ditto.
* gcc.target/i386/l_fma_float_4.c: Ditto.
* gcc.target/i386/l_fma_float_5.c: Ditto.
* gcc.target/i386/l_fma_float_6.c: Ditto.
* gcc.target/i386/l_fma_double_1.c: Ditto.
* gcc.target/i386/l_fma_double_2.c: Ditto.
* gcc.target/i386/l_fma_double_3.c: Ditto.
* gcc.target/i386/l_fma_double_4.c: Ditto.
* gcc.target/i386/l_fma_double_5.c: Ditto.
* gcc.target/i386/l_fma_double_6.c: Ditto.
From-SVN: r241339
Thomas Schwinge [Wed, 19 Oct 2016 10:48:46 +0000 (12:48 +0200)]
[PR lto/77458] Avoid ICE in offloading with differing _FloatN, _FloatNx types
gcc/
PR lto/77458
* tree-core.h (enum tree_index): Put the complex types after their
component types.
* tree-streamer.c (verify_common_node_recorded): New function.
(preload_common_nodes) <TREE_CODE (node) == COMPLEX_TYPE>: Use it.
From-SVN: r241338
Martin Liska [Wed, 19 Oct 2016 10:30:36 +0000 (12:30 +0200)]
Replace NULL with false as a return value
* cgraph.h (cgraph_edge::binds_to_current_def_p):
Replace NULL with false as a return value.
From-SVN: r241336
Thomas Schwinge [Wed, 19 Oct 2016 10:19:24 +0000 (12:19 +0200)]
[PR tree-optimization/78024] Clear basic block flags before using BB_VISITED for OpenACC loops processing
gcc/
* omp-low.c (oacc_loop_discovery): Call clear_bb_flags before, and
don't clear BB_VISITED after processing.
gcc/testsuite/
* gcc.dg/goacc/loop-processing-1.c: New file.
From-SVN: r241334
Jonathan Wakely [Wed, 19 Oct 2016 10:10:54 +0000 (11:10 +0100)]
Move negative unique_ptr tests to new file
* testsuite/20_util/unique_ptr/cons/cv_qual.cc: Move negative tests
to new file.
* testsuite/20_util/unique_ptr/cons/cv_qual_neg.cc: New file. Fix
test for incompatible deleters to not also use incompatible types.
Add tests for incompatible array types.
From-SVN: r241332
Jonathan Wakely [Wed, 19 Oct 2016 09:35:03 +0000 (10:35 +0100)]
Fix std::experimental::shared_ptr SFINAE constraints
* include/experimental/bits/shared_ptr.h
(__shared_ptr<__libfund_v1<_Tp, false>, _Lp>::_Compatible): Just use
is_convertible for non-array specialization.
(__shared_ptr<__libfund_v1<_Tp, false>, _Lp>::_UniqCompatible): New
constraint for conversions from unique_ptr.
(__shared_ptr<__libfund_v1<_Tp, false>, _Lp>::__shared_ptr): Constrain.
(__shared_ptr<__libfund_v1<_Tp, false>, _Lp>::reset): Likewise.
(__sp_compatible_v): New variable template for trait.
(__sp_is_constructible): New trait to check shared_ptr constraints.
(__sp_is_constructible_v): New variable template for trait.
(__shared_ptr<__libfund_v1<_Tp, true>, _Lp>::_SafeConv): New
constraint for construction/reset, using __sp_is_constructible_v.
(__shared_ptr<__libfund_v1<_Tp, true>, _Lp>::_UniqCompatible): New
constraint for conversions from unique_ptr.
(__shared_ptr<__libfund_v1<_Tp, true>, _Lp>::__shared_ptr): Constrain.
(__shared_ptr<__libfund_v1<_Tp, true>, _Lp>::reset): Likewise.
(shared_ptr::_SafeConv): Constraint for checking constructors.
(shared_ptr(Tp1*), shared_ptr(_Tp1, _Deleter))
(shared_ptr(_Tp1, _Deleter, _Alloc)): Constrain with _SafeConv.
(shared_ptr(const weak_ptr<_Tp1>&)): Constrain with _Compatible.
(shared_ptr(auto_ptr<_Tp1>&&)): Fix, remove TODO.
* testsuite/experimental/memory/shared_ptr/cons/pointer_ctor.cc:
Remove tests using invalid conversions.
* testsuite/experimental/memory/shared_ptr/cons/pointer_ctor_neg.cc:
New test.
* testsuite/experimental/memory/shared_ptr/cons/torture.cc: New test.
* testsuite/experimental/memory/shared_ptr/modifiers/reset.cc: Remove
tests using invalid conversions.
* testsuite/experimental/memory/shared_ptr/modifiers/reset_neg.cc: New
test.
* testsuite/experimental/memory/shared_ptr/observers/use_count.cc:
Remove tests using invalid conversions.
From-SVN: r241331
Jonathan Wakely [Wed, 19 Oct 2016 09:34:57 +0000 (10:34 +0100)]
PR77990 refactor unique_ptr to encapsulate tuple
PR libstdc++/77990
* include/bits/unique_ptr.h (__uniq_ptr_impl): New type to
encapsulate implementation details.
(unique_ptr::unique_ptr(_Up)): Don't copy deleter object.
(unique_ptr::get, unique_ptr::get_deleter, unique_ptr::release):
Call member functions of implementation object.
(unique_ptr<T[], D>): Likewise.
* python/libstdcxx/v6/printers.py (UniquePointerPrinter): Adjust for
new implementation.
* python/libstdcxx/v6/xmethods.py (UniquePtrGetWorker): Likewise.
* testsuite/20_util/unique_ptr/assign/48635_neg.cc: Adjust dg-error
lines.
* testsuite/20_util/unique_ptr/assign/cv_qual.cc: Likewise.
* testsuite/20_util/unique_ptr/cons/cv_qual.cc: Likewise.
* testsuite/20_util/unique_ptr/cons/77990.cc: New test.
From-SVN: r241330
Richard Biener [Wed, 19 Oct 2016 08:39:55 +0000 (08:39 +0000)]
domwalk.c (dom_walker::walk): Use RPO order.
2016-10-19 Richard Biener <rguenther@suse.de>
* domwalk.c (dom_walker::walk): Use RPO order.
From-SVN: r241329
Eric Botcazou [Wed, 19 Oct 2016 08:05:36 +0000 (08:05 +0000)]
system-linux-armel.ads: Rename into...
* system-linux-armel.ads: Rename into...
* system-linux-arm.ads: ...this
* gcc-interface/Makefile.in (ARM/Android): Adjust to above renaming.
(ARM/Linux): Likewise.
(Aarch64/Linux): Likewise.
From-SVN: r241328
Richard Biener [Wed, 19 Oct 2016 07:42:19 +0000 (07:42 +0000)]
tree-vrp.c (evrp_dom_walker::evrp_dom_walker): Initialize stmts_to_remove.
2016-10-19 Richard Biener <rguenther@suse.de>
* tree-vrp.c (evrp_dom_walker::evrp_dom_walker): Initialize
stmts_to_remove.
(evrp_dom_walker::~evrp_dom_walker): Free it.
(evrp_dom_walker::stmts_to_remove): Add.
(evrp_dom_walker::before_dom_children): Mark PHIs and stmts
whose output we fully propagate for removal. Propagate
into BB destination PHI arguments.
(execute_early_vrp): Remove queued stmts. Dump value ranges
before stmt removal.
* gcc.dg/tree-ssa/pr61839_2.c: Fix testcase.
From-SVN: r241327
GCC Administrator [Wed, 19 Oct 2016 00:16:16 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r241326
David Edelsohn [Tue, 18 Oct 2016 23:37:07 +0000 (19:37 -0400)]
Fix formatting.
From-SVN: r241322
Aldy Hernandez [Tue, 18 Oct 2016 21:40:58 +0000 (21:40 +0000)]
Makefile.in (OBJS): Add gimple-ssa-warn-alloca.o.
* Makefile.in (OBJS): Add gimple-ssa-warn-alloca.o.
* passes.def: Add two instances of pass_walloca.
* tree-pass.h (make_pass_walloca): New.
* gimple-ssa-warn-walloca.c: New file.
* doc/invoke.texi: Document -Walloca, -Walloca-larger-than=, and
-Wvla-larger-than= options.
From-SVN: r241318
Eric Botcazou [Tue, 18 Oct 2016 20:29:53 +0000 (20:29 +0000)]
Makefile.in (EXTRA_GNATRTL_NONTASKING_OBJS): Define.
* gcc-interface/Makefile.in (EXTRA_GNATRTL_NONTASKING_OBJS): Define.
(EXTRA_GNATRTL_TASKING_OBJS): Likewise.
(ARM/Android): Add atomic support.
(SPARC/Solaris): Simplify.
(x86/Solaris): Likewise.
(x86/Linux): Likewise.
(x86-64/kFreeBDS): Adjust and use system-freebsd-x86.ads
(x86/FreeBSD): Add s-mudido-affinity.adb.
(x86-64/FreeBSD): Likewise and use system-freebsd-x86.ads.
(s390/Linux): Simplify.
(PowerPC/AIX): Likewise.
(Cygwin/Mingw): Likewise.
(MIPSel/Linux): Likewise.
(ARM/Linux): Add atomic support.
(Aarch64/Linux): Use system-linux-armel.ads.
(SPARC/Linux): Simplify.
(IA-64/Linux): Minor tweak.
(IA-64/HP-UX): Likewise.
(Alpha/Linux): Likewise.
(x86-64/Linux): Use system-linux-x86.ads.
(x86/Darwin): Simplify.
(PowerPC/Darwin): Likewise.
(ARM/Darwin): Use system-darwin-arm.ads.
(ADA_EXCLUDE_SRCS): Minor reformatting.
* system-aix.ads (Word_Size): Change to Standard'Word_Size.
(Memory_Size): Change to 2 ** Word_Size.
(Support_Atomic_Primitives): Set to True.
* system-aix64.ads: Delete.
* system-darwin-arm.ads: New.
* system-darwin-ppc.ads (Word_Size): Change to Standard'Word_Size.
(Memory_Size): Change to 2 ** Word_Size.
(Support_Atomic_Primitives): Set to True.
* system-darwin-ppc64.ads: New.
* system-darwin-x86.ads (Word_Size): Change to Standard'Word_Size.
(Memory_Size): Change to 2 ** Word_Size.
* system-darwin-x86_64.ads: Delete.
* system-freebsd-x86.ads (Word_Size): Change to Standard'Word_Size.
(Memory_Size): Change to 2 ** Word_Size.
* system-freebsd-x86_64.ads: Delete.
* system-linux-alpha.ads (Support_Atomic_Primitives): Set to True.
* system-linux-armeb.ads (Word_Size): Change to Standard'Word_Size.
(Memory_Size): Change to 2 ** Word_Size.
(Support_Atomic_Primitives): Set to True.
* system-linux-armel.ads (Word_Size): Change to Standard'Word_Size.
(Memory_Size): Change to 2 ** Word_Size.
(Support_Atomic_Primitives): Set to True.
* system-linux-mips.ads: (Word_Size): Change to Standard'Word_Size.
(Memory_Size): Change to 2 ** Word_Size.
* system-linux-mipsel.ads (Word_Size): Change to Standard'Word_Size.
(Memory_Size): Change to 2 ** Word_Size.
* system-linux-s390.ads (Word_Size): Change to Standard'Word_Size.
(Memory_Size): Change to 2 ** Word_Size.
(Stack_Check_Probes): Set to True.
* system-linux-s390x.ads: Delete.
* system-linux-sparc.ads (Word_Size): Change to Standard'Word_Size.
(Memory_Size): Change to 2 ** Word_Size.
* system-linux-sparcv9.ads: Delete.
* system-linux-x86.ads (Word_Size): Change to Standard'Word_Size.
(Memory_Size): Change to 2 ** Word_Size.
* system-linux-x86_64.ads: Delete.
* system-mingw-x86_64.ads: Delete.
* system-mingw.ads (Word_Size): Change to Standard'Word_Size.
(Memory_Size): Change to 2 ** Word_Size.
* system-solaris-sparc.ads (Word_Size): Change to Standard'Word_Size.
(Memory_Size): Change to 2 ** Word_Size.
(Support_Atomic_Primitives): Set to True.
* system-solaris-sparcv9.ads: Delete.
* system-solaris-x86.ads (Word_Size): Change to Standard'Word_Size.
(Memory_Size): Change to 2 ** Word_Size.
* system-solaris-x86_64.ads: Delete.
From-SVN: r241316
Thomas Schwinge [Tue, 18 Oct 2016 19:36:45 +0000 (21:36 +0200)]
Use FOR_ALL_BB_FN in a few more places
gcc/
* cfg.c (clear_bb_flags): Use FOR_ALL_BB_FN.
* config/nvptx/nvptx.c (nvptx_find_sese): Likewise.
From-SVN: r241315
Kelvin Nilsen [Tue, 18 Oct 2016 19:31:38 +0000 (19:31 +0000)]
vec-all-ne-0.c: New test.
gcc/testsuite/ChangeLog:
2016-10-18 Kelvin Nilsen <kelvin@gcc.gnu.org>
* gcc.target/powerpc/vsu/vec-all-ne-0.c: New test.
* gcc.target/powerpc/vsu/vec-all-ne-1.c: New test.
* gcc.target/powerpc/vsu/vec-all-ne-10.c: New test.
* gcc.target/powerpc/vsu/vec-all-ne-11.c: New test.
* gcc.target/powerpc/vsu/vec-all-ne-12.c: New test.
* gcc.target/powerpc/vsu/vec-all-ne-13.c: New test.
* gcc.target/powerpc/vsu/vec-all-ne-14.c: New test.
* gcc.target/powerpc/vsu/vec-all-ne-2.c: New test.
* gcc.target/powerpc/vsu/vec-all-ne-3.c: New test.
* gcc.target/powerpc/vsu/vec-all-ne-4.c: New test.
* gcc.target/powerpc/vsu/vec-all-ne-5.c: New test.
* gcc.target/powerpc/vsu/vec-all-ne-6.c: New test.
* gcc.target/powerpc/vsu/vec-all-ne-7.c: New test.
* gcc.target/powerpc/vsu/vec-all-ne-8.c: New test.
* gcc.target/powerpc/vsu/vec-all-ne-9.c: New test.
* gcc.target/powerpc/vsu/vec-all-nez-1.c: New test.
* gcc.target/powerpc/vsu/vec-all-nez-2.c: New test.
* gcc.target/powerpc/vsu/vec-all-nez-3.c: New test.
* gcc.target/powerpc/vsu/vec-all-nez-4.c: New test.
* gcc.target/powerpc/vsu/vec-all-nez-5.c: New test.
* gcc.target/powerpc/vsu/vec-all-nez-6.c: New test.
* gcc.target/powerpc/vsu/vec-all-nez-7.c: New test.
* gcc.target/powerpc/vsu/vec-any-eq-0.c: New test.
* gcc.target/powerpc/vsu/vec-any-eq-1.c: New test.
* gcc.target/powerpc/vsu/vec-any-eq-10.c: New test.
* gcc.target/powerpc/vsu/vec-any-eq-11.c: New test.
* gcc.target/powerpc/vsu/vec-any-eq-12.c: New test.
* gcc.target/powerpc/vsu/vec-any-eq-13.c: New test.
* gcc.target/powerpc/vsu/vec-any-eq-14.c: New test.
* gcc.target/powerpc/vsu/vec-any-eq-2.c: New test.
* gcc.target/powerpc/vsu/vec-any-eq-3.c: New test.
* gcc.target/powerpc/vsu/vec-any-eq-4.c: New test.
* gcc.target/powerpc/vsu/vec-any-eq-5.c: New test.
* gcc.target/powerpc/vsu/vec-any-eq-6.c: New test.
* gcc.target/powerpc/vsu/vec-any-eq-7.c: New test.
* gcc.target/powerpc/vsu/vec-any-eq-8.c: New test.
* gcc.target/powerpc/vsu/vec-any-eq-9.c: New test.
* gcc.target/powerpc/vsu/vec-any-eqz-1.c: New test.
* gcc.target/powerpc/vsu/vec-any-eqz-2.c: New test.
* gcc.target/powerpc/vsu/vec-any-eqz-3.c: New test.
* gcc.target/powerpc/vsu/vec-any-eqz-4.c: New test.
* gcc.target/powerpc/vsu/vec-any-eqz-5.c: New test.
* gcc.target/powerpc/vsu/vec-any-eqz-6.c: New test.
* gcc.target/powerpc/vsu/vec-any-eqz-7.c: New test.
* gcc.target/powerpc/vsu/vec-cmpne-0.c: New test.
* gcc.target/powerpc/vsu/vec-cmpne-1.c: New test.
* gcc.target/powerpc/vsu/vec-cmpne-2.c: New test.
* gcc.target/powerpc/vsu/vec-cmpne-3.c: New test.
* gcc.target/powerpc/vsu/vec-cmpne-4.c: New test.
* gcc.target/powerpc/vsu/vec-cmpne-5.c: New test.
* gcc.target/powerpc/vsu/vec-cmpne-6.c: New test.
* gcc.target/powerpc/vsu/vec-cmpne-8.c: New test.
* gcc.target/powerpc/vsu/vec-cmpne-9.c: New test.
* gcc.target/powerpc/vsu/vec-cmpnez-1.c: New test.
* gcc.target/powerpc/vsu/vec-cmpnez-2.c: New test.
* gcc.target/powerpc/vsu/vec-cmpnez-3.c: New test.
* gcc.target/powerpc/vsu/vec-cmpnez-4.c: New test.
* gcc.target/powerpc/vsu/vec-cmpnez-5.c: New test.
* gcc.target/powerpc/vsu/vec-cmpnez-6.c: New test.
* gcc.target/powerpc/vsu/vec-cmpnez-7.c: New test.
* gcc.target/powerpc/vsu/vec-cntlz-lsbb-0.c: New test.
* gcc.target/powerpc/vsu/vec-cntlz-lsbb-1.c: New test.
* gcc.target/powerpc/vsu/vec-cntlz-lsbb-2.c: New test.
* gcc.target/powerpc/vsu/vec-cnttz-lsbb-0.c: New test.
* gcc.target/powerpc/vsu/vec-cnttz-lsbb-1.c: New test.
* gcc.target/powerpc/vsu/vec-cnttz-lsbb-2.c: New test.
* gcc.target/powerpc/vsu/vec-xl-len-0.c: New test.
* gcc.target/powerpc/vsu/vec-xl-len-1.c: New test.
* gcc.target/powerpc/vsu/vec-xl-len-10.c: New test.
* gcc.target/powerpc/vsu/vec-xl-len-11.c: New test.
* gcc.target/powerpc/vsu/vec-xl-len-12.c: New test.
* gcc.target/powerpc/vsu/vec-xl-len-13.c: New test.
* gcc.target/powerpc/vsu/vec-xl-len-2.c: New test.
* gcc.target/powerpc/vsu/vec-xl-len-3.c: New test.
* gcc.target/powerpc/vsu/vec-xl-len-4.c: New test.
* gcc.target/powerpc/vsu/vec-xl-len-5.c: New test.
* gcc.target/powerpc/vsu/vec-xl-len-6.c: New test.
* gcc.target/powerpc/vsu/vec-xl-len-7.c: New test.
* gcc.target/powerpc/vsu/vec-xl-len-8.c: New test.
* gcc.target/powerpc/vsu/vec-xl-len-9.c: New test.
* gcc.target/powerpc/vsu/vec-xlx-0.c: New test.
* gcc.target/powerpc/vsu/vec-xlx-1.c: New test.
* gcc.target/powerpc/vsu/vec-xlx-2.c: New test.
* gcc.target/powerpc/vsu/vec-xlx-3.c: New test.
* gcc.target/powerpc/vsu/vec-xlx-4.c: New test.
* gcc.target/powerpc/vsu/vec-xlx-5.c: New test.
* gcc.target/powerpc/vsu/vec-xlx-6.c: New test.
* gcc.target/powerpc/vsu/vec-xlx-7.c: New test.
* gcc.target/powerpc/vsu/vec-xrx-0.c: New test.
* gcc.target/powerpc/vsu/vec-xrx-1.c: New test.
* gcc.target/powerpc/vsu/vec-xrx-2.c: New test.
* gcc.target/powerpc/vsu/vec-xrx-3.c: New test.
* gcc.target/powerpc/vsu/vec-xrx-4.c: New test.
* gcc.target/powerpc/vsu/vec-xrx-5.c: New test.
* gcc.target/powerpc/vsu/vec-xrx-6.c: New test.
* gcc.target/powerpc/vsu/vec-xrx-7.c: New test.
* gcc.target/powerpc/vsu/vec-xst-len-0.c: New test.
* gcc.target/powerpc/vsu/vec-xst-len-1.c: New test.
* gcc.target/powerpc/vsu/vec-xst-len-10.c: New test.
* gcc.target/powerpc/vsu/vec-xst-len-11.c: New test.
* gcc.target/powerpc/vsu/vec-xst-len-12.c: New test.
* gcc.target/powerpc/vsu/vec-xst-len-13.c: New test.
* gcc.target/powerpc/vsu/vec-xst-len-2.c: New test.
* gcc.target/powerpc/vsu/vec-xst-len-3.c: New test.
* gcc.target/powerpc/vsu/vec-xst-len-4.c: New test.
* gcc.target/powerpc/vsu/vec-xst-len-5.c: New test.
* gcc.target/powerpc/vsu/vec-xst-len-6.c: New test.
* gcc.target/powerpc/vsu/vec-xst-len-7.c: New test.
* gcc.target/powerpc/vsu/vec-xst-len-8.c: New test.
* gcc.target/powerpc/vsu/vec-xst-len-9.c: New test.
* gcc.target/powerpc/vsu/vsu.exp: New file.
gcc/ChangeLog:
2016-10-18 Kelvin Nilsen <kelvin@gcc.gnu.org>
* config/rs6000/altivec.h (vec_xl_len): New macro.
(vec_xst_len): New macro.
(vec_cmpnez): New macro.
(vec_cntlz_lsbb): New macro.
(vec_cnttz_lsbb): New macro.
(vec_xlx): New macro.
(vec_xrx): New macro.
(vec_all_nez): New C++ predicate template.
(vec_any_eqz): New C++ predicate template.
(vec_all_ne): Revised C++ predicate template under _ARCH_PWR9
conditional compilation.
(vec_any_eq): Revised C++ predicate template under _ARCH_PWR9
conditional compilation.
(vec_all_nez): New macro.
(vec_any_eqz): New macro.
(vec_all_ne): Revised macro under _ARCH_PWR9 conditional
compilation.
(vec_any_eq): Revised macro under _ARCH_PWR9 conditional
compilation.
* config/rs6000/vector.md (VI): Moved this mode iterator
definition from altivec.md to vector.md.
(UNSPEC_NEZ_P): New value.
(vector_ne_<mode>_p): New expansion for implementation of
vec_all_ne and vec_any_eq built-in functions.
(vector_nez_<mode>_p): New expansion for implementation of
vec_all_nez and vec_any_eqz built-in functions.
(vector_ne_v2di_p): New expansion for implementation of vec_all_ne
and vec_any_eq built-in function.
(cr6_test_for_zero): New commentary to explain this expansion.
(cr6_test_for_zero_reverse): New commentary to explain this expansion.
(cr6_test_for_lt): New commentary to explain this expansion.
(cr6_test_for_lt_reverse): New commentary to explain this
expansion.
* config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
overloaded function prototypes for vec_all_ne, vec_all_nez,
vec_any_eq, vec_any_eqz, vec_cmpnez, vec_cntlz_lsbb,
vec_cnttz_lsbb, vec_xl_len, vec_xst_len, vec_xlx, and vec_xrx
built-in functions.
(altivec_resolve_overloaded_builtin): Modify the handling of
ALTIVEC_BUILTIN_VEC_CMPNE to use the Power9 instructions when
the compiler is configured to support TARGET_P9_VECTOR.
* config/rs6000/rs6000-builtin.def (BU_ALTIVEC_P): Add commentary
to explain the special processing that is given to predicate
built-ins introduced using this macro.
(BU_ALTIVEC_OVERLOAD_P): Add commentary to alert maintainers to
the special processing given to predicate built-ins introduced
using this macro.
(BU_VSX_P): Likewise.
(BU_P8V_AV_P): Likewise.
(BU_P9V_AV_P): Likewise.
(BU_P9V_AV_X): New macro.
(BU_P9V_64BIT_AV_X): New macro.
(BU_P9V_VSX_3): New macro.
(BU_P9V_OVERLOAD_P): New macro.
(LXVL): New BU_P9V_64BIT_VSX_2.
(VEXTUBLX): New BU_P9V_AV_2.
(VEXTUBRX): Likewise.
(VEXTUHLX): Likewise.
(VEXTUHRX): Likewise.
(VEXTUWLX): Likewise.
(VEXTUWRX): Likewise.
(STXVL): New BU_P9V_64BIT_AV_X.
(VCLZLSBB): New BU_P9V_AV_1.
(VCTZLSBB): Likewise.
(CMPNEB): New BU_P9V_AV_2.
(CMPNEH): Likewise.
(CMPNEW): Likewise.
(CMPNEF): Likewise.
(CMPNED): Likewise.
(VCMPNEB_P): New BU_P9V_AV_P.
(VCMPNEH_P): Likewise.
(VCMPNEW_P): Likewise.
(VCMPNED_P): Likewise.
(VCMPNEFP_P): Likewise.
(VCMPNEDP_P): Likewise.
(CMPNEZB): New BU_P9V_AV_2.
(CMPNEZH): Likewise.
(CMPNEZW): Likewise.
(VCMPNEZB_P): New BU_P9V_AV_P.
(VCMPNEZH_P): Likewise.
(VCMPNEZW_P): Likewise.
(LXVL): New BU_P9V_OVERLOAD_2.
(STXVL): New BU_P9V_OVERLOAD_3.
(VEXTULX): New BU_P9V_OVERLOAD_2.
(VEXTURX): Likewise.
(CMPNEZ): Likewise.
(VCMPNEZ_P): New BU_P9V_OVERLOAD_P.
(VCMPNE_P): Likewise.
(VCLZLSBB): New BU_P9V_OVERLOAD_1.
(VCTZLSBB): Likewise.
* config/rs6000/rs6000.c (altivec_expand_predicate_builtin): Add
comment to explain mode used for scratch register.
(altivec_expand_stxvl_builtin): New function.
(altivec_expand_builtin): Add case for new constant P9V_BUILTIN_STXVL.
(altivec_init_builtins): Add initialized variable
void_ftype_v16qi_pvoid_long and use this type to define the
built-in function __builtin_altivec_stxvl.
* config/rs6000/vsx.md (UNSPEC_LXVL): New value.
(UNSPEC_STXVL): New value.
(UNSPEC_VCLZLSBB): New value.
(UNSPEC_VCTZLSBB): New value.
(UNSPEC_VEXTUBLX): New value.
(UNSPEC_VEXTUHLX): New value.
(UNSPEC_VEXTUWLX): New value.
(UNSPEC_VEXTUBRX): New value.
(UNSPEC_VEXTUHRX): New value.
(UNSPEC_VEXTUWRX): New value.
(UNSPEC_VCMPNEB): New value.
(UNSPEC_VCMPNEZB): New value.
(UNSPEC_VCMPNEH): New value.
(UNSPEC_VCMPNEZH): New value.
(UNSPEC_VCMPNEW): New value.
(UNSPEC_VCMPNEZW): New value.
(*vsx_ne_<mode>_p): New insn for vector test all not equal with
vector of integer modes.
(*vsx_ne_<mode>_p): New insn for vector test all not equal with
vector of float or double modes.
(*vector_nez_<mode>_p): New insn for vector test all not equal or
zero.
(lxvl): New expand for load VSX vector with length.
(*lxvl): New insn for load VSX vector with length.
(stxvl): New expand for store VSX vector with length.
(*stxvl): New insn for store VSX vector with length.
(vcmpneb): New insn for vector of byte compare not equal.
(vcmpnezb): New insn for vector of byte compare not equal or zero.
(vcmpneh): New insn for vector of half word compare not equal.
(vcmpnezh): New insn for vector of half word compare not equal or
zero.
(vcmpnew): New insn for vector of word compare not equal.
(vcmpne<VSs>): New insn for vector of float or double compare not
equal.
(vcmpnezw): New insn for vector of word compare not equal or zero.
(vclzlsbb): New insn for vector count leading zero
least-significant bits byte.
(vctzlsbb): New insn for vector count trailing zero least
signficant bits byte.
(vextublx): New insn for vector extract unsigned byte left
indexed.
(vextubrx): New insn for vector extract unsigned byte right
indexed.
(vextuhlx): New insn for vector extract unsigned half word left
indexed.
(vextuhrx): New insn for vector extract unsigned half word right
indexed.
(vextuwlx): New insn for vector extract unsigned word left
indexed.
(vextuwrx): New insn for vector extract unsigned word right
indexed.
* config/rs6000/rs6000.h (RS6000_BTC_CONST): Enhance comment to
clarify intent of this constant.
* config/rs6000/altivec.md (VI): Move this mode iterator to vsx.md.
* doc/extend.texi (PowerPC Altivec Built-in Functions): Add
documentation for vec_all_nez, vec_any_eqz, vec_cmpnez,
vec_cntlz_lsbb, vec_cnttz_lsbb, vec_xl_len, vec_xst_len, vec_xlx,
and vec_xrx functions.
From-SVN: r241314
Max Filippov [Tue, 18 Oct 2016 19:12:19 +0000 (19:12 +0000)]
xtensa: don't use unwind-dw2-fde-dip with elf targets
Define LIB2ADDEH_XTENSA_UNWIND_DW2_FDE to unwind-dw2-fde.c in
xtensa/t-elf and to unwind-dw2-fde-dip.c in xtensa/t-linux and use
LIB2ADDEH_XTENSA_UNWIND_DW2_FDE in LIB2ADDEH definition.
This fixes build for elf target with windowed xtensa core that currently
breaks with the following error message:
unwind-dw2-fde-dip.c:36:40: fatal error: elf.h: No such file or directory
2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
libgcc/
* config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
definition.
* config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
definition.
* config/xtensa/t-windowed (LIB2ADDEH): Use
LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
or xtensa/t-linux.
From-SVN: r241313
Ding-Kai Chen [Tue, 18 Oct 2016 19:06:33 +0000 (19:06 +0000)]
xtensa: add HW FPU sequences for DIV/SQRT/RECIP/RSQRT
Use new FPU instruction sequences documented in the ISA book to
implement __divsf3, __divdf3, __recipsf2, __recipdf2, __rsqrtsf2,
__rsqrtdf2 and __ieee754_sqrtf and __ieee754_sqrt.
2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
libgcc/
* config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
__ieee754_sqrt): New functions.
(__divdf3): Add implementation with new FPU instructions under
#if XCHAL_HAVE_DFP_DIV.
* config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
__ieee754_sqrtf): New functions.
(__divsf3): Add implementation with new FPU instructions under
#if XCHAL_HAVE_FP_DIV.
* config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
_rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
From-SVN: r241312
Jonathan Wakely [Tue, 18 Oct 2016 18:41:43 +0000 (19:41 +0100)]
Fix indentation of experimental::shared_ptr code
* include/experimental/bits/shared_ptr.h: Fix indentation.
From-SVN: r241311
Jonathan Wakely [Tue, 18 Oct 2016 18:30:38 +0000 (19:30 +0100)]
Fix typos in experimental::shared_ptr
* include/experimental/bits/shared_ptr.h (shared_ptr(shared_ptr&&)):
Remove const from parameter.
(operator<(const shared_ptr<T>&, nullptr_t)): Use correct
specialization of std::less.
* testsuite/experimental/memory/shared_ptr/comparison/comparison.cc:
Test comparison with nullptr and actually call test functions.
From-SVN: r241310
Andrew Pinski [Tue, 18 Oct 2016 15:42:21 +0000 (15:42 +0000)]
re PR middle-end/65950 (exit in main is causing the path to it to become unlikely.)
2016-10-18 Andrew Pinski <apinski@cavium.com>
PR tree-opt/65950
* predict.c (is_exit_with_zero_arg): New function.
(tree_bb_level_predictions): Don't consider paths leading to exit(0)
as nottaken.
From-SVN: r241309
Uros Bizjak [Tue, 18 Oct 2016 14:39:39 +0000 (16:39 +0200)]
re PR target/77991 (ICE on x32 in plus_constant, at explow.c:87)
PR target/77991
* config/i386/i386.c (legitimize_tls_address)
<case TLS_MODEL_INITIAL_EXEC>: For TARGET_64BIT || TARGET_ANY_GNU_TLS
convert dest to Pmode if different than Pmode.
testsuite/ChangeLog:
PR target/77991
* gcc.target/i386/pr77991.c: New test.
From-SVN: r241308
Ian Lance Taylor [Tue, 18 Oct 2016 14:38:29 +0000 (14:38 +0000)]
runtime: copy netpoll code from Go 1.7 runtime
Reviewed-on: https://go-review.googlesource.com/31325
From-SVN: r241307
Matthew Fortune [Tue, 18 Oct 2016 14:12:58 +0000 (14:12 +0000)]
Set gcc_force_conventional_output even without LTO linker plugin
gcc/testsuite/
* lib/gcc-dg.exp: Set gcc_force_conventional_output whenever
LTO is used.
Set gcc_force_conventional_output even without LTO linker plugin
From-SVN: r241306
Bill Schmidt [Tue, 18 Oct 2016 13:35:19 +0000 (13:35 +0000)]
re PR tree-optimization/77916 (ICE in verify_gimple_in_cfg: invalid (pointer) operands to plus/minus)
2016-10-18 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR tree-optimization/77916
* gimple-ssa-strength-reduction.c (analyze_increments): Reinstate
stopgap fix, as pointers with -1 increment are still broken.
From-SVN: r241305
Ian Lance Taylor [Tue, 18 Oct 2016 13:29:37 +0000 (13:29 +0000)]
runtime: scan caller-saved registers for non-split-stack
While testing a patch on Solaris, which does not support split-stack, I
ran across a bug in the handling of caller-saved registers for the
garbage collector. For non-split-stack systems, runtime_mcall is
responsible for saving all caller-saved registers on the stack so that
the GC stack scan will see them. It does this by calling
__builtin_unwind_init and setting the g's gcnextsp field to point to the
current stack. The garbage collector then scans the stack from gcnextsp
to the top of stack.
Unfortunately, the code was setting gcnextsp to point to runtime_mcall's
argument, which meant that even though runtime_mcall was careful to
store all caller-saved registers on the stack, the GC never saw them.
This is, of course, only a problem if a value lives only in a
caller-saved register, and not anywhere else on the stack or heap. And
it is only a problem if that caller-saved register manages to make it
all the way down to runtime_mcall without being saved by any function on
the way. This is moderately unlikely but it turns out that the recent
changes to keep values on the stack when compiling the runtime package
caused it to happen for the local variable `s` in `notifyListWait` in
runtime/sema.go. That function calls goparkunlock which is simple
enough to not require all registers, and itself calls runtime_mcall. So
it was possible for `s` to be released by the GC before the goroutine
returned from goparkunlock, which eventually caused a dangling pointer
to be passed to releaseSudog.
This is not a problem on split-stack systems, which use
__splitstack_get_context, which saves a stack pointer low enough on the
stack to scan the registers saved by runtime_mcall.
Reviewed-on: https://go-review.googlesource.com/31323
From-SVN: r241304
David Edelsohn [Tue, 18 Oct 2016 13:28:16 +0000 (13:28 +0000)]
rs6000.c (rs6000_output_symbol_ref): Move storage mapping class decoration from here...
* config/rs6000/rs6000.c (rs6000_output_symbol_ref): Move storage
mapping class decoration from here...
(rs6000_xcoff_encode_section): ...to here.
(rs6000_savres_strategy) [AIX,ELFv2]: Inline FPR save and restore
if shrink-wrapping and optimizing for speed.
From-SVN: r241303
Senthil Kumar Selvaraj [Tue, 18 Oct 2016 11:58:52 +0000 (11:58 +0000)]
Return earlier if not effective_target_int32
Do early return *before* calling dg-init/torture-init. Returning
without calling dg-finish/torture-finish messes up torture-options for
subsequent tests.
gcc/testsuite/
2016-10-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
* gcc.dg/sso/sso.exp: Return early if not
effective_target_int32.
From-SVN: r241302
Jonathan Wakely [Tue, 18 Oct 2016 11:42:18 +0000 (12:42 +0100)]
Don't define uses-allocator variable templates in C++11
* include/bits/uses_allocator.h (__is_uses_allocator_constructible_v)
(__is_nothrow_uses_allocator_constructible_v): Only define for C++14
and later.
From-SVN: r241301
Richard Biener [Tue, 18 Oct 2016 11:02:24 +0000 (11:02 +0000)]
tree-vrp.c (evrp_dom_walker::before_dom_children): Handle not visited but non-executable predecessors.
2016-10-18 Richard Biener <rguenther@suse.de>
* tree-vrp.c (evrp_dom_walker::before_dom_children): Handle
not visited but non-executable predecessors. Return taken edge.
Simplify conditions and refactor propagation vs. folding step.
* gcc.dg/tree-ssa/pr20318.c: Disable EVRP.
* gcc.dg/tree-ssa/pr21001.c: Likewise.
* gcc.dg/tree-ssa/pr21090.c: Likewise.
* gcc.dg/tree-ssa/pr21294.c: Likewise.
* gcc.dg/tree-ssa/pr21563.c: Likewise.
* gcc.dg/tree-ssa/pr23744.c: Likewise.
* gcc.dg/tree-ssa/pr25382.c: Likewise.
* gcc.dg/tree-ssa/pr68431.c: Likewise.
* gcc.dg/tree-ssa/vrp03.c: Likewise.
* gcc.dg/tree-ssa/vrp06.c: Likewise.
* gcc.dg/tree-ssa/vrp07.c: Likewise.
* gcc.dg/tree-ssa/vrp09.c: Likewise.
* gcc.dg/tree-ssa/vrp19.c: Likewise.
* gcc.dg/tree-ssa/vrp20.c: Likewise.
* gcc.dg/tree-ssa/vrp92.c: Likewise.
* gcc.dg/pr68217.c: Likewise.
* gcc.dg/predict-9.c: Likewise.
* gcc.dg/tree-prof/val-prof-5.c: Adjust.
* gcc.dg/predict-1.c: Likewise.
From-SVN: r241300
Segher Boessenkool [Tue, 18 Oct 2016 08:00:00 +0000 (10:00 +0200)]
rs6000: Fix separate shrink-wrapping for TARGET_MULTIPLE
We cannot use {SAVE,REST}_MULTIPLE and separate shrink-wrapping together,
not without checking when actually emitting the prologue/epilogue that the
registers to save/restore are actually still one contiguous block up to
(and including) 31. So either:
1) We delay the decision of whether to use lmw/stmw to later;
2) We disallow shrink-wrapping separate (integer) components when those
strategies are selected; or
3) We don't use those strategies if we use separate shrink-wrapping.
This patch does 3). In the long term it may be best to do 1) instead,
it can be slightly more efficient.
This caused problems on darwin (it is the only config that uses lmw/stmw
instructions by default).
* config/rs6000/rs6000.c (rs6000_savres_strategy): Do not select
{SAVE,REST}_MULTIPLE if shrink-wrapping separate components.
(rs6000_get_separate_components): Assert we do not have those
strategies selected.
From-SVN: r241297
Richard Biener [Tue, 18 Oct 2016 07:49:32 +0000 (07:49 +0000)]
tree-ssa-propagate.h (substitute_and_fold): Adjust prototype.
2016-10-18 Richard Biener <rguenther@suse.de>
* tree-ssa-propagate.h (substitute_and_fold): Adjust prototype.
* tree-ssa-propagate.c (ssa_prop_fini): Remove final BB_VISITED
clearing.
(substitute_and_fold_dom_walker): Adjust constructor.
(substitute_and_fold_dom_walker::before_dom_children): Remove
do_dce flag and handling (always true).
(substitute_and_fold): Likewise.
* tree-vrp.c (vrp_finalize): Adjust.
(execute_early_vrp): Remove final BB_VISITED clearing.
* tree-ssa-ccp.c (ccp_finalize): Adjust.
* tree-ssa-copy.c (fini_copy_prop): Likewise.
* ira.c (ira): Call clear_bb_flags.
From-SVN: r241296
Richard Biener [Tue, 18 Oct 2016 07:25:40 +0000 (07:25 +0000)]
genmatch.c (dt_operand::gen_gimple_expr): Use get_name to get at the operand to look at with TREE_OPERAND for generic...
2016-10-18 Richard Biener <rguenther@suse.de>
* genmatch.c (dt_operand::gen_gimple_expr): Use get_name to
get at the operand to look at with TREE_OPERAND for generic
sub-nodes.
From-SVN: r241295
Jerry DeLisle [Tue, 18 Oct 2016 04:14:25 +0000 (04:14 +0000)]
re PR fortran/48298 ([F03] User-Defined Derived-Type IO (DTIO))
2016-10-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/48298
* io/io.h: Move size_used from dtp to unit structure. Add bool
has_size to unit structure.
* read.c (read_x): Use has_size and size_used.
* transfer.c (read_sf_internal,read_sf,read_block_form,
read_block_form4): Likewise.
(data_transfer_init): If parent, initialize the size variables.
(finalize_transfer): Set the size variable using size_used in
gfc_unit. (write_block): Delete bogus/dead code.
* gfortran.dg/dtio_17.f90: New test.
From-SVN: r241294
David Malcolm [Tue, 18 Oct 2016 00:19:17 +0000 (00:19 +0000)]
read-md.c: Move various state to within class rtx_reader
gcc/ChangeLog:
* genattrtab.c (attr_string): Use rtx_reader_ptr for call to
copy_md_ptr_loc.
(gen_attr): Use rtx_reader_ptr for lookup_enum_type call.
(write_test_expr): Use rtx_reader_ptr for calls to
fprint_c_condition.
(write_attr_value): Likewise.
* genconditions.c (write_one_condition): Use rtx_reader_ptr for
call to print_md_ptr_loc.
(write_one_condition): Likewise for calls to print_c_condition.
* genconstants.c: Include "statistics.h" and "vec.h".
(main): Update for conversion to member functions.
* genemit.c (emit_c_code): Use rtx_reader_ptr for
call to print_md_ptr_loc.
* genenums.c: Include "statistics.h" and "vec.h".
(main): Update for conversion of traverse_enum_types to a method.
* genmddeps.c: Include "statistics.h" and "vec.h".
* genoutput.c (process_template): Use rtx_reader_ptr for call to
print_md_ptr_loc.
* genpreds.c (write_predicate_subfunction): Likewise.
(write_predicate_expr): Likewise for calls to print_c_condition.
* genrecog.c (print_test): Likewise.
* gensupport.c (process_rtx): Likewise for calls to
copy_md_ptr_loc and join_c_conditions.
(alter_test_for_insn): Likewise for call to join_c_conditions.
(process_substs_on_one_elem): Likewise.
(gen_mnemonic_setattr): Update for move of string_obstack to a
field of rtx_reader.
(mnemonic_htab_callback): Likewise. Fix formatting.
(gen_mnemonic_attr): Likewise.
* gentarget-def.c (def_target_insn): Use rtx_reader_ptr for calls
to print_c_condition.
* read-md.c: Include "statistics.h" and "vec.h".
(string_obstack): Convert this global to field "m_string_obstack"
of class rtx_reader.
(ptr_locs): Likewise, as "m_ptr_locs".
(ptr_loc_obstack): Likewise, as "m_ptr_loc_obstack".
(joined_conditions): Likewise, as "m_joined_conditions".
(joined_conditions_obstack): Likewise, as "m_joined_conditions_obstack".
(md_constants): Likewise, as "m_md_constants".
(enum_types): Likewise, as "m_enum_types".
(set_md_ptr_loc): Convert to...
(rtx_reader::set_md_ptr_loc): ...member function.
(get_md_ptr_loc): Convert to...
(rtx_reader::get_md_ptr_loc): ...member function.
(copy_md_ptr_loc): Convert to...
(rtx_reader::copy_md_ptr_loc): ...member function.
(fprint_md_ptr_loc): Convert to...
(rtx_reader::fprint_md_ptr_loc): ...member function.
(print_md_ptr_loc): Convert to...
(rtx_reader::print_md_ptr_loc): ...member function.
(join_c_conditions): Convert to...
(rtx_reader::join_c_conditions): ...member function.
(fprint_c_condition): Convert to...
(rtx_reader::fprint_c_condition): ...member function.
(print_c_condition): Convert to...
(rtx_reader::print_c_condition): ...member function.
(read_name): Convert to...
(rtx_reader::read_name): ...member function.
(read_escape): Convert to...
(rtx_reader::read_escape): ...member function.
(read_quoted_string): Convert to...
(rtx_reader::read_quoted_string): ...member function.
(read_braced_string): Convert to...
(rtx_reader::read_braced_string): ...member function.
(read_string): Convert to...
(rtx_reader::read_string): ...member function.
(read_skip_construct): Convert to...
(rtx_reader::read_skip_construct): ...member function.
(handle_constants): Convert to...
(rtx_reader::handle_constants): ...member function.
(traverse_md_constants): Convert to...
(rtx_reader::traverse_md_constants): ...member function.
(handle_enum): Convert to...
(rtx_reader::handle_enum): ...member function.
(lookup_enum_type): Convert to...
(rtx_reader::lookup_enum_type): ...member function.
(traverse_enum_types): Convert to...
(rtx_reader::traverse_enum_types): ...member function.
(rtx_reader::rtx_reader): Move initializations
of various former global data from rtx_reader::read_md_files to
here, as fields, along with the call to unlock_std_streams.
(rtx_reader::~rtx_reader): Clean up m_base_dir, and clean up
the new fields.
(rtx_reader::read_md_files): Move initializations of various
global data from here to the ctor.
* read-md.h (read_name): Convert to...
(rtx_reader::read_name): ...member function.
(rtx_reader::read_escape): New method decl.
(read_quoted_string): Convert to...
(rtx_reader::read_quoted_string): ...member function.
(rtx_reader::read_braced_string): New method decl.
(read_string): Convert to...
(rtx_reader::read_string): ...member function.
(rtx_reader::read_skip_construct): New method decl.
(rtx_reader::set_md_ptr_loc): New method decl.
(rtx_reader::get_md_ptr_loc): New method decl.
(copy_md_ptr_loc): Convert to...
(rtx_reader::copy_md_ptr_loc): ...member function.
(fprint_md_ptr_loc): Convert to...
(rtx_reader::fprint_md_ptr_loc): ...member function.
(print_md_ptr_loc): Convert to...
(rtx_reader::print_md_ptr_loc): ...member function.
(rtx_reader::lookup_enum_type): New method decl.
(rtx_reader::traverse_enum_types): New method decl.
(rtx_reader::handle_constants): New method decl.
(traverse_md_constants): Convert to...
(rtx_reader::traverse_md_constants): ...member function.
(rtx_reader::handle_enum): New method decl.
(rtx_reader::join_c_conditions): New method decl.
(fprint_c_condition): Convert to...
(rtx_reader::fprint_c_condition): ...member function.
(print_c_condition): Convert to...
(rtx_reader::print_c_condition): ...member function.
(rtx_reader::apply_iterator_to_string): New method decl.
(rtx_reader::copy_rtx_for_iterators): New method decl.
(rtx_reader::read_conditions): New method decl.
(rtx_reader::record_potential_iterator_use): New method decl.
(rtx_reader::read_mapping): New method decl.
(rtx_reader::read_rtx): New method decl.
(rtx_reader::read_rtx_code): New method decl.
(rtx_reader::read_rtx_operand): New method decl.
(rtx_reader::read_nested_rtx): New method decl.
(rtx_reader::read_rtx_variadic): New method decl.
(rtx_reader::get_string_obstack): New method.
(rtx_reader::get_md_constants): New method.
(string_obstack): Convert global variable decl to...
(rtx_reader::m_string_obstack): ...this new field.
(rtx_reader::m_ptr_locs): New field.
(rtx_reader::m_ptr_loc_obstack): New field.
(rtx_reader::m_joined_conditions): New field.
(rtx_reader::m_joined_conditions_obstack): New field.
(rtx_reader::m_md_constants): New field.
(rtx_reader::m_enum_types): New field.
* read-rtl.c (apply_iterator_to_string): Convert to...
(rtx_reader::apply_iterator_to_string): ...member function.
(copy_rtx_for_iterators): Convert to...
(rtx_reader::copy_rtx_for_iterators): ...member function.
(add_condition_to_string): Use rtx_reader_ptr for
calls join_c_conditions.
(apply_iterators): Use rtx_reader_ptr for calls to
join_c_conditions and copy_rtx_for_iterators.
(read_conditions): Convert to...
(rtx_reader::read_conditions): ...member function.
(record_potential_iterator_use): Convert to...
(rtx_reader::record_potential_iterator_use): ...member function.
(read_mapping): Convert to...
(rtx_reader::read_mapping): ...member function.
(read_subst_mapping): Use rtx_reader_ptr for read_string call.
(read_rtx): Convert to...
(rtx_reader::read_rtx): ...member function.
(read_rtx_code): Convert to...
(rtx_reader::read_rtx_code): ...member function.
(read_rtx_operand): Convert to...
(rtx_reader::read_rtx_operand): ...member function. Update for move
of string_obstack to a field.
(read_nested_rtx): Convert to..
(rtx_reader::read_nested_rtx): ...member function.
(read_rtx_variadic): Convert to..
(rtx_reader::read_rtx_variadic): ...member function.
From-SVN: r241293
GCC Administrator [Tue, 18 Oct 2016 00:16:14 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r241292
Kugan Vivekanandarajah [Mon, 17 Oct 2016 23:39:55 +0000 (23:39 +0000)]
Use get_ptr_nonnull in tree-vrp
Use get_ptr_nonnull in tree-vrp
gcc/testsuite/ChangeLog:
2016-10-18 Kugan Vivekanandarajah <kuganv@linaro.org>
* gcc.dg/ipa/vrp4.c: Adjust testcase.
gcc/ChangeLog:
2016-10-18 Kugan Vivekanandarajah <kuganv@linaro.org>
* tree-vrp.c (get_value_range): Check get_ptr_nonnull.
From-SVN: r241289
Kugan Vivekanandarajah [Mon, 17 Oct 2016 23:37:57 +0000 (23:37 +0000)]
Use get/set_ptr_nonnull in ipa-vrp
Use get/set_ptr_nonnull in ipa-vrp
gcc/ChangeLog:
2016-10-18 Kugan Vivekanandarajah <kuganv@linaro.org>
* ipa-prop.c (ipa_compute_jump_functions_for_edge): Set value range
for pointer type too.
(ipcp_update_vr): set_ptr_nonnull for pointer.
gcc/testsuite/ChangeLog:
2016-10-18 Kugan Vivekanandarajah <kuganv@linaro.org>
* gcc.dg/ipa/vrp4.c: New test.
From-SVN: r241288
Kugan Vivekanandarajah [Mon, 17 Oct 2016 23:35:48 +0000 (23:35 +0000)]
Set nonnull attribute to ptr_info_def based on VRP
Set nonnull attribute to ptr_info_def based on VRP
gcc/ChangeLog:
2016-10-18 Kugan Vivekanandarajah <kuganv@linaro.org>
* tree-ssa-alias.h (pt_solution_singleton_or_null_p): Renamed from
pt_solution_singleton_p.
* tree-ssa-ccp.c (fold_builtin_alloca_with_align): Use renamed
pt_solution_singleton_or_null_p from pt_solution_singleton_p.
* tree-ssa-structalias.c (find_what_p_points_to): Preserve
pointer nonnull computed by VRP.
Also Conservatively set pt.null to 1.
(pt_solution_reset): Conservatively set pt.null to 1.
(pt_solution_singleton_or_null_p): Renamed from
pt_solution_singleton_p.
* tree-ssanames.h (set_ptr_nonnull): Declare.
(get_ptr_nonnull): Likewise.
* tree-ssanames.c (set_ptr_nonnull): New.
(get_ptr_nonnull): Likewise.
* tree-vrp.c (vrp_finalize): Set ptr that are nonnull.
(evrp_dom_walker::before_dom_children): Likewise.
gcc/testsuite/ChangeLog:
2016-10-18 Kugan Vivekanandarajah <kuganv@linaro.org>
* gcc.dg/torture/pr39074-2.c: Adjust testcase.
* gcc.dg/torture/pr39074.c: Likewise.
From-SVN: r241287
Eric Botcazou [Mon, 17 Oct 2016 22:34:53 +0000 (22:34 +0000)]
i386.h (TARGET_CUSTOM_FUNCTION_DESCRIPTORS): Move to...
* config/i386/i386.h (TARGET_CUSTOM_FUNCTION_DESCRIPTORS): Move to...
* config/i386/i386.c (TARGET_CUSTOM_FUNCTION_DESCRIPTORS): ...here.
* config/ia64/ia64.h (TARGET_CUSTOM_FUNCTION_DESCRIPTORS): Move to...
* config/ia64/ia64.c (TARGET_CUSTOM_FUNCTION_DESCRIPTORS): ...here.
* config/rs6000/rs6000.h (TARGET_CUSTOM_FUNCTION_DESCRIPTORS): Move to.
* config/rs6000/rs6000.c (TARGET_CUSTOM_FUNCTION_DESCRIPTORS): ...here.
(rs6000_option_override_internal): Clear it if ABI_AIX.
* config/sparc/sparc.h (TARGET_CUSTOM_FUNCTION_DESCRIPTORS): Move to...
* config/sparc/sparc.c (TARGET_CUSTOM_FUNCTION_DESCRIPTORS): ... here.
From-SVN: r241285
Bill Schmidt [Mon, 17 Oct 2016 22:31:16 +0000 (22:31 +0000)]
gimple-ssa-strength-reduction.c (record_increment): Remove garbage comment.
2016-10-17 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* gimple-ssa-strength-reduction.c (record_increment): Remove
garbage comment.
From-SVN: r241284
Paolo Carlini [Mon, 17 Oct 2016 22:24:50 +0000 (22:24 +0000)]
12790-1.cc: Remove 'test' variables.
2016-10-17 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/27_io/basic_filebuf/close/12790-1.cc: Remove 'test'
variables.
* testsuite/27_io/basic_filebuf/close/char/1.cc: Likewise.
* testsuite/27_io/basic_filebuf/close/char/12790-1.cc: Likewise.
* testsuite/27_io/basic_filebuf/close/char/12790-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/close/char/12790-3.cc: Likewise.
* testsuite/27_io/basic_filebuf/close/char/12790-4.cc: Likewise.
* testsuite/27_io/basic_filebuf/close/char/2.cc: Likewise.
* testsuite/27_io/basic_filebuf/close/char/3.cc: Likewise.
* testsuite/27_io/basic_filebuf/close/char/4.cc: Likewise.
* testsuite/27_io/basic_filebuf/close/char/5.cc: Likewise.
* testsuite/27_io/basic_filebuf/close/wchar_t/12790-1.cc: Likewise.
* testsuite/27_io/basic_filebuf/close/wchar_t/12790-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc: Likewise.
* testsuite/27_io/basic_filebuf/close/wchar_t/12790-4.cc: Likewise.
* testsuite/27_io/basic_filebuf/cons/2020.cc: Likewise.
* testsuite/27_io/basic_filebuf/cons/char/1.cc: Likewise.
* testsuite/27_io/basic_filebuf/cons/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/12206.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/char/13007.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/char/2.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/char/3.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: Likewise.
* testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
* testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc: Likewise.
* testsuite/27_io/basic_filebuf/is_open/char/1.cc: Likewise.
* testsuite/27_io/basic_filebuf/open/12790-1.cc: Likewise.
* testsuite/27_io/basic_filebuf/open/char/1.cc: Likewise.
* testsuite/27_io/basic_filebuf/open/char/2.cc: Likewise.
* testsuite/27_io/basic_filebuf/open/char/3.cc: Likewise.
* testsuite/27_io/basic_filebuf/open/char/4.cc: Likewise.
* testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
* testsuite/27_io/basic_filebuf/overflow/char/1.cc: Likewise.
* testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Likewise.
* testsuite/27_io/basic_filebuf/overflow/char/2.cc: Likewise.
* testsuite/27_io/basic_filebuf/overflow/char/3599.cc: Likewise.
* testsuite/27_io/basic_filebuf/overflow/char/9169.cc: Likewise.
* testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/overflow/char/9988.cc: Likewise.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: Likewise.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: Likewise.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: Likewise.
* testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: Likewise.
* testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: Likewise.
* testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Likewise.
* testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Likewise.
* testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: Likewise.
* testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: Likewise.
* testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: Likewise.
* testsuite/27_io/basic_filebuf/sbumpc/char/9825.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/45628-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/char/11543.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/char/12232.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/char/4.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/char/45628-1.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-1.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-3.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-4.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc:
Likewise.
* testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekpos/char/12790-3.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-1.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-3.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-4.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc:
Likewise.
* testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Likewise.
* testsuite/27_io/basic_filebuf/setbuf/char/12875-1.cc: Likewise.
* testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc
* testsuite/27_io/basic_filebuf/setbuf/char/2.cc: Likewise.
* testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Likewise.
* testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: Likewise.
* testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Likewise.
* testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Likewise.
* testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: Likewise.
* testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: Likewise.
* testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: Likewise.
* testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Likewise.
* testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Likewise.
* testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Likewise.
* testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Likewise.
* testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Likewise.
* testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: Likewise.
* testsuite/27_io/basic_filebuf/sgetn/char/3.cc: Likewise.
* testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Likewise.
* testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: Likewise.
* testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Likewise.
* testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Likewise.
* testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: Likewise.
* testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: Likewise.
* testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: Likewise.
* testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: Likewise.
* testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Likewise.
* testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Likewise.
* testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: Likewise.
* testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Likewise.
* testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: Likewise.
* testsuite/27_io/basic_filebuf/sputbackc/char/9425.cc: Likewise.
* testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: Likewise.
* testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Likewise.
* testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Likewise.
* testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: Likewise.
* testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: Likewise.
* testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: Likewise.
* testsuite/27_io/basic_filebuf/sputc/char/59427.cc: Likewise.
* testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: Likewise.
* testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Likewise.
* testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Likewise.
* testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: Likewise.
* testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: Likewise.
* testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: Likewise.
* testsuite/27_io/basic_filebuf/sputn/char/59427.cc: Likewise.
* testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Likewise.
* testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Likewise.
* testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: Likewise.
* testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Likewise.
* testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Likewise.
* testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: Likewise.
* testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: Likewise.
* testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: Likewise.
* testsuite/27_io/basic_filebuf/sync/char/1057.cc: Likewise.
* testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/char/1.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/char/2.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/char/3.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/char/45841.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/char/9027.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-1.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/11603.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/45841.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: Likewise.
* testsuite/27_io/basic_fstream/cons/1.cc: Likewise.
* testsuite/27_io/basic_fstream/rdbuf/char/2832.cc: Likewise.
* testsuite/27_io/basic_ifstream/cons/2020.cc: Likewise.
* testsuite/27_io/basic_ifstream/cons/char/1.cc: Likewise.
* testsuite/27_io/basic_ifstream/open/char/1.cc: Likewise.
* testsuite/27_io/basic_ifstream/rdbuf/char/2832.cc: Likewise.
* testsuite/27_io/basic_ios/clear/char/1.cc: Likewise.
* testsuite/27_io/basic_ios/cons/2020.cc: Likewise.
* testsuite/27_io/basic_ios/cons/char/1.cc: Likewise.
* testsuite/27_io/basic_ios/cons/char/2.cc: Likewise.
* testsuite/27_io/basic_ios/cons/char/3.cc: Likewise.
* testsuite/27_io/basic_ios/copyfmt/char/1.cc: Likewise.
* testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise.
* testsuite/27_io/basic_ios/exceptions/char/1.cc: Likewise.
* testsuite/27_io/basic_ios/imbue/14072.cc: Likewise.
* testsuite/27_io/basic_ios/locales/char/1.cc: Likewise.
* testsuite/27_io/basic_iostream/cons/2020.cc: Likewise.
* testsuite/27_io/basic_istream/cons/3.cc: Likewise.
* testsuite/27_io/basic_istream/exceptions/char/9561.cc: Likewise.
* testsuite/27_io/basic_istream/exceptions/wchar_t/9561.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/dr696.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/
exceptions_badbit_throw.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/
exceptions_failbit.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/
exceptions_failbit_throw.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/pod/3983-1.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/01.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/02.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/03.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/06.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/07.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/08.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/09.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/10.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/11.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/12.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/13.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/
wchar_t/9555-ia.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
dr696.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
exceptions_badbit_throw.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
exceptions_failbit.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
exceptions_failbit_throw.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_character/char/1.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_character/char/11095-i.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_character/char/2.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_character/char/3.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_character/char/4.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_character/wchar_t/
11095-i.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_character/wchar_t/2.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_character/wchar_t/3.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_character/wchar_t/
9555-ic.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_other/char/1.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_other/char/2.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_other/char/26181.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_other/char/3.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_other/char/9318-in.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_other/char/9424-in.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_other/char/
error_failbit.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_other/char/
exceptions_badbit_throw.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_other/char/
exceptions_failbit_throw.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_other/char/
exceptions_null.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_other/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_other/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_other/wchar_t/26181.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_other/wchar_t/3.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_other/wchar_t/9318-in.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_other/wchar_t/9424-in.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_other/wchar_t/9555-io.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_other/wchar_t/
error_failbit.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_other/wchar_t/
exceptions_badbit_throw.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_other/wchar_t/
exceptions_failbit_throw.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_other/wchar_t/
exceptions_null.cc: Likewise.
* testsuite/27_io/basic_istream/get/char/1.cc: Likewise.
* testsuite/27_io/basic_istream/get/char/2.cc: Likewise.
* testsuite/27_io/basic_istream/get/char/3.cc: Likewise.
* testsuite/27_io/basic_istream/get/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_istream/get/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_istream/get/wchar_t/3.cc: Likewise.
* testsuite/27_io/basic_istream/getline/char/1.cc: Likewise.
* testsuite/27_io/basic_istream/getline/char/2.cc: Likewise.
* testsuite/27_io/basic_istream/getline/char/3.cc: Likewise.
* testsuite/27_io/basic_istream/getline/char/4.cc: Likewise.
* testsuite/27_io/basic_istream/getline/char/5.cc: Likewise.
* testsuite/27_io/basic_istream/getline/char/6.cc: Likewise.
* testsuite/27_io/basic_istream/getline/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_istream/getline/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_istream/getline/wchar_t/3.cc: Likewise.
* testsuite/27_io/basic_istream/getline/wchar_t/4.cc: Likewise.
* testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Likewise.
* testsuite/27_io/basic_istream/getline/wchar_t/6.cc: Likewise.
* testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise.
* testsuite/27_io/basic_istream/ignore/char/2.cc: Likewise.
* testsuite/27_io/basic_istream/ignore/char/3.cc: Likewise.
* testsuite/27_io/basic_istream/ignore/char/6360.cc: Likewise.
* testsuite/27_io/basic_istream/ignore/char/7220.cc: Likewise.
* testsuite/27_io/basic_istream/ignore/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_istream/ignore/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_istream/ignore/wchar_t/3.cc: Likewise.
* testsuite/27_io/basic_istream/ignore/wchar_t/6360.cc: Likewise.
* testsuite/27_io/basic_istream/ignore/wchar_t/7220.cc: Likewise.
* testsuite/27_io/basic_istream/peek/char/1.cc: Likewise.
* testsuite/27_io/basic_istream/peek/char/12296.cc: Likewise.
* testsuite/27_io/basic_istream/peek/char/6414.cc: Likewise.
* testsuite/27_io/basic_istream/peek/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_istream/peek/wchar_t/12296.cc: Likewise.
* testsuite/27_io/basic_istream/peek/wchar_t/6414.cc: Likewise.
* testsuite/27_io/basic_istream/putback/char/1.cc: Likewise.
* testsuite/27_io/basic_istream/putback/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_istream/read/char/1.cc: Likewise.
* testsuite/27_io/basic_istream/read/char/2.cc: Likewise.
* testsuite/27_io/basic_istream/read/char/3.cc: Likewise.
* testsuite/27_io/basic_istream/read/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_istream/read/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_istream/read/wchar_t/3.cc: Likewise.
* testsuite/27_io/basic_istream/readsome/char/6746-1.cc: Likewise.
* testsuite/27_io/basic_istream/readsome/char/6746-2.cc: Likewise.
* testsuite/27_io/basic_istream/readsome/char/8258.cc: Likewise.
* testsuite/27_io/basic_istream/readsome/wchar_t/6746-1.cc: Likewise.
* testsuite/27_io/basic_istream/readsome/wchar_t/6746-2.cc: Likewise.
* testsuite/27_io/basic_istream/readsome/wchar_t/8258.cc: Likewise.
* testsuite/27_io/basic_istream/seekg/char/2.cc: Likewise.
* testsuite/27_io/basic_istream/seekg/char/26211.cc: Likewise.
* testsuite/27_io/basic_istream/seekg/char/8348-1.cc: Likewise.
* testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise.
* testsuite/27_io/basic_istream/seekg/char/
exceptions_badbit_throw.cc: Likewise.
* testsuite/27_io/basic_istream/seekg/char/fstream.cc: Likewise.
* testsuite/27_io/basic_istream/seekg/char/sstream.cc: Likewise.
* testsuite/27_io/basic_istream/seekg/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_istream/seekg/wchar_t/26211.cc: Likewise.
* testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc: Likewise.
* testsuite/27_io/basic_istream/seekg/wchar_t/8348-2.cc: Likewise.
* testsuite/27_io/basic_istream/seekg/wchar_t/
exceptions_badbit_throw.cc: Likewise.
* testsuite/27_io/basic_istream/seekg/wchar_t/fstream.cc: Likewise.
* testsuite/27_io/basic_istream/seekg/wchar_t/sstream.cc: Likewise.
* testsuite/27_io/basic_istream/sentry/char/1.cc: Likewise.
* testsuite/27_io/basic_istream/sentry/char/2.cc: Likewise.
* testsuite/27_io/basic_istream/sentry/char/3.cc: Likewise.
* testsuite/27_io/basic_istream/sentry/pod/1.cc: Likewise.
* testsuite/27_io/basic_istream/sentry/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_istream/sentry/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_istream/sentry/wchar_t/3.cc: Likewise.
* testsuite/27_io/basic_istream/tellg/char/1.cc: Likewise.
* testsuite/27_io/basic_istream/tellg/char/2.cc: Likewise.
* testsuite/27_io/basic_istream/tellg/char/26211.cc: Likewise.
* testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise.
* testsuite/27_io/basic_istream/tellg/char/
exceptions_badbit_throw.cc: Likewise.
* testsuite/27_io/basic_istream/tellg/char/fstream.cc: Likewise.
* testsuite/27_io/basic_istream/tellg/char/sstream.cc: Likewise.
* testsuite/27_io/basic_istream/tellg/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_istream/tellg/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_istream/tellg/wchar_t/26211.cc: Likewise.
* testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc: Likewise.
* testsuite/27_io/basic_istream/tellg/wchar_t/
exceptions_badbit_throw.cc: Likewise.
* testsuite/27_io/basic_istream/tellg/wchar_t/fstream.cc: Likewise.
* testsuite/27_io/basic_istream/tellg/wchar_t/sstream.cc: Likewise.
* testsuite/27_io/basic_istream/ws/char/1.cc: Likewise.
* testsuite/27_io/basic_istream/ws/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_istringstream/cons/2020.cc: Likewise.
* testsuite/27_io/basic_istringstream/rdbuf/char/2832.cc: Likewise.
* testsuite/27_io/basic_istringstream/rdbuf/wchar_t/2832.cc: Likewise.
* testsuite/27_io/basic_istringstream/str/char/1.cc: Likewise.
* testsuite/27_io/basic_istringstream/str/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_ofstream/cons/2020.cc: Likewise.
* testsuite/27_io/basic_ofstream/cons/char/1.cc: Likewise.
* testsuite/27_io/basic_ofstream/open/char/1.cc: Likewise.
* testsuite/27_io/basic_ofstream/rdbuf/char/2832.cc: Likewise.
* testsuite/27_io/basic_ostream/cons/2020.cc: Likewise.
* testsuite/27_io/basic_ostream/cons/char/9827.cc: Likewise.
* testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: Likewise.
* testsuite/27_io/basic_ostream/endl/char/1.cc: Likewise.
* testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise.
* testsuite/27_io/basic_ostream/ends/char/2.cc: Likewise.
* testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise.
* testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise.
* testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
* testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise.
* testsuite/27_io/basic_ostream/flush/char/exceptions_badbit_throw.cc:
Likewise.
* testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_ostream/flush/wchar_t/
exceptions_badbit_throw.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/3.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/4.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/4402.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/5.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/6.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/7.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/
exceptions_badbit_throw.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/
exceptions_failbit_throw.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/pod/23875.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/2.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/3.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4402.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/5.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/6.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/7.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/
9555-oa.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/
exceptions_badbit_throw.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/
exceptions_failbit_throw.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_character/char/11095-oa.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_character/char/11095-ob.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_character/char/11095-oc.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_character/char/2.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_character/char/28277-3.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_character/char/28277-4.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_character/char/3.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_character/char/4.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_character/char/5.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_character/char/6.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_character/char/8.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/
11095-od.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/
11095-oe.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/
11095-of.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/2.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/
28277-1.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/
28277-2.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/
28277-3.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/
28277-4.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/3.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/4.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/5.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/6.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/7.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/8.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/
9555-oc.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/char/1.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/char/3.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/char/5.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/char/9318-out.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_other/char/9424-out.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_other/char/
error_failbit.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/char/
exceptions_badbit_throw.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/char/
exceptions_failbit_throw.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/char/
exceptions_null.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/wchar_t/3.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/wchar_t/4.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/wchar_t/5.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/wchar_t/
9318-out.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/wchar_t/
9424-out.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/wchar_t/
9555-oo.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/wchar_t/
error_code.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/wchar_t/
error_failbit.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/wchar_t/
exceptions_badbit_throw.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/wchar_t/
exceptions_failbit_throw.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/wchar_t/
exceptions_null.cc: Likewise.
* testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
* testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_ostream/seekp/char/2346-fstream.cc: Likewise.
* testsuite/27_io/basic_ostream/seekp/char/2346-sstream.cc: Likewise.
* testsuite/27_io/basic_ostream/seekp/char/
exceptions_badbit_throw.cc: Likewise.
* testsuite/27_io/basic_ostream/seekp/wchar_t/2346-fstream.cc: Likewise.
* testsuite/27_io/basic_ostream/seekp/wchar_t/2346-sstream.cc: Likewise.
* testsuite/27_io/basic_ostream/seekp/wchar_t/
exceptions_badbit_throw.cc: Likewise.
* testsuite/27_io/basic_ostream/sentry/char/1.cc: Likewise.
* testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise.
* testsuite/27_io/basic_ostream/sentry/pod/1.cc: Likewise.
* testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_ostream/tellp/char/1.cc: Likewise.
* testsuite/27_io/basic_ostream/tellp/char/2.cc: Likewise.
* testsuite/27_io/basic_ostream/tellp/char/
exceptions_badbit_throw.cc: Likewise.
* testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_ostream/tellp/wchar_t/
exceptions_badbit_throw.cc: Likewise.
* testsuite/27_io/basic_ostream/write/char/1.cc: Likewise.
* testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_ostringstream/cons/2020.cc: Likewise.
* testsuite/27_io/basic_ostringstream/cons/char/3.cc: Likewise.
* testsuite/27_io/basic_ostringstream/cons/wchar_t/3.cc: Likewise.
* testsuite/27_io/basic_ostringstream/rdbuf/char/2832.cc: Likewise.
* testsuite/27_io/basic_ostringstream/rdbuf/wchar_t/2832.cc: Likewise.
* testsuite/27_io/basic_ostringstream/str/char/1.cc: Likewise.
* testsuite/27_io/basic_ostringstream/str/char/2.cc: Likewise.
* testsuite/27_io/basic_ostringstream/str/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_ostringstream/str/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_streambuf/cons/2020.cc: Likewise.
* testsuite/27_io/basic_streambuf/cons/57394.cc: Likewise.
* testsuite/27_io/basic_streambuf/cons/char/1.cc: Likewise.
* testsuite/27_io/basic_streambuf/cons/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: Likewise.
* testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: Likewise.
* testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Likewise.
* testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: Likewise.
* testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: Likewise.
* testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc: Likewise.
* testsuite/27_io/basic_streambuf/in_avail/char/1.cc: Likewise.
* testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
* testsuite/27_io/basic_streambuf/overflow/char/2.cc: Likewise.
* testsuite/27_io/basic_streambuf/overflow/char/3599.cc: Likewise.
* testsuite/27_io/basic_streambuf/overflow/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_streambuf/overflow/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_streambuf/overflow/wchar_t/3599.cc: Likewise.
* testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
* testsuite/27_io/basic_streambuf/sgetc/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
* testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_streambuf/sputbackc/char/9538.cc: Likewise.
* testsuite/27_io/basic_streambuf/sputbackc/wchar_t/9538.cc: Likewise.
* testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
* testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_streambuf/sync/char/1057.cc: Likewise.
* testsuite/27_io/basic_streambuf/sync/wchar_t/1057.cc: Likewise.
* testsuite/27_io/basic_stringbuf/cons/2020.cc: Likewise.
* testsuite/27_io/basic_stringbuf/cons/char/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/cons/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/imbue/char/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Likewise.
* testsuite/27_io/basic_stringbuf/imbue/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc: Likewise.
* testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/overflow/char/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/overflow/char/2.cc: Likewise.
* testsuite/27_io/basic_stringbuf/overflow/char/26250.cc: Likewise.
* testsuite/27_io/basic_stringbuf/overflow/char/3599.cc: Likewise.
* testsuite/27_io/basic_stringbuf/overflow/char/9988.cc: Likewise.
* testsuite/27_io/basic_stringbuf/overflow/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/overflow/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_stringbuf/overflow/wchar_t/26250.cc: Likewise.
* testsuite/27_io/basic_stringbuf/overflow/wchar_t/3599.cc: Likewise.
* testsuite/27_io/basic_stringbuf/overflow/wchar_t/9988.cc: Likewise.
* testsuite/27_io/basic_stringbuf/pbackfail/char/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/pbackfail/char/2.cc: Likewise.
* testsuite/27_io/basic_stringbuf/pbackfail/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/pbackfail/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_stringbuf/sbumpc/char/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/sbumpc/char/9825.cc: Likewise.
* testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/9825.cc: Likewise.
* testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/seekoff/char/10975.cc: Likewise.
* testsuite/27_io/basic_stringbuf/seekoff/char/16956.cc: Likewise.
* testsuite/27_io/basic_stringbuf/seekoff/char/2.cc: Likewise.
* testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/seekoff/wchar_t/10975.cc: Likewise.
* testsuite/27_io/basic_stringbuf/seekoff/wchar_t/16956.cc: Likewise.
* testsuite/27_io/basic_stringbuf/seekoff/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/seekpos/char/2.cc: Likewise.
* testsuite/27_io/basic_stringbuf/seekpos/char/29354.cc: Likewise.
* testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Likewise.
* testsuite/27_io/basic_stringbuf/seekpos/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/seekpos/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_stringbuf/seekpos/wchar_t/29354.cc: Likewise.
* testsuite/27_io/basic_stringbuf/seekpos/wchar_t/3.cc: Likewise.
* testsuite/27_io/basic_stringbuf/setbuf/char/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/setbuf/char/2.cc: Likewise.
* testsuite/27_io/basic_stringbuf/setbuf/char/3.cc: Likewise.
* testsuite/27_io/basic_stringbuf/setbuf/char/4.cc: Likewise.
* testsuite/27_io/basic_stringbuf/setbuf/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/setbuf/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_stringbuf/setbuf/wchar_t/3.cc: Likewise.
* testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Likewise.
* testsuite/27_io/basic_stringbuf/sgetc/char/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/sgetn/char/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/snextc/char/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/sputbackc/char/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/sputbackc/char/9425.cc: Likewise.
* testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/9425.cc: Likewise.
* testsuite/27_io/basic_stringbuf/sputc/char/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/sputc/char/9404-1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/sputc/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/sputc/wchar_t/9404-1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/sputn/char/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/sputn/char/9404-2.cc: Likewise.
* testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/sputn/wchar_t/9404-2.cc: Likewise.
* testsuite/27_io/basic_stringbuf/str/char/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/str/char/2.cc: Likewise.
* testsuite/27_io/basic_stringbuf/str/char/3.cc: Likewise.
* testsuite/27_io/basic_stringbuf/str/char/3955.cc: Likewise.
* testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/str/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_stringbuf/str/wchar_t/3.cc: Likewise.
* testsuite/27_io/basic_stringbuf/str/wchar_t/3955.cc: Likewise.
* testsuite/27_io/basic_stringbuf/sungetc/char/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/sync/char/1057.cc: Likewise.
* testsuite/27_io/basic_stringbuf/sync/wchar_t/1057.cc: Likewise.
* testsuite/27_io/basic_stringstream/cons/2020.cc: Likewise.
* testsuite/27_io/basic_stringstream/rdbuf/char/2832.cc: Likewise.
* testsuite/27_io/basic_stringstream/rdbuf/wchar_t/2832.cc: Likewise.
* testsuite/27_io/basic_stringstream/str/char/1.cc: Likewise.
* testsuite/27_io/basic_stringstream/str/char/2.cc: Likewise.
* testsuite/27_io/basic_stringstream/str/char/3.cc: Likewise.
* testsuite/27_io/basic_stringstream/str/char/4.cc: Likewise.
* testsuite/27_io/basic_stringstream/str/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_stringstream/str/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_stringstream/str/wchar_t/3.cc: Likewise.
* testsuite/27_io/basic_stringstream/str/wchar_t/4.cc: Likewise.
* testsuite/27_io/fpos/11450.cc: Likewise.
* testsuite/27_io/fpos/14252.cc: Likewise.
* testsuite/27_io/fpos/14320-1.cc: Likewise.
* testsuite/27_io/fpos/14320-2.cc: Likewise.
* testsuite/27_io/fpos/14320-3.cc: Likewise.
* testsuite/27_io/fpos/14320-4.cc: Likewise.
* testsuite/27_io/fpos/14320-5.cc: Likewise.
* testsuite/27_io/fpos/14775.cc: Likewise.
* testsuite/27_io/fpos/mbstate_t/1.cc: Likewise.
* testsuite/27_io/fpos/mbstate_t/12065.cc: Likewise.
* testsuite/27_io/fpos/mbstate_t/2.cc: Likewise.
* testsuite/27_io/fpos/mbstate_t/3.cc: Likewise.
* testsuite/27_io/ios_base/callbacks/1.cc: Likewise.
* testsuite/27_io/ios_base/failure/what-1.cc: Likewise.
* testsuite/27_io/ios_base/failure/what-2.cc: Likewise.
* testsuite/27_io/ios_base/failure/what-3.cc: Likewise.
* testsuite/27_io/ios_base/failure/what-big.cc: Likewise.
* testsuite/27_io/ios_base/state/1.cc: Likewise.
* testsuite/27_io/ios_base/storage/1.cc: Likewise.
* testsuite/27_io/ios_base/storage/11584.cc: Likewise.
* testsuite/27_io/ios_base/storage/2.cc: Likewise.
* testsuite/27_io/ios_base/sync_with_stdio/2.cc: Likewise.
* testsuite/27_io/manipulators/adjustfield/char/1.cc: Likewise.
* testsuite/27_io/manipulators/adjustfield/char/2.cc
* testsuite/27_io/manipulators/adjustfield/wchar_t/1.cc: Likewise.
* testsuite/27_io/manipulators/adjustfield/wchar_t/2.cc: Likewise.
* testsuite/27_io/manipulators/basefield/char/1.cc: Likewise.
* testsuite/27_io/manipulators/basefield/wchar_t/1.cc: Likewise.
* testsuite/27_io/manipulators/extended/get_money/char/1.cc: Likewise.
* testsuite/27_io/manipulators/extended/get_money/char/51288.cc:
Likewise.
* testsuite/27_io/manipulators/extended/get_money/wchar_t/1.cc:
Likewise.
* testsuite/27_io/manipulators/extended/get_money/wchar_t/51288.cc:
Likewise.
* testsuite/27_io/manipulators/extended/get_time/char/1.cc
* testsuite/27_io/manipulators/extended/get_time/char/2.cc: Likewise.
* testsuite/27_io/manipulators/extended/get_time/wchar_t/1.cc: Likewise.
* testsuite/27_io/manipulators/extended/get_time/wchar_t/2.cc: Likewise.
* testsuite/27_io/manipulators/extended/put_money/char/1.cc: Likewise.
* testsuite/27_io/manipulators/extended/put_money/char/51288.cc:
Likewise.
* testsuite/27_io/manipulators/extended/put_money/wchar_t/1.cc:
Likewise.
* testsuite/27_io/manipulators/extended/put_money/wchar_t/51288.cc:
Likewise.
* testsuite/27_io/manipulators/extended/put_time/char/1.cc: Likewise.
* testsuite/27_io/manipulators/extended/put_time/char/2.cc: Likewise.
* testsuite/27_io/manipulators/extended/put_time/wchar_t/1.cc: Likewise.
* testsuite/27_io/manipulators/extended/put_time/wchar_t/2.cc: Likewise.
* testsuite/27_io/manipulators/standard/char/1.cc: Likewise.
* testsuite/27_io/manipulators/standard/char/2.cc: Likewise.
* testsuite/27_io/manipulators/standard/char/dr2344.cc: Likewise.
* testsuite/27_io/manipulators/standard/char/quoted.cc: Likewise.
* testsuite/27_io/manipulators/standard/wchar_t/1.cc: Likewise.
* testsuite/27_io/manipulators/standard/wchar_t/2.cc: Likewise.
* testsuite/27_io/manipulators/standard/wchar_t/dr2344.cc: Likewise.
* testsuite/27_io/manipulators/standard/wchar_t/quoted.cc: Likewise.
* testsuite/27_io/objects/char/1.cc: Likewise.
* testsuite/27_io/objects/char/10.cc: Likewise.
* testsuite/27_io/objects/char/3045.cc: Likewise.
* testsuite/27_io/objects/char/41037.cc: Likewise.
* testsuite/27_io/objects/char/5.cc: Likewise.
* testsuite/27_io/objects/char/6.cc: Likewise.
* testsuite/27_io/objects/char/6548_xin.cc: Likewise.
* testsuite/27_io/objects/char/6648-1_xin.cc: Likewise.
* testsuite/27_io/objects/char/6648-2_xin.cc: Likewise.
* testsuite/27_io/objects/char/7744_xin.cc: Likewise.
* testsuite/27_io/objects/char/8.cc: Likewise.
* testsuite/27_io/objects/char/9.cc: Likewise.
* testsuite/27_io/objects/char/9661-2_xin.cc: Likewise.
* testsuite/27_io/objects/char/dr455.cc: Likewise.
* testsuite/27_io/objects/wchar_t/1.cc: Likewise.
* testsuite/27_io/objects/wchar_t/10.cc: Likewise.
* testsuite/27_io/objects/wchar_t/11.cc: Likewise.
* testsuite/27_io/objects/wchar_t/12.cc: Likewise.
* testsuite/27_io/objects/wchar_t/13.cc: Likewise.
* testsuite/27_io/objects/wchar_t/13582-1_xin.cc: Likewise.
* testsuite/27_io/objects/wchar_t/3045.cc: Likewise.
* testsuite/27_io/objects/wchar_t/41037.cc: Likewise.
* testsuite/27_io/objects/wchar_t/5.cc: Likewise.
* testsuite/27_io/objects/wchar_t/6548_xin.cc: Likewise.
* testsuite/27_io/objects/wchar_t/6648-1_xin.cc: Likewise.
* testsuite/27_io/objects/wchar_t/6648-2_xin.cc: Likewise.
* testsuite/27_io/objects/wchar_t/7744_xin.cc: Likewise.
* testsuite/27_io/objects/wchar_t/8.cc: Likewise.
* testsuite/27_io/objects/wchar_t/9520.cc: Likewise.
* testsuite/27_io/objects/wchar_t/9661-2_xin.cc: Likewise.
* testsuite/27_io/objects/wchar_t/9662.cc: Likewise.
* testsuite/27_io/objects/wchar_t/dr455.cc: Likewise.
* testsuite/27_io/types/3.cc: Likewise.
From-SVN: r241283
Eric Botcazou [Mon, 17 Oct 2016 22:15:02 +0000 (22:15 +0000)]
expmed.c (expand_shift_1): Add MAY_FAIL parameter and do not assert that the result is non-zero if it is true.
* expmed.c (expand_shift_1): Add MAY_FAIL parameter and do not assert
that the result is non-zero if it is true.
(maybe_expand_shift): New wrapper around expand_shift_1.
(emit_store_flag): Call maybe_expand_shift in lieu of expand_shift.
From-SVN: r241282
Bill Schmidt [Mon, 17 Oct 2016 22:08:56 +0000 (22:08 +0000)]
re PR tree-optimization/77916 (ICE in verify_gimple_in_cfg: invalid (pointer) operands to plus/minus)
[gcc]
2016-10-17 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR tree-optimization/77916
* gimple-ssa-strength-reduction.c (create_add_on_incoming_edge):
Don't allow a MINUS_EXPR for pointer arithmetic for either known
or unknown strides.
(record_increment): Increments of -1 for unknown strides just use
a multiply initializer like other negative values.
(analyze_increments): Remove stopgap solution for -1 increment
applied to pointer arithmetic.
[gcc/testsuite]
2016-10-17 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR tree-optimization/77916
* gcc.dg/torture/pr77916.c: New.
From-SVN: r241281
Steven G. Kargl [Mon, 17 Oct 2016 19:57:12 +0000 (19:57 +0000)]
re PR fortran/77978 (stop codes misinterpreted in both f2003 and f2008)
2016-10-17 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/77978
* match.c (gfc_match_stopcode): Fix error reporting for several
deficiencies in matching stop-codes.
2016-10-17 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/77978
* gfortran.dg/pr77978_1.f90: New test.
* gfortran.dg/pr77978_2.f90: Ditto.
* gfortran.dg/pr77978_3.f90: Ditto.
From-SVN: r241279
Marek Polacek [Mon, 17 Oct 2016 19:29:00 +0000 (19:29 +0000)]
c-warn.c (find_array_ref_with_const_idx_r): Remove parameter names.
* c-warn.c (find_array_ref_with_const_idx_r): Remove parameter names.
Return immediately when finding a match.
(warn_tautological_cmp): Remove a boolean variable that is no longer
needed.
From-SVN: r241278
Yuri Rumyantsev [Mon, 17 Oct 2016 18:05:12 +0000 (18:05 +0000)]
Update dom_info
2016-10-17 Yuri Rumyantsev <ysrumyan@gmail.com>
* dominance.c (dom_info::dom_info): Add new constructor for region
which is vector of basic blocks.
(dom_init): New method to initialize members common for both
constructors.
(dom_info::dom_info): Invoke dom_init for partial initialization.
(dom_info::get_idom): Add check to corner cases on basic blocks which
are not in region.
(dom_info::calc_dfs_tree): Check M_FAKE_EXIT_EDGE instead of M_REVERSE
to detect unreachable bbs.
(dom_info::calc_idoms): Likewise.
(compute_dom_fast_query_in_region): New function.
(calculate_dominance_info_for_region): Likewise.
(free_dominance_info_for_region): Likewise.
* dominance.h: Add prototypes for introduced region-based functions
tree-if-conv.c: (build_region): New function.
(if_convertible_loop_p_1): Invoke local version of post-dominators
calculation before basic block predication with subsequent freeing
post-dominator info.
(tree_if_conversion): Remove free of post-dominator info
(pass_if_conversion::execute): Delete detection of infinite loops
and fake edges to exit block since post-dominator calculation is
performed per if-converted loop only.
From-SVN: r241275
Paul Thomas [Mon, 17 Oct 2016 17:52:05 +0000 (17:52 +0000)]
re PR fortran/61420 ([OOP] type-bound procedure returning a procedure pointer fails to compile)
2016-10-17 Paul Thomas <pault@gcc.gnu.org>
PR fortran/61420
PR fortran/78013
* resolve.c (resolve_variable): Obtain the typespec for a
variable expression, when the variable is a function result
that is a procedure pointer.
2016-10-17 Paul Thomas <pault@gcc.gnu.org>
PR fortran/61420
PR fortran/78013
* gfortran.dg/proc_ptr_49.f90: New test.
From-SVN: r241274
Bernd Edlinger [Mon, 17 Oct 2016 17:46:59 +0000 (17:46 +0000)]
re PR target/77308 (surprisingly large stack usage for sha512 on arm)
2016-10-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
PR target/77308
* config/arm/arm.c (arm_emit_coreregs_64bit_shift): Clear the result
register explicitly.
* config/arm/arm.md (ashldi3, ashrdi3, lshrdi3): Don't FAIL if
optimizing for size.
testsuite:
2016-10-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
PR target/77308
* gcc.target/arm/pr77308.c: New test.
From-SVN: r241273
Jakub Jelinek [Mon, 17 Oct 2016 17:35:33 +0000 (19:35 +0200)]
dwarf2.h (enum dwarf_calling_convention): Add new DWARF5 calling convention codes.
* dwarf2.h (enum dwarf_calling_convention): Add new DWARF5
calling convention codes.
(enum dwarf_line_number_content_type): New.
(enum dwarf_location_list_entry_type): Add DWARF5 DW_LLE_*
codes.
(enum dwarf_source_language): Add new DWARF5 DW_LANG_* codes.
(enum dwarf_macro_record_type): Add DWARF5 DW_MACRO_* codes.
(enum dwarf_name_index_attribute): New.
(enum dwarf_range_list_entry): New.
(enum dwarf_unit_type): New.
* dwarf2.def: Add new DWARF5 DW_TAG_*, DW_FORM_*, DW_AT_*,
DW_OP_* and DW_ATE_* entries.
From-SVN: r241272
David Edelsohn [Mon, 17 Oct 2016 17:15:33 +0000 (17:15 +0000)]
* lib/target-supports.exp
(check_effective_target_floatn_nx_runtime): Return 0 for
powerpc*-ibm-aix*.
From-SVN: r241271
Ian Lance Taylor [Mon, 17 Oct 2016 16:54:25 +0000 (16:54 +0000)]
runtime: copy rdebug code from Go 1.7 runtime
While we're at it, update the runtime/debug package, and start running
its testsuite by default. I'm not sure why runtime/debug was not
previously updated to 1.7. Doing that led me to fix some minor aspects
of runtime.Stack and the C function runtime/debug.readGCStats.
Reviewed-on: https://go-review.googlesource.com/31251
From-SVN: r241261
Andrew Pinski [Mon, 17 Oct 2016 16:53:13 +0000 (09:53 -0700)]
Fix formating.
From-SVN: r241260
Andrew Pinski [Mon, 17 Oct 2016 16:52:44 +0000 (16:52 +0000)]
test_align-7.c: Use long long instead of long.
2016-10-17 Andrew Pinski <apinski@cavium.com>
* gcc.target/aarch64/aapcs64/test_align-7.c: Use long
long instead of long.
* gcc.target/aarch64/cinc_common_1.c: Likewise.
* gcc.target/aarch64/combine_bfi_1.c: Likewise.
* gcc.target/aarch64/fmul_fcvt_1.c: Likewise.
* gcc.target/aarch64/mult-synth_4.c: Likewise.
* gcc.target/aarch64/pr68102_1.c: Likewise.
* gcc.target/aarch64/target_attr_3.c: Likewise.
From-SVN: r241259
Kyrylo Tkachov [Mon, 17 Oct 2016 16:37:38 +0000 (16:37 +0000)]
[AArch64] Use new target pass registration framework for FMA steering pass
* config/aarch64/aarch64.c: Delete inclusion of
cortex-a57-fma-steering.h.
(aarch64_override_options): Delete call
to aarch64_register_fma_steering.
* config/aarch64/aarch64-protos.h (make_pass_fma_steering): Declare.
* config/aarch64/cortex-a57-fma-steering.h: Delete.
* config/aarch64/aarch64-passes.def: New file.
* config/aarch64/cortex-a57-fma-steering.c
(aarch64_register_fma_steering): Delete definition.
(make_pass_fma_steering): Remove static qualifier.
* config/aarch64/t-aarch64 (PASSES_EXTRA): New directive.
(cortex-a57-fma-steering.o): Remove dependency on
cortex-a57-fma-steering.h.
From-SVN: r241248
Eric Botcazou [Mon, 17 Oct 2016 16:10:42 +0000 (16:10 +0000)]
* explow.c (validize_mem): Do not modify the argument in-place.
From-SVN: r241247
Thomas Schwinge [Mon, 17 Oct 2016 15:56:22 +0000 (17:56 +0200)]
Explicitly list all tree codes in gcc/tree-streamer.c:record_common_node
gcc/
* tree-streamer.c (record_common_node): Explicitly list expected
tree codes.
From-SVN: r241246
Jonathan Wakely [Mon, 17 Oct 2016 14:39:23 +0000 (15:39 +0100)]
PR77994 Convert std::sample size argument to suitable type
PR libstdc++/77994
* include/bits/stl_algo.h (sample): Convert size argument to iterator
difference type.
* include/experimental/algorithm (experimental::sample): Likewise.
* testsuite/25_algorithms/sample/2.cc: New test.
From-SVN: r241245
Richard Biener [Mon, 17 Oct 2016 13:46:34 +0000 (13:46 +0000)]
re PR tree-optimization/77988 (ICE on valid code at -Os and above on x86_64-linux-gnu: verify_gimple failed)
2016-10-17 Richard Biener <rguenther@suse.de>
PR tree-optimization/77988
* tree-vrp.c (remove_range_assertions): Use replace_uses_by.
* gcc.dg/torture/pr77988.c: New testcase.
From-SVN: r241242
Paolo Carlini [Mon, 17 Oct 2016 13:32:32 +0000 (13:32 +0000)]
57619.C: Rename to 57619.cc.
2016-10-17 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/unordered_map/insert/57619.C: Rename to 57619.cc.
* testsuite/23_containers/unordered_multimap/insert/57619.C: Likewise.
2016-10-17 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/array/capacity/empty.cc: Remove 'test' variables.
* testsuite/array/capacity/max_size.cc: Likewise.
* testsuite/array/capacity/size.cc: Likewise.
* testsuite/array/comparison_operators/equal.cc: Likewise.
* testsuite/array/comparison_operators/greater.cc: Likewise.
* testsuite/array/comparison_operators/greater_or_equal.cc: Likewise.
* testsuite/array/comparison_operators/less.cc: Likewise.
* testsuite/array/comparison_operators/less_or_equal.cc: Likewise.
* testsuite/array/comparison_operators/not_equal.cc: Likewise.
* testsuite/array/element_access/54388.cc: Likewise.
* testsuite/array/element_access/at_out_of_range.cc: Likewise.
* testsuite/array/element_access/back.cc: Likewise.
* testsuite/array/element_access/data.cc: Likewise.
* testsuite/array/element_access/front.cc: Likewise.
* testsuite/array/iterators/end_is_one_past.cc: Likewise.
* testsuite/array/requirements/contiguous.cc: Likewise.
* testsuite/array/requirements/fill.cc: Likewise.
* testsuite/array/requirements/member_swap.cc: Likewise.
* testsuite/array/requirements/zero_sized_arrays.cc: Likewise.
* testsuite/array/specialized_algorithms/swap.cc: Likewise.
* testsuite/array/tuple_interface/tuple_element.cc: Likewise.
* testsuite/array/tuple_interface/tuple_element_cpp14.cc: Likewise.
* testsuite/array/tuple_interface/tuple_size.cc: Likewise.
* testsuite/bitset/all/1.cc: Likewise.
* testsuite/bitset/cons/1.cc: Likewise.
* testsuite/bitset/cons/16020.cc: Likewise.
* testsuite/bitset/cons/2.cc: Likewise.
* testsuite/bitset/cons/3.cc: Likewise.
* testsuite/bitset/cons/50268.cc: Likewise.
* testsuite/bitset/cons/6282.cc: Likewise.
* testsuite/bitset/cons/dr1325-2.cc: Likewise.
* testsuite/bitset/cons/dr396.cc: Likewise.
* testsuite/bitset/ext/15361.cc: Likewise.
* testsuite/bitset/input/1.cc: Likewise.
* testsuite/bitset/operations/1.cc: Likewise.
* testsuite/bitset/operations/13838.cc: Likewise.
* testsuite/bitset/operations/2.cc: Likewise.
* testsuite/bitset/test/1.cc: Likewise.
* testsuite/bitset/to_string/1.cc: Likewise.
* testsuite/bitset/to_string/dr396.cc: Likewise.
* testsuite/bitset/to_ullong/1.cc: Likewise.
* testsuite/bitset/to_ulong/1.cc: Likewise.
* testsuite/deque/allocator/copy.cc: Likewise.
* testsuite/deque/allocator/copy_assign.cc: Likewise.
* testsuite/deque/allocator/ext_ptr.cc: Likewise.
* testsuite/deque/allocator/minimal.cc: Likewise.
* testsuite/deque/allocator/move.cc: Likewise.
* testsuite/deque/allocator/move_assign.cc: Likewise.
* testsuite/deque/allocator/swap.cc: Likewise.
* testsuite/deque/capacity/29134-2.cc: Likewise.
* testsuite/deque/capacity/29134.cc: Likewise.
* testsuite/deque/capacity/moveable.cc: Likewise.
* testsuite/deque/capacity/resize_size.cc: Likewise.
* testsuite/deque/capacity/shrink_to_fit.cc: Likewise.
* testsuite/deque/cons/1.cc: Likewise.
* testsuite/deque/cons/2.cc: Likewise.
* testsuite/deque/cons/assign/1.cc: Likewise.
* testsuite/deque/cons/cons_size.cc: Likewise.
* testsuite/deque/cons/moveable.cc: Likewise.
* testsuite/deque/modifiers/erase/1.cc: Likewise.
* testsuite/deque/modifiers/erase/2.cc: Likewise.
* testsuite/deque/modifiers/erase/3.cc: Likewise.
* testsuite/deque/modifiers/erase/moveable.cc: Likewise.
* testsuite/deque/modifiers/moveable.cc: Likewise.
* testsuite/deque/modifiers/push_back/49836.cc: Likewise.
* testsuite/deque/modifiers/push_front/49836.cc: Likewise.
* testsuite/deque/modifiers/swap/1.cc: Likewise.
* testsuite/deque/modifiers/swap/2.cc: Likewise.
* testsuite/deque/modifiers/swap/3.cc: Likewise.
* testsuite/deque/operators/1.cc: Likewise.
* testsuite/deque/operators/2.cc: Likewise.
* testsuite/forward_list/allocator/copy.cc: Likewise.
* testsuite/forward_list/allocator/copy_assign.cc: Likewise.
* testsuite/forward_list/allocator/ext_ptr.cc: Likewise.
* testsuite/forward_list/allocator/minimal.cc: Likewise.
* testsuite/forward_list/allocator/move.cc: Likewise.
* testsuite/forward_list/allocator/move_assign.cc: Likewise.
* testsuite/forward_list/allocator/swap.cc: Likewise.
* testsuite/forward_list/capacity/1.cc: Likewise.
* testsuite/forward_list/capacity/resize_size.cc: Likewise.
* testsuite/forward_list/comparable.cc: Likewise.
* testsuite/forward_list/cons/1.cc: Likewise.
* testsuite/forward_list/cons/2.cc: Likewise.
* testsuite/forward_list/cons/3.cc: Likewise.
* testsuite/forward_list/cons/4.cc: Likewise.
* testsuite/forward_list/cons/5.cc: Likewise.
* testsuite/forward_list/cons/6.cc: Likewise.
* testsuite/forward_list/cons/7.cc: Likewise.
* testsuite/forward_list/cons/8.cc: Likewise.
* testsuite/forward_list/cons/9.cc: Likewise.
* testsuite/forward_list/cons/cons_size.cc: Likewise.
* testsuite/forward_list/cons/moveable.cc: Likewise.
* testsuite/forward_list/debug/clear.cc: Likewise.
* testsuite/forward_list/debug/construct4_neg.cc: Likewise.
* testsuite/forward_list/debug/erase_after1_neg.cc: Likewise.
* testsuite/forward_list/debug/move_assign_neg.cc: Likewise.
* testsuite/forward_list/debug/move_constructor.cc: Likewise.
* testsuite/forward_list/debug/move_neg.cc: Likewise.
* testsuite/forward_list/debug/splice_after.cc: Likewise.
* testsuite/forward_list/debug/swap.cc: Likewise.
* testsuite/forward_list/modifiers/1.cc: Likewise.
* testsuite/forward_list/modifiers/2.cc: Likewise.
* testsuite/forward_list/modifiers/3.cc: Likewise.
* testsuite/forward_list/modifiers/4.cc: Likewise.
* testsuite/forward_list/modifiers/5.cc: Likewise.
* testsuite/forward_list/modifiers/6.cc: Likewise.
* testsuite/forward_list/operations/1.cc: Likewise.
* testsuite/forward_list/operations/2.cc: Likewise.
* testsuite/forward_list/operations/3.cc: Likewise.
* testsuite/forward_list/operations/4.cc: Likewise.
* testsuite/forward_list/operations/5.cc: Likewise.
* testsuite/forward_list/operations/6.cc: Likewise.
* testsuite/forward_list/operations/7.cc: Likewise.
* testsuite/forward_list/operations/remove_freed.cc: Likewise.
* testsuite/list/61347.cc: Likewise.
* testsuite/list/allocator/copy.cc: Likewise.
* testsuite/list/allocator/copy_assign.cc: Likewise.
* testsuite/list/allocator/minimal.cc: Likewise.
* testsuite/list/allocator/move.cc: Likewise.
* testsuite/list/allocator/move_assign.cc: Likewise.
* testsuite/list/allocator/swap.cc: Likewise.
* testsuite/list/capacity/1.h: Likewise.
* testsuite/list/capacity/29134.cc: Likewise.
* testsuite/list/capacity/resize_size.cc: Likewise.
* testsuite/list/cons/1.h: Likewise.
* testsuite/list/cons/2.h: Likewise.
* testsuite/list/cons/3.h: Likewise.
* testsuite/list/cons/4.h: Likewise.
* testsuite/list/cons/5.h: Likewise.
* testsuite/list/cons/6.h: Likewise.
* testsuite/list/cons/7.h: Likewise.
* testsuite/list/cons/8.h: Likewise.
* testsuite/list/cons/9.h: Likewise.
* testsuite/list/cons/cons_size.cc: Likewise.
* testsuite/list/cons/moveable.h: Likewise.
* testsuite/list/debug/invalidation/1.cc: Likewise.
* testsuite/list/debug/invalidation/2.cc: Likewise.
* testsuite/list/debug/invalidation/3.cc: Likewise.
* testsuite/list/debug/invalidation/4.cc: Likewise.
* testsuite/list/modifiers/1.h: Likewise.
* testsuite/list/modifiers/2.h: Likewise.
* testsuite/list/modifiers/3.h: Likewise.
* testsuite/list/modifiers/insert/25288.h: Likewise.
* testsuite/list/modifiers/swap/1.h: Likewise.
* testsuite/list/modifiers/swap/2.h: Likewise.
* testsuite/list/modifiers/swap/3.h: Likewise.
* testsuite/list/operations/1.h: Likewise.
* testsuite/list/operations/2.h: Likewise.
* testsuite/list/operations/3.h: Likewise.
* testsuite/list/operations/4.h: Likewise.
* testsuite/list/operations/42352.cc: Likewise.
* testsuite/map/allocator/copy.cc: Likewise.
* testsuite/map/allocator/copy_assign.cc: Likewise.
* testsuite/map/allocator/init-list.cc: Likewise.
* testsuite/map/allocator/minimal.cc: Likewise.
* testsuite/map/allocator/move.cc: Likewise.
* testsuite/map/allocator/move_assign.cc: Likewise.
* testsuite/map/allocator/swap.cc: Likewise.
* testsuite/map/capacity/29134.cc: Likewise.
* testsuite/map/cons/moveable.cc: Likewise.
* testsuite/map/debug/construct5_neg.cc: Likewise.
* testsuite/map/debug/move_assign_neg.cc: Likewise.
* testsuite/map/debug/move_neg.cc: Likewise.
* testsuite/map/element_access/1.cc: Likewise.
* testsuite/map/element_access/2.cc: Likewise.
* testsuite/map/element_access/39901.cc: Likewise.
* testsuite/map/init-list.cc: Likewise.
* testsuite/map/modifiers/dr130.cc: Likewise.
* testsuite/map/modifiers/emplace/1.cc: Likewise.
* testsuite/map/modifiers/extract.cc: Likewise.
* testsuite/map/modifiers/insert/1.cc: Likewise.
* testsuite/map/modifiers/insert/16813.cc: Likewise.
* testsuite/map/modifiers/insert/2.cc: Likewise.
* testsuite/map/modifiers/insert/3.cc: Likewise.
* testsuite/map/modifiers/insert/4.cc: Likewise.
* testsuite/map/modifiers/insert/5.cc: Likewise.
* testsuite/map/modifiers/insert_or_assign/1.cc: Likewise.
* testsuite/map/modifiers/merge.cc: Likewise.
* testsuite/map/modifiers/swap/1.cc: Likewise.
* testsuite/map/modifiers/swap/2.cc: Likewise.
* testsuite/map/modifiers/swap/3.cc: Likewise.
* testsuite/map/modifiers/try_emplace/1.cc: Likewise.
* testsuite/map/operations/1.cc: Likewise.
* testsuite/map/operations/count.cc: Likewise.
* testsuite/map/operators/1_neg.cc: Likewise.
* testsuite/map/operators/2.cc: Likewise.
* testsuite/multimap/allocator/copy.cc: Likewise.
* testsuite/multimap/allocator/copy_assign.cc: Likewise.
* testsuite/multimap/allocator/init-list.cc: Likewise.
* testsuite/multimap/allocator/minimal.cc: Likewise.
* testsuite/multimap/allocator/move.cc: Likewise.
* testsuite/multimap/allocator/move_assign.cc: Likewise.
* testsuite/multimap/allocator/swap.cc: Likewise.
* testsuite/multimap/capacity/29134.cc: Likewise.
* testsuite/multimap/cons/moveable.cc: Likewise.
* testsuite/multimap/debug/construct5_neg.cc: Likewise.
* testsuite/multimap/debug/move_assign_neg.cc: Likewise.
* testsuite/multimap/debug/move_neg.cc: Likewise.
* testsuite/multimap/init-list.cc: Likewise.
* testsuite/multimap/modifiers/dr130.cc: Likewise.
* testsuite/multimap/modifiers/emplace/1.cc: Likewise.
* testsuite/multimap/modifiers/extract.cc: Likewise.
* testsuite/multimap/modifiers/insert/1.cc: Likewise.
* testsuite/multimap/modifiers/insert/2.cc: Likewise.
* testsuite/multimap/modifiers/insert/22102.cc: Likewise.
* testsuite/multimap/modifiers/insert/3.cc: Likewise.
* testsuite/multimap/modifiers/insert/4.cc: Likewise.
* testsuite/multimap/modifiers/merge.cc: Likewise.
* testsuite/multimap/modifiers/swap/1.cc: Likewise.
* testsuite/multimap/modifiers/swap/2.cc: Likewise.
* testsuite/multimap/modifiers/swap/3.cc: Likewise.
* testsuite/multimap/operations/1.cc: Likewise.
* testsuite/multimap/operations/count.cc: Likewise.
* testsuite/multiset/allocator/copy.cc: Likewise.
* testsuite/multiset/allocator/copy_assign.cc: Likewise.
* testsuite/multiset/allocator/init-list.cc: Likewise.
* testsuite/multiset/allocator/minimal.cc: Likewise.
* testsuite/multiset/allocator/move.cc: Likewise.
* testsuite/multiset/allocator/move_assign.cc: Likewise.
* testsuite/multiset/allocator/swap.cc: Likewise.
* testsuite/multiset/capacity/29134.cc: Likewise.
* testsuite/multiset/cons/moveable.cc: Likewise.
* testsuite/multiset/debug/construct5_neg.cc: Likewise.
* testsuite/multiset/debug/invalidation/2.cc: Likewise.
* testsuite/multiset/debug/move_assign_neg.cc: Likewise.
* testsuite/multiset/debug/move_neg.cc: Likewise.
* testsuite/multiset/init-list.cc: Likewise.
* testsuite/multiset/modifiers/dr130.cc: Likewise.
* testsuite/multiset/modifiers/emplace/1.cc: Likewise.
* testsuite/multiset/modifiers/extract.cc: Likewise.
* testsuite/multiset/modifiers/insert/1.cc: Likewise.
* testsuite/multiset/modifiers/insert/2.cc: Likewise.
* testsuite/multiset/modifiers/insert/22102.cc: Likewise.
* testsuite/multiset/modifiers/insert/3.cc: Likewise.
* testsuite/multiset/modifiers/insert/4.cc: Likewise.
* testsuite/multiset/modifiers/merge.cc: Likewise.
* testsuite/multiset/modifiers/swap/1.cc: Likewise.
* testsuite/multiset/modifiers/swap/2.cc: Likewise.
* testsuite/multiset/modifiers/swap/3.cc: Likewise.
* testsuite/multiset/operations/1.cc: Likewise.
* testsuite/multiset/operations/count.cc: Likewise.
* testsuite/priority_queue/moveable.cc: Likewise.
* testsuite/queue/moveable.cc: Likewise.
* testsuite/set/allocator/copy.cc: Likewise.
* testsuite/set/allocator/copy_assign.cc: Likewise.
* testsuite/set/allocator/init-list.cc: Likewise.
* testsuite/set/allocator/minimal.cc: Likewise.
* testsuite/set/allocator/move.cc: Likewise.
* testsuite/set/allocator/move_assign.cc: Likewise.
* testsuite/set/allocator/swap.cc: Likewise.
* testsuite/set/capacity/29134.cc: Likewise.
* testsuite/set/cons/moveable.cc: Likewise.
* testsuite/set/debug/construct5_neg.cc: Likewise.
* testsuite/set/debug/invalidation/2.cc: Likewise.
* testsuite/set/debug/move_assign_neg.cc: Likewise.
* testsuite/set/debug/move_neg.cc: Likewise.
* testsuite/set/init-list.cc: Likewise.
* testsuite/set/modifiers/17948.cc: Likewise.
* testsuite/set/modifiers/dr130.cc: Likewise.
* testsuite/set/modifiers/emplace/1.cc: Likewise.
* testsuite/set/modifiers/extract.cc: Likewise.
* testsuite/set/modifiers/insert/1.cc: Likewise.
* testsuite/set/modifiers/insert/2.cc: Likewise.
* testsuite/set/modifiers/insert/3.cc: Likewise.
* testsuite/set/modifiers/merge.cc: Likewise.
* testsuite/set/modifiers/swap/1.cc: Likewise.
* testsuite/set/modifiers/swap/2.cc: Likewise.
* testsuite/set/modifiers/swap/3.cc: Likewise.
* testsuite/set/operations/1.cc: Likewise.
* testsuite/set/operations/count.cc: Likewise.
* testsuite/set/operators/1_neg.cc: Likewise.
* testsuite/unordered_map/allocator/copy.cc: Likewise.
* testsuite/unordered_map/allocator/copy_assign.cc: Likewise.
* testsuite/unordered_map/allocator/minimal.cc: Likewise.
* testsuite/unordered_map/allocator/move.cc: Likewise.
* testsuite/unordered_map/allocator/move_assign.cc: Likewise.
* testsuite/unordered_map/allocator/swap.cc: Likewise.
* testsuite/unordered_map/cons/moveable.cc: Likewise.
* testsuite/unordered_map/debug/construct5_neg.cc: Likewise.
* testsuite/unordered_map/debug/move_assign_neg.cc: Likewise.
* testsuite/unordered_map/debug/move_neg.cc: Likewise.
* testsuite/unordered_map/dr761.cc: Likewise.
* testsuite/unordered_map/erase/1.cc: Likewise.
* testsuite/unordered_map/erase/24061-map.cc: Likewise.
* testsuite/unordered_map/erase/54276.cc: Likewise.
* testsuite/unordered_map/hash_policy/dr1189.cc: Likewise.
* testsuite/unordered_map/init-list.cc: Likewise.
* testsuite/unordered_map/insert/24061-map.cc: Likewise.
* testsuite/unordered_map/insert/57619.C: Likewise.
* testsuite/unordered_map/insert/array_syntax.cc: Likewise.
* testsuite/unordered_map/insert/array_syntax_move.cc: Likewise.
* testsuite/unordered_map/insert/map_range.cc: Likewise.
* testsuite/unordered_map/insert/map_single.cc: Likewise.
* testsuite/unordered_map/insert/map_single_move-1.cc: Likewise.
* testsuite/unordered_map/insert/map_single_move-2.cc: Likewise.
* testsuite/unordered_map/modifiers/61667.cc: Likewise.
* testsuite/unordered_map/modifiers/emplace.cc: Likewise.
* testsuite/unordered_map/modifiers/extract.cc: Likewise.
* testsuite/unordered_map/modifiers/insert_or_assign.cc: Likewise.
* testsuite/unordered_map/modifiers/merge.cc: Likewise.
* testsuite/unordered_map/modifiers/reserve.cc: Likewise.
* testsuite/unordered_map/modifiers/try_emplace.cc: Likewise.
* testsuite/unordered_map/operations/count.cc: Likewise.
* testsuite/unordered_map/operators/1.cc: Likewise.
* testsuite/unordered_map/operators/2.cc: Likewise.
* testsuite/unordered_multimap/allocator/copy.cc: Likewise.
* testsuite/unordered_multimap/allocator/copy_assign.cc: Likewise.
* testsuite/unordered_multimap/allocator/minimal.cc: Likewise.
* testsuite/unordered_multimap/allocator/move.cc: Likewise.
* testsuite/unordered_multimap/allocator/move_assign.cc: Likewise.
* testsuite/unordered_multimap/allocator/swap.cc: Likewise.
* testsuite/unordered_multimap/cons/moveable.cc: Likewise.
* testsuite/unordered_multimap/debug/construct5_neg.cc: Likewise.
* testsuite/unordered_multimap/debug/move_assign_neg.cc: Likewise.
* testsuite/unordered_multimap/debug/move_neg.cc: Likewise.
* testsuite/unordered_multimap/erase/1.cc: Likewise.
* testsuite/unordered_multimap/erase/2.cc: Likewise.
* testsuite/unordered_multimap/erase/24061-multimap.cc: Likewise.
* testsuite/unordered_multimap/erase/51845-multimap.cc: Likewise.
* testsuite/unordered_multimap/erase/54276.cc: Likewise.
* testsuite/unordered_multimap/hash_policy/dr1189.cc: Likewise.
* testsuite/unordered_multimap/init-list.cc: Likewise.
* testsuite/unordered_multimap/insert/24061-multimap.cc: Likewise.
* testsuite/unordered_multimap/insert/51866.cc: Likewise.
* testsuite/unordered_multimap/insert/52476.cc: Likewise.
* testsuite/unordered_multimap/insert/53115.cc: Likewise.
* testsuite/unordered_multimap/insert/57619.C: Likewise.
* testsuite/unordered_multimap/insert/hint.cc: Likewise.
* testsuite/unordered_multimap/insert/multimap_range.cc: Likewise.
* testsuite/unordered_multimap/insert/multimap_single.cc: Likewise.
* testsuite/unordered_multimap/insert/multimap_single_move-1.cc:
Likewise.
* testsuite/unordered_multimap/insert/multimap_single_move-2.cc:
Likewise.
* testsuite/unordered_multimap/modifiers/emplace.cc: Likewise.
* testsuite/unordered_multimap/modifiers/extract.cc: Likewise.
* testsuite/unordered_multimap/modifiers/merge.cc: Likewise.
* testsuite/unordered_multimap/modifiers/reserve.cc: Likewise.
* testsuite/unordered_multimap/operations/count.cc: Likewise.
* testsuite/unordered_multimap/operators/1.cc: Likewise.
* testsuite/unordered_multimap/operators/2.cc: Likewise.
* testsuite/unordered_multiset/allocator/copy.cc: Likewise.
* testsuite/unordered_multiset/allocator/copy_assign.cc: Likewise.
* testsuite/unordered_multiset/allocator/minimal.cc: Likewise.
* testsuite/unordered_multiset/allocator/move.cc: Likewise.
* testsuite/unordered_multiset/allocator/move_assign.cc: Likewise.
* testsuite/unordered_multiset/allocator/swap.cc: Likewise.
* testsuite/unordered_multiset/cons/copy.cc: Likewise.
* testsuite/unordered_multiset/cons/moveable.cc: Likewise.
* testsuite/unordered_multiset/debug/construct5_neg.cc: Likewise.
* testsuite/unordered_multiset/debug/move_assign_neg.cc: Likewise.
* testsuite/unordered_multiset/debug/move_neg.cc: Likewise.
* testsuite/unordered_multiset/erase/1.cc: Likewise.
* testsuite/unordered_multiset/erase/2.cc: Likewise.
* testsuite/unordered_multiset/erase/24061-multiset.cc: Likewise.
* testsuite/unordered_multiset/hash_policy/dr1189.cc: Likewise.
* testsuite/unordered_multiset/init-list.cc: Likewise.
* testsuite/unordered_multiset/insert/24061-multiset.cc: Likewise.
* testsuite/unordered_multiset/insert/51866.cc: Likewise.
* testsuite/unordered_multiset/insert/52476.cc: Likewise.
* testsuite/unordered_multiset/insert/53115.cc: Likewise.
* testsuite/unordered_multiset/insert/hash_policy.cc: Likewise.
* testsuite/unordered_multiset/insert/multiset_range.cc: Likewise.
* testsuite/unordered_multiset/insert/multiset_single.cc: Likewise.
* testsuite/unordered_multiset/insert/multiset_single_move.cc: Likewise.
* testsuite/unordered_multiset/modifiers/emplace.cc: Likewise.
* testsuite/unordered_multiset/modifiers/extract.cc: Likewise.
* testsuite/unordered_multiset/modifiers/merge.cc: Likewise.
* testsuite/unordered_multiset/modifiers/reserve.cc: Likewise.
* testsuite/unordered_multiset/operations/count.cc: Likewise.
* testsuite/unordered_multiset/operators/1.cc: Likewise.
* testsuite/unordered_set/allocator/copy.cc: Likewise.
* testsuite/unordered_set/allocator/copy_assign.cc: Likewise.
* testsuite/unordered_set/allocator/ext_ptr.cc: Likewise.
* testsuite/unordered_set/allocator/minimal.cc: Likewise.
* testsuite/unordered_set/allocator/move.cc: Likewise.
* testsuite/unordered_set/allocator/move_assign.cc: Likewise.
* testsuite/unordered_set/allocator/swap.cc: Likewise.
* testsuite/unordered_set/buckets/swap.cc: Likewise.
* testsuite/unordered_set/cons/moveable.cc: Likewise.
* testsuite/unordered_set/debug/construct5_neg.cc: Likewise.
* testsuite/unordered_set/debug/debug_functions.cc: Likewise.
* testsuite/unordered_set/debug/move_assign_neg.cc: Likewise.
* testsuite/unordered_set/debug/move_neg.cc: Likewise.
* testsuite/unordered_set/erase/1.cc: Likewise.
* testsuite/unordered_set/erase/24061-set.cc: Likewise.
* testsuite/unordered_set/hash_policy/26132.cc: Likewise.
* testsuite/unordered_set/hash_policy/71181.cc: Likewise.
* testsuite/unordered_set/hash_policy/dr1189.cc: Likewise.
* testsuite/unordered_set/hash_policy/load_factor.cc: Likewise.
* testsuite/unordered_set/hash_policy/power2_rehash.cc: Likewise.
* testsuite/unordered_set/hash_policy/prime_rehash.cc: Likewise.
* testsuite/unordered_set/hash_policy/rehash.cc: Likewise.
* testsuite/unordered_set/init-list.cc: Likewise.
* testsuite/unordered_set/insert/24061-set.cc: Likewise.
* testsuite/unordered_set/insert/hash_policy.cc: Likewise.
* testsuite/unordered_set/insert/move_range.cc: Likewise.
* testsuite/unordered_set/insert/set_range.cc: Likewise.
* testsuite/unordered_set/insert/set_single.cc: Likewise.
* testsuite/unordered_set/insert/set_single_move.cc: Likewise.
* testsuite/unordered_set/max_load_factor/robustness.cc: Likewise.
* testsuite/unordered_set/modifiers/emplace.cc: Likewise.
* testsuite/unordered_set/modifiers/extract.cc: Likewise.
* testsuite/unordered_set/modifiers/merge.cc: Likewise.
* testsuite/unordered_set/modifiers/reserve.cc: Likewise.
* testsuite/unordered_set/modifiers/swap.cc: Likewise.
* testsuite/unordered_set/operations/count.cc: Likewise.
* testsuite/unordered_set/operators/1.cc: Likewise.
* testsuite/vector/allocator/copy.cc: Likewise.
* testsuite/vector/allocator/copy_assign.cc: Likewise.
* testsuite/vector/allocator/ext_ptr.cc: Likewise.
* testsuite/vector/allocator/minimal.cc: Likewise.
* testsuite/vector/allocator/move.cc: Likewise.
* testsuite/vector/allocator/move_assign.cc: Likewise.
* testsuite/vector/allocator/swap.cc: Likewise.
* testsuite/vector/bool/6886.cc: Likewise.
* testsuite/vector/bool/72847.cc: Likewise.
* testsuite/vector/bool/allocator/copy.cc: Likewise.
* testsuite/vector/bool/allocator/copy_assign.cc: Likewise.
* testsuite/vector/bool/allocator/ext_ptr.cc: Likewise.
* testsuite/vector/bool/allocator/move.cc: Likewise.
* testsuite/vector/bool/allocator/move_assign.cc: Likewise.
* testsuite/vector/bool/allocator/swap.cc: Likewise.
* testsuite/vector/bool/capacity/1.cc: Likewise.
* testsuite/vector/bool/capacity/29134.cc: Likewise.
* testsuite/vector/bool/capacity/shrink_to_fit.cc: Likewise.
* testsuite/vector/bool/cons/1.cc: Likewise.
* testsuite/vector/bool/cons/2.cc: Likewise.
* testsuite/vector/bool/modifiers/erase/1.cc: Likewise.
* testsuite/vector/bool/modifiers/insert/1.cc: Likewise.
* testsuite/vector/bool/modifiers/insert/31370.cc: Likewise.
* testsuite/vector/bool/modifiers/swap/1.cc: Likewise.
* testsuite/vector/bool/modifiers/swap/2.cc: Likewise.
* testsuite/vector/bool/swap.cc: Likewise.
* testsuite/vector/capacity/1.cc: Likewise.
* testsuite/vector/capacity/2.cc: Likewise.
* testsuite/vector/capacity/29134-2.cc: Likewise.
* testsuite/vector/capacity/29134.cc: Likewise.
* testsuite/vector/capacity/44190.cc: Likewise.
* testsuite/vector/capacity/8230.cc: Likewise.
* testsuite/vector/capacity/reserve/moveable.cc: Likewise.
* testsuite/vector/capacity/reserve/moveable2.cc: Likewise.
* testsuite/vector/capacity/resize/1.cc: Likewise.
* testsuite/vector/capacity/resize/moveable.cc: Likewise.
* testsuite/vector/capacity/resize/moveable2.cc: Likewise.
* testsuite/vector/capacity/resize/resize_size.cc: Likewise.
* testsuite/vector/capacity/shrink_to_fit.cc: Likewise.
* testsuite/vector/capacity/shrink_to_fit2.cc: Likewise.
* testsuite/vector/cons/3.cc: Likewise.
* testsuite/vector/cons/4.cc: Likewise.
* testsuite/vector/cons/cons_size.cc: Likewise.
* testsuite/vector/cons/moveable.cc: Likewise.
* testsuite/vector/data_access/1.cc: Likewise.
* testsuite/vector/debug/debug_functions.cc: Likewise.
* testsuite/vector/debug/move_assign_neg.cc: Likewise.
* testsuite/vector/debug/move_neg.cc: Likewise.
* testsuite/vector/debug/multithreaded_swap.cc: Likewise.
* testsuite/vector/element_access/1.cc: Likewise.
* testsuite/vector/ext_pointer/citerators.cc: Likewise.
* testsuite/vector/ext_pointer/data_access.cc: Likewise.
* testsuite/vector/ext_pointer/modifiers/element.cc: Likewise.
* testsuite/vector/ext_pointer/modifiers/erase.cc: Likewise.
* testsuite/vector/ext_pointer/modifiers/insert.cc: Likewise.
* testsuite/vector/ext_pointer/resize.cc: Likewise.
* testsuite/vector/modifiers/1.cc: Likewise.
* testsuite/vector/modifiers/2.cc: Likewise.
* testsuite/vector/modifiers/emplace/self_emplace.cc: Likewise.
* testsuite/vector/modifiers/erase/1.cc: Likewise.
* testsuite/vector/modifiers/erase/moveable.cc: Likewise.
* testsuite/vector/modifiers/insert/1.cc: Likewise.
* testsuite/vector/modifiers/insert/self_insert.cc: Likewise.
* testsuite/vector/modifiers/moveable.cc: Likewise.
* testsuite/vector/modifiers/moveable2.cc: Likewise.
* testsuite/vector/modifiers/push_back/49836.cc: Likewise.
* testsuite/vector/modifiers/swap/1.cc: Likewise.
* testsuite/vector/modifiers/swap/2.cc: Likewise.
* testsuite/vector/modifiers/swap/3.cc: Likewise.
* testsuite/vector/zero_sized_allocations.cc: Likewise.
From-SVN: r241241
Marek Polacek [Mon, 17 Oct 2016 13:04:38 +0000 (13:04 +0000)]
Makefile.in (C_COMMON_OBJS): Add c-family/c-attribs.o.
* Makefile.in (C_COMMON_OBJS): Add c-family/c-attribs.o.
* c-attribs.c: New file.
* c-common.c: Move attributes handling to c-attribs.c.
(get_nonnull_operand): No longer static.
* c-common.h: Move the declarations from c-attribs.c to its own section.
From-SVN: r241238
Richard Biener [Mon, 17 Oct 2016 12:27:48 +0000 (12:27 +0000)]
bb-reorder.c (reorder_basic_blocks_simple): Clear BB_VISITED before using it.
2016-10-17 Richard Biener <rguenther@suse.de>
* bb-reorder.c (reorder_basic_blocks_simple): Clear BB_VISITED
before using it.
From-SVN: r241237
Jonathan Wakely [Mon, 17 Oct 2016 12:23:09 +0000 (13:23 +0100)]
PR77998 Remove std::thread::_Invoker::result_type
PR libstdc++/77998
* include/std/future (__future_base::_Deferred_state)
(__future_base::_Async_state_impl): Use decltype to deduce return
type, instead of _Invoker::result_type.
* include/std/thread (thread::_Invoker::operator()): Likewise.
(thread::_Invoker::result_type): Remove.
From-SVN: r241236
Jonathan Wakely [Mon, 17 Oct 2016 12:00:44 +0000 (13:00 +0100)]
PR77987 Fix unique_ptr<T[], D>::reset(U) for T != U
PR libstdc++/77987
* include/bits/unique_ptr.h (unique_ptr<T[], D>::reset<U>(U)): Copy
value to pointer of the correct type to swap, to support conversions
allowed by LWG 2118 / N4089.
* testsuite/20_util/unique_ptr/assign/assign_neg.cc: Move test for
incompatible deleters from ...
* testsuite/20_util/unique_ptr/assign/cv_qual.cc: ... here.
* testsuite/20_util/unique_ptr/modifiers/cv_qual.cc: Move tests for
incompatible pointers to ...
* testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: ... here. Move
destructor definition to base class. Test for invalid derived-to-base
conversion.
From-SVN: r241235
Jonathan Wakely [Mon, 17 Oct 2016 12:00:38 +0000 (13:00 +0100)]
Implement P0084R2, Emplace return type, for C++17
* doc/xml/manual/status_cxx2017.xml: Update status.
* doc/html/*: Regenerate.
* include/bits/deque.tcc (deque::emplace_front, deque::emplace_back):
Return a reference in C++17 mode.
* include/bits/forward_list.h (forward_list::emplace_front): Likewise.
* include/bits/stl_bvector.h (vector<bool>::emplace_back): Likewise.
* include/bits/stl_deque.h (deque::emplace_front, deque::emplace_back):
Likewise.
* include/bits/stl_list.h (list::emplace_front, list::emplace_back):
Likewise.
* include/bits/stl_queue.h (queue::emplace): Likewise.
* include/bits/stl_stack.h (stack::emplace): Likewise.
* include/bits/stl_vector.h (vector::emplace_back): Likewise.
* include/bits/vector.tcc (vector::emplace_back): Likewise.
* include/debug/deque (__gnu_debug::deque::emplace_front)
(__gnu_debug::deque::emplace_back): Likewise.
* include/debug/vector (__gnu_debug::vector::emplace_back): Likewise.
* testsuite/23_containers/deque/modifiers/emplace/cxx17_return.cc:
New.
* testsuite/23_containers/forward_list/modifiers/
emplace_cxx17_return.cc: New.
* testsuite/23_containers/list/modifiers/emplace/cxx17_return.cc: New.
* testsuite/23_containers/queue/members/emplace_cxx17_return.cc: New.
* testsuite/23_containers/stack/members/emplace_cxx17_return.cc: New.
* testsuite/23_containers/vector/bool/emplace_cxx17_return.cc: New.
* testsuite/23_containers/vector/modifiers/emplace/cxx17_return.cc:
New.
From-SVN: r241234
Eric Botcazou [Mon, 17 Oct 2016 08:52:32 +0000 (08:52 +0000)]
system-darwin-ppc64.ads (Support_64_Bit_Divides): Delete.
* system-darwin-ppc64.ads (Support_64_Bit_Divides): Delete.
* system-linux-armeb.ads (Support_64_Bit_Divides): Likewise.
* system-linux-mips.ads (Support_64_Bit_Divides): Likewise.
* system-linux-mips64el.ads (Support_64_Bit_Divides): Likewise.
* system-linux-mipsel.ads (Support_64_Bit_Divides): Likewise.
* system-linux-sparcv9.ads (Support_64_Bit_Divides): Likewise.
* system-rtems.ads (Support_64_Bit_Divides): Likewise.
From-SVN: r241230
Prathamesh Kulkarni [Mon, 17 Oct 2016 08:48:43 +0000 (08:48 +0000)]
re PR tree-optimization/71636 (Missed optimization in variable alignment test)
2016-10-17 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
PR tree-optimization/71636
* match.pd (x & ((1 << b) - 1) -> x & ~(~0 << b)): New pattern.
testsuite/
* gcc.dg/pr71636-1.c: New test-case.
* gcc.dg/pr71636-2.c: Likewise.
From-SVN: r241229
Richard Biener [Mon, 17 Oct 2016 07:28:57 +0000 (07:28 +0000)]
gimplify.c (gimplify_function_tree): Do not move the outer binds block.
2016-10-17 Richard Biener <rguenther@suse.de>
* gimplify.c (gimplify_function_tree): Do not move the outer
binds block.
From-SVN: r241228
Jakub Jelinek [Mon, 17 Oct 2016 06:53:00 +0000 (08:53 +0200)]
langhooks.h (struct lang_hooks_for_decls): Remove function_decl_explicit_p...
* langhooks.h (struct lang_hooks_for_decls): Remove
function_decl_explicit_p, function_decl_deleted_p and
function_decl_defaulted hooks. Add decl_dwarf_attribute hook.
* langhooks-def.h (lhd_decl_dwarf_attribute): Declare.
(LANG_HOOKS_FUNCTION_DECL_EXPLICIT_P,
LANG_HOOKS_FUNCTION_DECL_DELETED_P,
LANG_HOOKS_FUNCTION_DECL_DEFAULTED): Remove.
(LANG_HOOKS_DECL_DWARF_ATTRIBUTE): Define.
(LANG_HOOKS_DECLS): Remove LANG_HOOKS_FUNCTION_DECL_EXPLICIT_P,
LANG_HOOKS_FUNCTION_DECL_DELETED_P and
LANG_HOOKS_FUNCTION_DECL_DEFAULTED. Add
LANG_HOOKS_DECL_DWARF_ATTRIBUTE.
* langhooks.c (lhd_decl_dwarf_attribute): New function.
* dwarf2out.c (gen_subprogram_die): Use
lang_hooks.decls.decl_dwarf_attribute instead of
lang_hooks.decls.function_decl_*.
cp/
* cp-objcp-common.h (cp_function_decl_explicit_p,
cp_function_decl_deleted_p, cp_function_decl_defaulted): Remove.
(cp_decl_dwarf_attribute): Declare.
(LANG_HOOKS_FUNCTION_DECL_EXPLICIT_P,
LANG_HOOKS_FUNCTION_DECL_DELETED_P,
LANG_HOOKS_FUNCTION_DECL_DEFAULTED): Remove.
(LANG_HOOKS_DECL_DWARF_ATTRIBUTE): Redefine.
* cp-objcp-common.c (cp_function_decl_explicit_p,
cp_function_decl_deleted_p, cp_function_decl_defaulted): Remove.
(cp_decl_dwarf_attribute): New function.
From-SVN: r241227
GCC Administrator [Mon, 17 Oct 2016 00:16:14 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r241226
Paolo Carlini [Mon, 17 Oct 2016 00:02:57 +0000 (00:02 +0000)]
isblank.cc: Remove 'test' variables.
2016-10-16 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/22_locale/classification/isblank.cc: Remove 'test'
variables.
* testsuite/22_locale/codecvt/always_noconv/char/1.cc: Likewise.
* testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Likewise.
* testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Likewise.
* testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Likewise.
* testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Likewise.
* testsuite/22_locale/codecvt/codecvt_utf8/69703.cc: Likewise.
* testsuite/22_locale/codecvt/encoding/char/1.cc: Likewise.
* testsuite/22_locale/codecvt/encoding/wchar_t/1.cc: Likewise.
* testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Likewise.
* testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Likewise.
* testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Likewise.
* testsuite/22_locale/codecvt/in/char/1.cc: Likewise.
* testsuite/22_locale/codecvt/in/wchar_t/1.cc: Likewise.
* testsuite/22_locale/codecvt/in/wchar_t/2.cc: Likewise.
* testsuite/22_locale/codecvt/in/wchar_t/3.cc: Likewise.
* testsuite/22_locale/codecvt/in/wchar_t/4.cc: Likewise.
* testsuite/22_locale/codecvt/in/wchar_t/5.cc: Likewise.
* testsuite/22_locale/codecvt/in/wchar_t/6.cc: Likewise.
* testsuite/22_locale/codecvt/in/wchar_t/7.cc: Likewise.
* testsuite/22_locale/codecvt/in/wchar_t/8.cc: Likewise.
* testsuite/22_locale/codecvt/in/wchar_t/9.cc: Likewise.
* testsuite/22_locale/codecvt/length/char/1.cc: Likewise.
* testsuite/22_locale/codecvt/length/char/2.cc: Likewise.
* testsuite/22_locale/codecvt/length/wchar_t/1.cc: Likewise.
* testsuite/22_locale/codecvt/length/wchar_t/2.cc: Likewise.
* testsuite/22_locale/codecvt/length/wchar_t/3.cc: Likewise.
* testsuite/22_locale/codecvt/length/wchar_t/4.cc: Likewise.
* testsuite/22_locale/codecvt/length/wchar_t/5.cc: Likewise.
* testsuite/22_locale/codecvt/length/wchar_t/6.cc: Likewise.
* testsuite/22_locale/codecvt/length/wchar_t/7.cc: Likewise.
* testsuite/22_locale/codecvt/max_length/char/1.cc: Likewise.
* testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Likewise.
* testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Likewise.
* testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Likewise.
* testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Likewise.
* testsuite/22_locale/codecvt/out/char/1.cc: Likewise.
* testsuite/22_locale/codecvt/out/wchar_t/1.cc: Likewise.
* testsuite/22_locale/codecvt/out/wchar_t/2.cc: Likewise.
* testsuite/22_locale/codecvt/out/wchar_t/3.cc: Likewise.
* testsuite/22_locale/codecvt/out/wchar_t/4.cc: Likewise.
* testsuite/22_locale/codecvt/out/wchar_t/5.cc: Likewise.
* testsuite/22_locale/codecvt/out/wchar_t/6.cc: Likewise.
* testsuite/22_locale/codecvt/out/wchar_t/7.cc: Likewise.
* testsuite/22_locale/codecvt/unshift/char/1.cc: Likewise.
* testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Likewise.
* testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Likewise.
* testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Likewise.
* testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Likewise.
* testsuite/22_locale/collate/compare/char/1.cc: Likewise.
* testsuite/22_locale/collate/compare/char/2.cc: Likewise.
* testsuite/22_locale/collate/compare/char/3.cc: Likewise.
* testsuite/22_locale/collate/compare/wchar_t/1.cc: Likewise.
* testsuite/22_locale/collate/compare/wchar_t/2.cc: Likewise.
* testsuite/22_locale/collate/compare/wchar_t/3.cc: Likewise.
* testsuite/22_locale/collate/hash/char/1.cc: Likewise.
* testsuite/22_locale/collate/hash/char/2.cc: Likewise.
* testsuite/22_locale/collate/hash/wchar_t/1.cc: Likewise.
* testsuite/22_locale/collate/hash/wchar_t/2.cc: Likewise.
* testsuite/22_locale/collate/transform/char/2.cc: Likewise.
* testsuite/22_locale/collate/transform/char/28277.cc: Likewise.
* testsuite/22_locale/collate/transform/char/3.cc: Likewise.
* testsuite/22_locale/collate/transform/wchar_t/2.cc: Likewise.
* testsuite/22_locale/collate/transform/wchar_t/28277.cc: Likewise.
* testsuite/22_locale/collate/transform/wchar_t/3.cc: Likewise.
* testsuite/22_locale/collate_byname/named_equivalence.cc: Likewise.
* testsuite/22_locale/ctype/cons/char/1.cc: Likewise.
* testsuite/22_locale/ctype/is/char/1.cc: Likewise.
* testsuite/22_locale/ctype/is/char/2.cc: Likewise.
* testsuite/22_locale/ctype/is/char/3.cc: Likewise.
* testsuite/22_locale/ctype/is/char/9858.cc: Likewise.
* testsuite/22_locale/ctype/is/wchar_t/1.cc: Likewise.
* testsuite/22_locale/ctype/is/wchar_t/11740.cc: Likewise.
* testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
* testsuite/22_locale/ctype/narrow/char/1.cc: Likewise.
* testsuite/22_locale/ctype/narrow/char/19955.cc: Likewise.
* testsuite/22_locale/ctype/narrow/char/2.cc: Likewise.
* testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Likewise.
* testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Likewise.
* testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Likewise.
* testsuite/22_locale/ctype/scan/char/1.cc: Likewise.
* testsuite/22_locale/ctype/scan/wchar_t/1.cc: Likewise.
* testsuite/22_locale/ctype/to/char/1.cc: Likewise.
* testsuite/22_locale/ctype/to/wchar_t/1.cc: Likewise.
* testsuite/22_locale/ctype/widen/char/1.cc: Likewise.
* testsuite/22_locale/ctype/widen/wchar_t/1.cc: Likewise.
* testsuite/22_locale/ctype/widen/wchar_t/2.cc: Likewise.
* testsuite/22_locale/ctype/widen/wchar_t/3.cc: Likewise.
* testsuite/22_locale/ctype_base/11844.cc: Likewise.
* testsuite/22_locale/facet/1.cc: Likewise.
* testsuite/22_locale/facet/2.cc: Likewise.
* testsuite/22_locale/facet/25421.cc: Likewise.
* testsuite/22_locale/global_templates/1.cc: Likewise.
* testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
Likewise.
* testsuite/22_locale/global_templates/user_facet_hierarchies.cc:
Likewise.
* testsuite/22_locale/locale/13630.cc: Likewise.
* testsuite/22_locale/locale/cons/12352.cc: Likewise.
* testsuite/22_locale/locale/cons/12438.cc: Likewise.
* testsuite/22_locale/locale/cons/2.cc: Likewise.
* testsuite/22_locale/locale/cons/29217.cc: Likewise.
* testsuite/22_locale/locale/cons/38365.cc: Likewise.
* testsuite/22_locale/locale/cons/38368.cc: Likewise.
* testsuite/22_locale/locale/cons/4.cc: Likewise.
* testsuite/22_locale/locale/cons/40184.cc: Likewise.
* testsuite/22_locale/locale/cons/5.cc: Likewise.
* testsuite/22_locale/locale/cons/6.cc: Likewise.
* testsuite/22_locale/locale/cons/7.cc: Likewise.
* testsuite/22_locale/locale/cons/7222-c.cc: Likewise.
* testsuite/22_locale/locale/cons/7222-env.cc: Likewise.
* testsuite/22_locale/locale/cons/8.cc: Likewise.
* testsuite/22_locale/locale/cons/unicode.cc: Likewise.
* testsuite/22_locale/locale/global_locale_objects/1.cc: Likewise.
* testsuite/22_locale/locale/global_locale_objects/14071.cc: Likewise.
* testsuite/22_locale/locale/global_locale_objects/2.cc: Likewise.
* testsuite/22_locale/locale/global_locale_objects/3.cc: Likewise.
* testsuite/22_locale/locale/operations/1.cc: Likewise.
* testsuite/22_locale/locale/operations/2.cc: Likewise.
* testsuite/22_locale/messages/13631.cc: Likewise.
* testsuite/22_locale/messages/members/char/1.cc: Likewise.
* testsuite/22_locale/messages/members/char/2.cc: Likewise.
* testsuite/22_locale/messages/members/char/3.cc: Likewise.
* testsuite/22_locale/messages_byname/named_equivalence.cc: Likewise.
* testsuite/22_locale/money_get/get/char/1.cc: Likewise.
* testsuite/22_locale/money_get/get/char/10.cc: Likewise.
* testsuite/22_locale/money_get/get/char/11.cc: Likewise.
* testsuite/22_locale/money_get/get/char/11528.cc: Likewise.
* testsuite/22_locale/money_get/get/char/12.cc: Likewise.
* testsuite/22_locale/money_get/get/char/13.cc: Likewise.
* testsuite/22_locale/money_get/get/char/14.cc: Likewise.
* testsuite/22_locale/money_get/get/char/15.cc: Likewise.
* testsuite/22_locale/money_get/get/char/16.cc: Likewise.
* testsuite/22_locale/money_get/get/char/17.cc: Likewise.
* testsuite/22_locale/money_get/get/char/18.cc: Likewise.
* testsuite/22_locale/money_get/get/char/19.cc: Likewise.
* testsuite/22_locale/money_get/get/char/2.cc: Likewise.
* testsuite/22_locale/money_get/get/char/22131.cc: Likewise.
* testsuite/22_locale/money_get/get/char/3.cc: Likewise.
* testsuite/22_locale/money_get/get/char/38399.cc: Likewise.
* testsuite/22_locale/money_get/get/char/39168.cc: Likewise.
* testsuite/22_locale/money_get/get/char/4.cc: Likewise.
* testsuite/22_locale/money_get/get/char/5.cc: Likewise.
* testsuite/22_locale/money_get/get/char/6.cc: Likewise.
* testsuite/22_locale/money_get/get/char/7.cc: Likewise.
* testsuite/22_locale/money_get/get/char/8.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/10.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/11.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/11528.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/12.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/13.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/14.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/15.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/16.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/17.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/18.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/19.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/22131.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/38399.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/39168.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/5.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/6.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/7.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/8.cc: Likewise.
* testsuite/22_locale/money_put/put/char/1.cc: Likewise.
* testsuite/22_locale/money_put/put/char/12971.cc: Likewise.
* testsuite/22_locale/money_put/put/char/2.cc: Likewise.
* testsuite/22_locale/money_put/put/char/3.cc: Likewise.
* testsuite/22_locale/money_put/put/char/39168.cc: Likewise.
* testsuite/22_locale/money_put/put/char/4.cc: Likewise.
* testsuite/22_locale/money_put/put/char/5.cc: Likewise.
* testsuite/22_locale/money_put/put/char/6.cc: Likewise.
* testsuite/22_locale/money_put/put/char/9780-3.cc: Likewise.
* testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise.
* testsuite/22_locale/money_put/put/wchar_t/12971.cc: Likewise.
* testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
* testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
* testsuite/22_locale/money_put/put/wchar_t/39168.cc: Likewise.
* testsuite/22_locale/money_put/put/wchar_t/4.cc: Likewise.
* testsuite/22_locale/money_put/put/wchar_t/5.cc: Likewise.
* testsuite/22_locale/money_put/put/wchar_t/6.cc: Likewise.
* testsuite/22_locale/moneypunct/40712.cc: Likewise.
* testsuite/22_locale/moneypunct/members/char/1.cc: Likewise.
* testsuite/22_locale/moneypunct/members/char/2.cc: Likewise.
* testsuite/22_locale/moneypunct/members/wchar_t/1.cc: Likewise.
* testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Likewise.
* testsuite/22_locale/moneypunct/requirements/false/intl.cc: Likewise.
* testsuite/22_locale/moneypunct/requirements/true/intl.cc: Likewise.
* testsuite/22_locale/moneypunct_byname/named_equivalence.cc: Likewise.
* testsuite/22_locale/num_get/get/char/1.cc: Likewise.
* testsuite/22_locale/num_get/get/char/10.cc: Likewise.
* testsuite/22_locale/num_get/get/char/11.cc: Likewise.
* testsuite/22_locale/num_get/get/char/12.cc: Likewise.
* testsuite/22_locale/num_get/get/char/13.cc: Likewise.
* testsuite/22_locale/num_get/get/char/14.cc: Likewise.
* testsuite/22_locale/num_get/get/char/15.cc: Likewise.
* testsuite/22_locale/num_get/get/char/16.cc: Likewise.
* testsuite/22_locale/num_get/get/char/2.cc: Likewise.
* testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
* testsuite/22_locale/num_get/get/char/23953.cc: Likewise.
* testsuite/22_locale/num_get/get/char/3.cc: Likewise.
* testsuite/22_locale/num_get/get/char/37958.cc: Likewise.
* testsuite/22_locale/num_get/get/char/39168.cc: Likewise.
* testsuite/22_locale/num_get/get/char/39802.cc: Likewise.
* testsuite/22_locale/num_get/get/char/4.cc: Likewise.
* testsuite/22_locale/num_get/get/char/5.cc: Likewise.
* testsuite/22_locale/num_get/get/char/6.cc: Likewise.
* testsuite/22_locale/num_get/get/char/7.cc: Likewise.
* testsuite/22_locale/num_get/get/char/8.cc: Likewise.
* testsuite/22_locale/num_get/get/char/9.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/11.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/13.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/14.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/15.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/2.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/23953.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/3.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/37958.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/39168.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/39802.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/4.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/5.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/6.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/7.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/8.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/9.cc: Likewise.
* testsuite/22_locale/num_put/put/char/1.cc: Likewise.
* testsuite/22_locale/num_put/put/char/10.cc: Likewise.
* testsuite/22_locale/num_put/put/char/11.cc: Likewise.
* testsuite/22_locale/num_put/put/char/12.cc: Likewise.
* testsuite/22_locale/num_put/put/char/14220.cc: Likewise.
* testsuite/22_locale/num_put/put/char/15565.cc: Likewise.
* testsuite/22_locale/num_put/put/char/2.cc: Likewise.
* testsuite/22_locale/num_put/put/char/20909.cc: Likewise.
* testsuite/22_locale/num_put/put/char/20914.cc: Likewise.
* testsuite/22_locale/num_put/put/char/23953.cc: Likewise.
* testsuite/22_locale/num_put/put/char/3.cc: Likewise.
* testsuite/22_locale/num_put/put/char/38196.cc: Likewise.
* testsuite/22_locale/num_put/put/char/38210.cc: Likewise.
* testsuite/22_locale/num_put/put/char/4.cc: Likewise.
* testsuite/22_locale/num_put/put/char/5.cc: Likewise.
* testsuite/22_locale/num_put/put/char/6.cc: Likewise.
* testsuite/22_locale/num_put/put/char/7.cc: Likewise.
* testsuite/22_locale/num_put/put/char/8.cc: Likewise.
* testsuite/22_locale/num_put/put/char/9.cc: Likewise.
* testsuite/22_locale/num_put/put/char/9780-2.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/1.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/10.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/11.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/12.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/14220.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/15565.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/2.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/23953.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/38196.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/38210.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/4.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/8.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/9.cc: Likewise.
* testsuite/22_locale/numpunct/members/char/1.cc: Likewise.
* testsuite/22_locale/numpunct/members/char/2.cc: Likewise.
* testsuite/22_locale/numpunct/members/char/3.cc: Likewise.
* testsuite/22_locale/numpunct/members/char/cache_1.cc: Likewise.
* testsuite/22_locale/numpunct/members/char/cache_2.cc: Likewise.
* testsuite/22_locale/numpunct/members/pod/1.cc: Likewise.
* testsuite/22_locale/numpunct/members/wchar_t/1.cc: Likewise.
* testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.
* testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: Likewise.
* testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: Likewise.
* testsuite/22_locale/numpunct_byname/named_equivalence.cc: Likewise.
* testsuite/22_locale/time_get/date_order/char/1.cc: Likewise.
* testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Likewise.
* testsuite/22_locale/time_get/get/char/1.cc: Likewise.
* testsuite/22_locale/time_get/get/char/2.cc: Likewise.
* testsuite/22_locale/time_get/get/wchar_t/1.cc: Likewise.
* testsuite/22_locale/time_get/get/wchar_t/2.cc: Likewise.
* testsuite/22_locale/time_get/get_date/char/1.cc: Likewise.
* testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
* testsuite/22_locale/time_get/get_date/char/12791.cc: Likewise.
* testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.
* testsuite/22_locale/time_get/get_date/char/26701.cc: Likewise.
* testsuite/22_locale/time_get/get_date/char/3.cc: Likewise.
* testsuite/22_locale/time_get/get_date/char/5.cc: Likewise.
* testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Likewise.
* testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
* testsuite/22_locale/time_get/get_date/wchar_t/12791.cc: Likewise.
* testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.
* testsuite/22_locale/time_get/get_date/wchar_t/26701.cc: Likewise.
* testsuite/22_locale/time_get/get_date/wchar_t/3.cc: Likewise.
* testsuite/22_locale/time_get/get_date/wchar_t/4.cc: Likewise.
* testsuite/22_locale/time_get/get_date/wchar_t/5.cc: Likewise.
* testsuite/22_locale/time_get/get_monthname/char/1.cc: Likewise.
* testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.
* testsuite/22_locale/time_get/get_monthname/char/3.cc: Likewise.
* testsuite/22_locale/time_get/get_monthname/char/4.cc: Likewise.
* testsuite/22_locale/time_get/get_monthname/char/5.cc: Likewise.
* testsuite/22_locale/time_get/get_monthname/char/6.cc: Likewise.
* testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise.
* testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
* testsuite/22_locale/time_get/get_monthname/wchar_t/3.cc: Likewise.
* testsuite/22_locale/time_get/get_monthname/wchar_t/4.cc: Likewise.
* testsuite/22_locale/time_get/get_monthname/wchar_t/5.cc: Likewise.
* testsuite/22_locale/time_get/get_monthname/wchar_t/6.cc: Likewise.
* testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
* testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
* testsuite/22_locale/time_get/get_time/char/3.cc: Likewise.
* testsuite/22_locale/time_get/get_time/char/4.cc: Likewise.
* testsuite/22_locale/time_get/get_time/char/5.cc: Likewise.
* testsuite/22_locale/time_get/get_time/char/6.cc: Likewise.
* testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
* testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
* testsuite/22_locale/time_get/get_time/wchar_t/3.cc: Likewise.
* testsuite/22_locale/time_get/get_time/wchar_t/4.cc: Likewise.
* testsuite/22_locale/time_get/get_time/wchar_t/5.cc: Likewise.
* testsuite/22_locale/time_get/get_time/wchar_t/6.cc: Likewise.
* testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise.
* testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
* testsuite/22_locale/time_get/get_weekday/char/3.cc: Likewise.
* testsuite/22_locale/time_get/get_weekday/char/38081-1.cc: Likewise.
* testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise.
* testsuite/22_locale/time_get/get_weekday/char/5.cc: Likewise.
* testsuite/22_locale/time_get/get_weekday/char/6.cc: Likewise.
* testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise.
* testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
* testsuite/22_locale/time_get/get_weekday/wchar_t/3.cc: Likewise.
* testsuite/22_locale/time_get/get_weekday/wchar_t/5.cc: Likewise.
* testsuite/22_locale/time_get/get_weekday/wchar_t/6.cc: Likewise.
* testsuite/22_locale/time_get/get_year/char/1.cc: Likewise.
* testsuite/22_locale/time_get/get_year/char/3.cc: Likewise.
* testsuite/22_locale/time_get/get_year/char/5.cc: Likewise.
* testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Likewise.
* testsuite/22_locale/time_get/get_year/wchar_t/3.cc: Likewise.
* testsuite/22_locale/time_get/get_year/wchar_t/5.cc: Likewise.
* testsuite/22_locale/time_put/put/char/1.cc: Likewise.
* testsuite/22_locale/time_put/put/char/10.cc: Likewise.
* testsuite/22_locale/time_put/put/char/12439_1.cc: Likewise.
* testsuite/22_locale/time_put/put/char/12439_3.cc: Likewise.
* testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
* testsuite/22_locale/time_put/put/char/2.cc: Likewise.
* testsuite/22_locale/time_put/put/char/3.cc: Likewise.
* testsuite/22_locale/time_put/put/char/4.cc: Likewise.
* testsuite/22_locale/time_put/put/char/5.cc: Likewise.
* testsuite/22_locale/time_put/put/char/6.cc: Likewise.
* testsuite/22_locale/time_put/put/char/7.cc: Likewise.
* testsuite/22_locale/time_put/put/char/8.cc: Likewise.
* testsuite/22_locale/time_put/put/char/9.cc: Likewise.
* testsuite/22_locale/time_put/put/char/9780-1.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/10.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/9.cc: Likewise.
* testsuite/30_threads/async/42819.cc: Likewise.
* testsuite/30_threads/async/any.cc: Likewise.
* testsuite/30_threads/async/async.cc: Likewise.
* testsuite/30_threads/async/except.cc: Likewise.
* testsuite/30_threads/async/launch.cc: Likewise.
* testsuite/30_threads/async/sync.cc: Likewise.
* testsuite/30_threads/call_once/call_once1.cc: Likewise.
* testsuite/30_threads/condition_variable/cons/1.cc: Likewise.
* testsuite/30_threads/condition_variable/members/1.cc: Likewise.
* testsuite/30_threads/condition_variable/members/2.cc: Likewise.
* testsuite/30_threads/condition_variable/members/3.cc: Likewise.
* testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise.
* testsuite/30_threads/condition_variable_any/members/1.cc: Likewise.
* testsuite/30_threads/condition_variable_any/members/2.cc: Likewise.
* testsuite/30_threads/future/members/45133.cc: Likewise.
* testsuite/30_threads/future/members/get.cc: Likewise.
* testsuite/30_threads/future/members/get2.cc: Likewise.
* testsuite/30_threads/future/members/share.cc: Likewise.
* testsuite/30_threads/future/members/valid.cc: Likewise.
* testsuite/30_threads/future/members/wait_for.cc: Likewise.
* testsuite/30_threads/future/members/wait_until.cc: Likewise.
* testsuite/30_threads/lock/1.cc: Likewise.
* testsuite/30_threads/lock/2.cc: Likewise.
* testsuite/30_threads/lock/3.cc: Likewise.
* testsuite/30_threads/lock/4.cc: Likewise.
* testsuite/30_threads/lock_guard/cons/1.cc: Likewise.
* testsuite/30_threads/mutex/cons/1.cc: Likewise.
* testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
* testsuite/30_threads/mutex/lock/1.cc: Likewise.
* testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
* testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
* testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
* testsuite/30_threads/mutex/unlock/1.cc: Likewise.
* testsuite/30_threads/packaged_task/cons/1.cc: Likewise.
* testsuite/30_threads/packaged_task/cons/2.cc: Likewise.
* testsuite/30_threads/packaged_task/cons/alloc.cc: Likewise.
* testsuite/30_threads/packaged_task/cons/move.cc: Likewise.
* testsuite/30_threads/packaged_task/cons/move_assign.cc: Likewise.
* testsuite/30_threads/packaged_task/members/at_thread_exit.cc:
Likewise.
* testsuite/30_threads/packaged_task/members/get_future.cc: Likewise.
* testsuite/30_threads/packaged_task/members/invoke.cc: Likewise.
* testsuite/30_threads/packaged_task/members/invoke5.cc: Likewise.
* testsuite/30_threads/packaged_task/members/reset2.cc: Likewise.
* testsuite/30_threads/packaged_task/members/swap.cc: Likewise.
* testsuite/30_threads/packaged_task/members/valid.cc: Likewise.
* testsuite/30_threads/promise/cons/move.cc: Likewise.
* testsuite/30_threads/promise/cons/move_assign.cc: Likewise.
* testsuite/30_threads/promise/members/at_thread_exit.cc: Likewise.
* testsuite/30_threads/promise/members/get_future.cc: Likewise.
* testsuite/30_threads/promise/members/set_value.cc: Likewise.
* testsuite/30_threads/promise/members/set_value3.cc: Likewise.
* testsuite/30_threads/promise/members/swap.cc: Likewise.
* testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise.
* testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc:
Likewise.
* testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise.
* testsuite/30_threads/recursive_mutex/native_handle/1.cc: Likewise.
* testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
* testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
* testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise.
* testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise.
* testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc:
Likewise.
* testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise.
* testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise.
* testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc:
Likewise.
* testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise.
* testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise.
* testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
Likewise.
* testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
Likewise.
* testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
Likewise.
* testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
Likewise.
* testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
Likewise.
* testsuite/30_threads/recursive_timed_mutex/unlock/1.cc: Likewise.
* testsuite/30_threads/shared_future/members/45133.cc: Likewise.
* testsuite/30_threads/shared_future/members/get.cc: Likewise.
* testsuite/30_threads/shared_future/members/get2.cc: Likewise.
* testsuite/30_threads/shared_future/members/valid.cc: Likewise.
* testsuite/30_threads/shared_future/members/wait_for.cc: Likewise.
* testsuite/30_threads/shared_future/members/wait_until.cc: Likewise.
* testsuite/30_threads/shared_lock/cons/1.cc: Likewise.
* testsuite/30_threads/shared_lock/cons/2.cc: Likewise.
* testsuite/30_threads/shared_lock/cons/3.cc: Likewise.
* testsuite/30_threads/shared_lock/cons/4.cc: Likewise.
* testsuite/30_threads/shared_lock/cons/5.cc: Likewise.
* testsuite/30_threads/shared_lock/cons/6.cc: Likewise.
* testsuite/30_threads/shared_lock/locking/1.cc: Likewise.
* testsuite/30_threads/shared_lock/locking/2.cc: Likewise.
* testsuite/30_threads/shared_lock/locking/3.cc: Likewise.
* testsuite/30_threads/shared_lock/locking/4.cc: Likewise.
* testsuite/30_threads/shared_lock/modifiers/1.cc: Likewise.
* testsuite/30_threads/shared_mutex/cons/1.cc: Likewise.
* testsuite/30_threads/shared_mutex/try_lock/1.cc: Likewise.
* testsuite/30_threads/shared_mutex/try_lock/2.cc: Likewise.
* testsuite/30_threads/shared_timed_mutex/cons/1.cc: Likewise.
* testsuite/30_threads/shared_timed_mutex/try_lock/1.cc: Likewise.
* testsuite/30_threads/shared_timed_mutex/try_lock/2.cc: Likewise.
* testsuite/30_threads/shared_timed_mutex/try_lock/3.cc: Likewise.
* testsuite/30_threads/this_thread/1.cc: Likewise.
* testsuite/30_threads/this_thread/2.cc: Likewise.
* testsuite/30_threads/this_thread/3.cc: Likewise.
* testsuite/30_threads/this_thread/4.cc: Likewise.
* testsuite/30_threads/this_thread/60421.cc: Likewise.
* testsuite/30_threads/thread/cons/1.cc: Likewise.
* testsuite/30_threads/thread/cons/2.cc: Likewise.
* testsuite/30_threads/thread/cons/3.cc: Likewise.
* testsuite/30_threads/thread/cons/4.cc: Likewise.
* testsuite/30_threads/thread/cons/5.cc: Likewise.
* testsuite/30_threads/thread/cons/6.cc: Likewise.
* testsuite/30_threads/thread/cons/7.cc: Likewise.
* testsuite/30_threads/thread/cons/8.cc: Likewise.
* testsuite/30_threads/thread/cons/9.cc: Likewise.
* testsuite/30_threads/thread/cons/moveable.cc: Likewise.
* testsuite/30_threads/thread/members/1.cc: Likewise.
* testsuite/30_threads/thread/members/2.cc: Likewise.
* testsuite/30_threads/thread/members/3.cc: Likewise.
* testsuite/30_threads/thread/members/hardware_concurrency.cc: Likewise.
* testsuite/30_threads/thread/swap/1.cc: Likewise.
* testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
* testsuite/30_threads/timed_mutex/dest/destructor_locked.cc: Likewise.
* testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
* testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise.
* testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
* testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
* testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise.
* testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise.
* testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise.
* testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise.
* testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise.
* testsuite/30_threads/timed_mutex/try_lock_until/57641.cc: Likewise.
* testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
* testsuite/30_threads/try_lock/1.cc: Likewise.
* testsuite/30_threads/try_lock/2.cc: Likewise.
* testsuite/30_threads/try_lock/3.cc: Likewise.
* testsuite/30_threads/try_lock/4.cc: Likewise.
* testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
* testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
* testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
* testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
* testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
* testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
* testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
* testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
* testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
* testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
* testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
* testsuite/tr1/2_general_utilities/enable_shared_from_this/
not_shared.cc: Likewise.
* testsuite/tr1/2_general_utilities/enable_shared_from_this/
not_shared2.cc: Likewise.
* testsuite/tr1/2_general_utilities/enable_shared_from_this/
not_shared3.cc: Likewise.
* testsuite/tr1/2_general_utilities/enable_shared_from_this/
shared.cc: Likewise.
* testsuite/tr1/2_general_utilities/enable_shared_from_this/
still_shared.cc: Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/assign/assign.cc:
Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr.cc:
Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_neg.cc:
Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/assign/
auto_ptr_rvalue_neg.cc: Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/assign/shared_ptr.cc:
Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/assign/
shared_ptr_neg.cc: Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr.cc:
Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr_neg.cc:
Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/cons/copy.cc: Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/cons/default.cc:
Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/cons/pointer.cc:
Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/cons/weak_ptr.cc:
Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/dest/dest.cc: Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/misc/24595.cc: Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/misc/io.cc: Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/misc/swap.cc: Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/modifiers/reset.cc:
Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/modifiers/reset_neg.cc:
Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/modifiers/swap.cc:
Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/modifiers/swap_neg.cc:
Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/observers/bool_conv.cc:
Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/observers/get.cc:
Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/observers/unique.cc:
Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/observers/use_count.cc:
Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/thread/
default_weaktoshared.cc: Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/thread/
mutex_weaktoshared.cc: Likewise.
* testsuite/tr1/3_function_objects/bind/all_bound.cc: Likewise.
* testsuite/tr1/3_function_objects/bind/mixed.cc: Likewise.
* testsuite/tr1/3_function_objects/bind/nested.cc: Likewise.
* testsuite/tr1/3_function_objects/bind/placeholders.cc: Likewise.
* testsuite/tr1/3_function_objects/bind/ref.cc: Likewise.
* testsuite/tr1/3_function_objects/function/1.cc: Likewise.
* testsuite/tr1/3_function_objects/function/2.cc: Likewise.
* testsuite/tr1/3_function_objects/function/3.cc: Likewise.
* testsuite/tr1/3_function_objects/function/4.cc: Likewise.
* testsuite/tr1/3_function_objects/function/5.cc: Likewise.
* testsuite/tr1/3_function_objects/function/6.cc: Likewise.
* testsuite/tr1/3_function_objects/function/7.cc: Likewise.
* testsuite/tr1/3_function_objects/function/8.cc: Likewise.
* testsuite/tr1/3_function_objects/function/9.cc: Likewise.
* testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
Likewise.
* testsuite/tr1/3_function_objects/reference_wrapper/typedefs.cc:
Likewise.
* testsuite/tr1/3_function_objects/result_of.cc: Likewise.
* testsuite/tr1/4_metaprogramming/add_const/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/add_cv/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/add_pointer/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/add_reference/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/add_volatile/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/aligned_storage/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/alignment_of/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/extent/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/has_nothrow_assign/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/has_nothrow_constructor/value.cc:
Likewise.
* testsuite/tr1/4_metaprogramming/has_nothrow_copy/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/has_trivial_assign/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/has_trivial_constructor/value.cc:
Likewise.
* testsuite/tr1/4_metaprogramming/has_trivial_copy/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/has_trivial_destructor/value.cc:
Likewise.
* testsuite/tr1/4_metaprogramming/has_virtual_destructor/value.cc:
Likewise.
* testsuite/tr1/4_metaprogramming/integral_constant/
static_definition.cc: Likewise.
* testsuite/tr1/4_metaprogramming/integral_constant/
true_false_value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/is_abstract/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/is_arithmetic/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/is_array/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/is_base_of/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/is_class/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/is_compound/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/is_const/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/is_convertible/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/is_empty/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/is_enum/24808.cc: Likewise.
* testsuite/tr1/4_metaprogramming/is_enum/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/is_floating_point/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/is_function/24808.cc: Likewise.
* testsuite/tr1/4_metaprogramming/is_function/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/is_fundamental/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/is_integral/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/is_member_function_pointer/value.cc:
Likewise.
* testsuite/tr1/4_metaprogramming/is_member_object_pointer/value.cc:
Likewise.
* testsuite/tr1/4_metaprogramming/is_member_pointer/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/is_object/24808.cc: Likewise.
* testsuite/tr1/4_metaprogramming/is_object/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/is_pod/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/is_pointer/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/is_polymorphic/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/is_reference/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/is_same/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/is_scalar/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/is_signed/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/is_union/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/is_unsigned/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/is_void/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/is_volatile/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/rank/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/remove_all_extents/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/remove_const/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/remove_cv/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/remove_extent/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/remove_pointer/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/remove_reference/value.cc: Likewise.
* testsuite/tr1/4_metaprogramming/remove_volatile/value.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/discard_block/operators/
equal.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/discard_block/operators/
not_equal.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/discard_block/operators/
serialize.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/linear_congruential/
cons/default.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/linear_congruential/
cons/gen1.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/linear_congruential/
operators/equal.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/linear_congruential/
operators/not_equal.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/linear_congruential/
operators/serialize.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/mersenne_twister/
cons/default.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/mersenne_twister/
cons/gen1.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/mersenne_twister/
operators/equal.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/mersenne_twister/
operators/not_equal.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/mersenne_twister/
operators/serialize.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/minstd_rand.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/minstd_rand0.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/mt19937.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/random_device/cons/
default.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/random_device/cons/
token.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/ranlux3.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/ranlux3_01.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/ranlux4.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/ranlux4_01.cc
* testsuite/tr1/5_numerical_facilities/random/subtract_with_carry/
cons/default.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/subtract_with_carry/
cons/gen1.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/subtract_with_carry/
operators/equal.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/subtract_with_carry/
operators/not_equal.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/subtract_with_carry/
operators/serialize.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/subtract_with_carry_01/
cons/default.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/subtract_with_carry_01/
cons/gen1.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/subtract_with_carry_01/
operators/equal.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/subtract_with_carry_01/
operators/not_equal.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/subtract_with_carry_01/
operators/serialize.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/uniform_int/33128.cc:
Likewise.
* testsuite/tr1/5_numerical_facilities/random/uniform_int/cons/
default.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/uniform_int/cons/
range.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/xor_combine/cons/
default.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/xor_combine/operators/
equal.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/xor_combine/operators/
not_equal.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/xor_combine/operators/
serialize.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/special_functions/
08_cyl_bessel_i/check_value.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/special_functions/
08_cyl_bessel_i/pr56216.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/special_functions/
09_cyl_bessel_j/check_value.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/special_functions/
10_cyl_bessel_k/check_value.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/special_functions/
11_cyl_neumann/check_value.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/special_functions/
16_hermite/check_value.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/special_functions/
21_sph_bessel/check_value.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/special_functions/
23_sph_neumann/check_value.cc: Likewise.
* testsuite/tr1/6_containers/array/capacity/empty.cc: Likewise.
* testsuite/tr1/6_containers/array/capacity/max_size.cc: Likewise.
* testsuite/tr1/6_containers/array/capacity/size.cc: Likewise.
* testsuite/tr1/6_containers/array/comparison_operators/equal.cc:
Likewise.
* testsuite/tr1/6_containers/array/comparison_operators/greater.cc:
Likewise.
* testsuite/tr1/6_containers/array/comparison_operators/
greater_or_equal.cc: Likewise.
* testsuite/tr1/6_containers/array/comparison_operators/less.cc:
Likewise.
* testsuite/tr1/6_containers/array/comparison_operators/
less_or_equal.cc: Likewise.
* testsuite/tr1/6_containers/array/comparison_operators/not_equal.cc:
Likewise.
* testsuite/tr1/6_containers/array/element_access/at_out_of_range.cc:
Likewise.
* testsuite/tr1/6_containers/array/element_access/back.cc: Likewise.
* testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
* testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
* testsuite/tr1/6_containers/array/iterators/end_is_one_past.cc:
Likewise.
* testsuite/tr1/6_containers/array/requirements/assign.cc: Likewise.
* testsuite/tr1/6_containers/array/requirements/contiguous.cc: Likewise.
* testsuite/tr1/6_containers/array/requirements/member_swap.cc:
Likewise.
* testsuite/tr1/6_containers/array/requirements/zero_sized_arrays.cc:
Likewise.
* testsuite/tr1/6_containers/array/specialized_algorithms/swap.cc:
Likewise.
* testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
* testsuite/tr1/6_containers/array/tuple_interface/tuple_element.cc:
Likewise.
* testsuite/tr1/6_containers/array/tuple_interface/tuple_size.cc:
Likewise.
* testsuite/tr1/6_containers/hash/24799.cc: Likewise.
* testsuite/tr1/6_containers/hash/operators/size_t.cc: Likewise.
*
testsuite/tr1/6_containers/tuple/comparison_operators/comparisons.cc:
Likewise.
* testsuite/tr1/6_containers/tuple/cons/assignment.cc: Likewise.
* testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: Likewise.
* testsuite/tr1/6_containers/tuple/cons/constructor.cc: Likewise.
* testsuite/tr1/6_containers/tuple/creation_functions/23978.cc:
Likewise.
* testsuite/tr1/6_containers/tuple/creation_functions/make_tuple.cc:
Likewise.
* testsuite/tr1/6_containers/tuple/creation_functions/tie.cc: Likewise.
* testsuite/tr1/6_containers/tuple/creation_functions/tie2.cc: Likewise.
* testsuite/tr1/6_containers/tuple/element_access/get.cc: Likewise.
* testsuite/tr1/6_containers/tuple/tuple_size.cc: Likewise.
* testsuite/tr1/6_containers/unordered_map/24064.cc: Likewise.
* testsuite/tr1/6_containers/unordered_map/capacity/29134-map.cc:
Likewise.
* testsuite/tr1/6_containers/unordered_map/erase/1.cc: Likewise.
* testsuite/tr1/6_containers/unordered_map/erase/24061-map.cc: Likewise.
* testsuite/tr1/6_containers/unordered_map/find/map1.cc: Likewise.
* testsuite/tr1/6_containers/unordered_map/insert/24061-map.cc:
Likewise.
* testsuite/tr1/6_containers/unordered_map/insert/array_syntax.cc:
Likewise.
* testsuite/tr1/6_containers/unordered_map/insert/map_range.cc:
Likewise.
* testsuite/tr1/6_containers/unordered_map/insert/map_single.cc:
Likewise.
* testsuite/tr1/6_containers/unordered_map/swap/1.cc: Likewise.
* testsuite/tr1/6_containers/unordered_map/swap/2.cc: Likewise.
* testsuite/tr1/6_containers/unordered_multimap/capacity/
29134-multimap.cc: Likewise.
* testsuite/tr1/6_containers/unordered_multimap/erase/1.cc: Likewise.
* testsuite/tr1/6_containers/unordered_multimap/erase/
24061-multimap.cc: Likewise.
* testsuite/tr1/6_containers/unordered_multimap/find/multimap1.cc:
Likewise.
* testsuite/tr1/6_containers/unordered_multimap/insert/
24061-multimap.cc: Likewise.
* testsuite/tr1/6_containers/unordered_multimap/insert/
multimap_range.cc: Likewise.
* testsuite/tr1/6_containers/unordered_multimap/insert/
multimap_single.cc: Likewise.
* testsuite/tr1/6_containers/unordered_multimap/swap/1.cc: Likewise.
* testsuite/tr1/6_containers/unordered_multimap/swap/2.cc: Likewise.
* testsuite/tr1/6_containers/unordered_multiset/24054.cc: Likewise.
* testsuite/tr1/6_containers/unordered_multiset/capacity/
29134-multiset.cc: Likewise.
* testsuite/tr1/6_containers/unordered_multiset/erase/1.cc: Likewise.
* testsuite/tr1/6_containers/unordered_multiset/erase/
24061-multiset.cc: Likewise.
* testsuite/tr1/6_containers/unordered_multiset/find/multiset1.cc:
Likewise.
* testsuite/tr1/6_containers/unordered_multiset/insert/
24061-multiset.cc: Likewise.
* testsuite/tr1/6_containers/unordered_multiset/insert/
multiset_range.cc: Likewise.
* testsuite/tr1/6_containers/unordered_multiset/insert/
multiset_single.cc: Likewise.
* testsuite/tr1/6_containers/unordered_multiset/swap/1.cc: Likewise.
* testsuite/tr1/6_containers/unordered_multiset/swap/2.cc: Likewise.
* testsuite/tr1/6_containers/unordered_set/23465.cc: Likewise.
* testsuite/tr1/6_containers/unordered_set/26132.cc: Likewise.
* testsuite/tr1/6_containers/unordered_set/capacity/29134-set.cc:
Likewise.
* testsuite/tr1/6_containers/unordered_set/erase/1.cc: Likewise.
* testsuite/tr1/6_containers/unordered_set/erase/24061-set.cc: Likewise.
* testsuite/tr1/6_containers/unordered_set/find/set1.cc: Likewise.
* testsuite/tr1/6_containers/unordered_set/insert/24061-set.cc:
Likewise.
* testsuite/tr1/6_containers/unordered_set/insert/set_range.cc:
Likewise.
* testsuite/tr1/6_containers/unordered_set/insert/set_single.cc:
Likewise.
* testsuite/tr1/6_containers/unordered_set/swap/1.cc: Likewise.
* testsuite/tr1/6_containers/unordered_set/swap/2.cc: Likewise.
* testsuite/tr1/6_containers/utility/pair.cc: Likewise.
* testsuite/tr1/7_regular_expressions/match_results/ctors/char/
default.cc: Likewise.
* testsuite/tr1/7_regular_expressions/regex_traits/char/
translate_nocase.cc: Likewise.
* testsuite/tr1/7_regular_expressions/regex_traits/char/value.cc:
Likewise.
* testsuite/tr1/7_regular_expressions/regex_traits/wchar_t/
translate_nocase.cc: Likewise.
* testsuite/tr1/7_regular_expressions/regex_traits/wchar_t/value.cc:
Likewise.
* testsuite/tr1/8_c_compatibility/complex/50880.cc: Likewise.
* testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: Likewise.
From-SVN: r241223
Eric Botcazou [Sun, 16 Oct 2016 20:13:32 +0000 (20:13 +0000)]
re PR ada/37139 (DEP prevents using Ada tasking)
PR ada/37139
PR ada/67205
* common.opt (-ftrampolines): New option.
* doc/invoke.texi (Code Gen Options): Document it.
* doc/tm.texi.in (Trampolines): Add TARGET_CUSTOM_FUNCTION_DESCRIPTORS.
* doc/tm.texi: Regenerate.
* builtins.def: Add init_descriptor and adjust_descriptor.
* builtins.c (expand_builtin_init_trampoline): Do not issue a warning
on platforms with descriptors.
(expand_builtin_init_descriptor): New function.
(expand_builtin_adjust_descriptor): Likewise.
(expand_builtin) <BUILT_IN_INIT_DESCRIPTOR>: New case.
<BUILT_IN_ADJUST_DESCRIPTOR>: Likewise.
* calls.c (prepare_call_address): Remove SIBCALLP parameter and add
FLAGS parameter. Deal with indirect calls by descriptor and adjust.
Set STATIC_CHAIN_REG_P on the static chain register, if any.
(call_expr_flags): Set ECF_BY_DESCRIPTOR for calls by descriptor.
(expand_call): Likewise. Move around call to prepare_call_address
and pass all flags to it.
* cfgexpand.c (expand_call_stmt): Reinstate CALL_EXPR_BY_DESCRIPTOR.
* gimple.h (enum gf_mask): New GF_CALL_BY_DESCRIPTOR value.
(gimple_call_set_by_descriptor): New setter.
(gimple_call_by_descriptor_p): New getter.
* gimple.c (gimple_build_call_from_tree): SetCALL_EXPR_BY_DESCRIPTOR.
(gimple_call_flags): Deal with GF_CALL_BY_DESCRIPTOR.
* langhooks.h (struct lang_hooks): Add custom_function_descriptors.
* langhooks-def.h (LANG_HOOKS_CUSTOM_FUNCTION_DESCRIPTORS): Define.
(LANG_HOOKS_INITIALIZER): Add LANG_HOOKS_CUSTOM_FUNCTION_DESCRIPTORS.
* rtl.h (STATIC_CHAIN_REG_P): New macro.
* rtlanal.c (find_first_parameter_load): Skip static chain registers.
* target.def (custom_function_descriptors): New POD hook.
* tree.h (FUNC_ADDR_BY_DESCRIPTOR): New flag on ADDR_EXPR.
(CALL_EXPR_BY_DESCRIPTOR): New flag on CALL_EXPR.
* tree-core.h (ECF_BY_DESCRIPTOR): New mask.
Document FUNC_ADDR_BY_DESCRIPTOR and CALL_EXPR_BY_DESCRIPTOR.
* tree.c (make_node_stat) <tcc_declaration>: Use FUNCTION_ALIGNMENT.
(build_common_builtin_nodes): Initialize init_descriptor and
adjust_descriptor.
* tree-nested.c: Include target.h.
(struct nesting_info): Add 'any_descr_created' field.
(get_descriptor_type): New function.
(lookup_element_for_decl): New function extracted from...
(create_field_for_decl): Likewise.
(lookup_tramp_for_decl): ...here. Adjust.
(lookup_descr_for_decl): New function.
(convert_tramp_reference_op): Deal with descriptors.
(build_init_call_stmt): New function extracted from...
(finalize_nesting_tree_1): ...here. Adjust and deal withdescriptors.
* defaults.h (FUNCTION_ALIGNMENT): Define.
(TRAMPOLINE_ALIGNMENT): Set to above instead of FUNCTION_BOUNDARY.
* config/i386/i386.h (TARGET_CUSTOM_FUNCTION_DESCRIPTORS): Define.
* config/ia64/ia64.h (TARGET_CUSTOM_FUNCTION_DESCRIPTORS): Likewise.
* config/rs6000/rs6000.h (TARGET_CUSTOM_FUNCTION_DESCRIPTORS):Likewise.
* config/sparc/sparc.h (TARGET_CUSTOM_FUNCTION_DESCRIPTORS): Likewise.
ada/
* gcc-interface/misc.c (LANG_HOOKS_CUSTOM_FUNCTION_DESCRIPTORS):Define.
* gcc-interface/trans.c (Attribute_to_gnu) <Attr_Access>: Deal with
a zero TARGET_CUSTOM_FUNCTION_DESCRIPTORS specially for Code_Address.
Otherwise, if TARGET_CUSTOM_FUNCTION_DESCRIPTORS is positive, set
FUNC_ADDR_BY_DESCRIPTOR for 'Access/'Unrestricted_Access of nested
subprograms if the type can use an internal representation.
(call_to_gnu): Likewise, but set CALL_EXPR_BY_DESCRIPTOR on indirect
calls if the type can use an internal representation.
From-SVN: r241222
Eric Botcazou [Sun, 16 Oct 2016 19:36:47 +0000 (19:36 +0000)]
sparc.c (sparc_expand_vector_init): Only accept literal constants in CONST_VECTORs.
* config/sparc/sparc.c (sparc_expand_vector_init): Only accept literal
constants in CONST_VECTORs.
From-SVN: r241218
Jerry DeLisle [Sun, 16 Oct 2016 16:29:46 +0000 (16:29 +0000)]
re PR fortran/48298 ([F03] User-Defined Derived-Type IO (DTIO))
2016-10-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/48298
* trans-io.c (transfer_expr): Ignore dtio procedures for inquire
with iolength.
* gfortran.dg/dtio_16.f90: New test.
From-SVN: r241216
Eric Botcazou [Sun, 16 Oct 2016 13:59:07 +0000 (13:59 +0000)]
system-aix.ads (Always_Compatible_Rep): Change to False.
* system-aix.ads (Always_Compatible_Rep): Change to False.
* system-aix64.ads (Always_Compatible_Rep): Likewise.
* system-hpux-ia64.ads (Always_Compatible_Rep): Likewise.
* system-hpux.ads (Always_Compatible_Rep): Likewise.
* system-linux-alpha.ads (Always_Compatible_Rep): Likewise.
* system-linux-hppa.ads (Always_Compatible_Rep): Likewise.
* system-linux-ia64.ads (Always_Compatible_Rep): Likewise.
* system-linux-mips.ads (Always_Compatible_Rep): Likewise.
* system-linux-mips64el.ads (Always_Compatible_Rep): Likewise.
* system-linux-mipsel.ads (Always_Compatible_Rep): Likewise.
* system-linux-s390.ads (Always_Compatible_Rep): Likewise.
* system-linux-s390x.ads (Always_Compatible_Rep): Likewise.
* system-linux-sh4.ads (Always_Compatible_Rep): Likewise.
* system-linux-sparc.ads (Always_Compatible_Rep): Likewise.
* system-linux-sparcv9.ads (Always_Compatible_Rep): Likewise.
* system-rtems.ads (Always_Compatible_Rep): Likewise.
From-SVN: r241213
Ville Voutilainen [Sun, 16 Oct 2016 13:31:43 +0000 (16:31 +0300)]
Make sure the return value of malloc_allocator::allocate is zero-initialized so...
Make sure the return value of malloc_allocator::allocate
is zero-initialized so that checking it for non-zero works
later.
* include/ext/malloc_allocator.h (malloc_allocator::allocate):
Initialize the return value.
* testsuite/ext/malloc_allocator/sanity.cc: New.
From-SVN: r241212
Janne Blomqvist [Sun, 16 Oct 2016 06:28:15 +0000 (09:28 +0300)]
PR 48587 Newunit allocator, cleanup
Improve error message, and remove a redundant check, as the same check is
done a bit earlier due to the PR 48587 patch.
2016-10-16 Janne Blomqvist <jb@gcc.gnu.org>
PR libfortran/48587
* io/transfer.c (data_transfer_init): Improve error message,
remove redundant check.
Regtested on x86_64-pc-linux-gnu.
From-SVN: r241211
GCC Administrator [Sun, 16 Oct 2016 00:16:15 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r241210
Eric Botcazou [Sat, 15 Oct 2016 22:40:12 +0000 (22:40 +0000)]
sparc.c (sparc_expand_vec_perm_bmask): Use a scratch register as destination of bmask.
* config/sparc/sparc.c (sparc_expand_vec_perm_bmask): Use a scratch
register as destination of bmask.
(vector_init_bshuffle): Likewise.
* config/sparc/sparc.md (vec_perm_constv8qi): Likewise.
(bmaskdi_vis): Enable only in 64-bit mode.
From-SVN: r241205
Jason Merrill [Sat, 15 Oct 2016 21:25:55 +0000 (17:25 -0400)]
PR c++/77945 - constexpr and trivial copy
* constexpr.c (maybe_simplify_trivial_copy): New.
(cxx_eval_store_expression): Call it.
* call.c (build_over_call): Use unsigned char for trivial copy.
From-SVN: r241204
Segher Boessenkool [Sat, 15 Oct 2016 21:01:43 +0000 (23:01 +0200)]
rs6000: Fix shrink-wrap-separate for AIX
All out-of-line register save routines need LR, so we cannot wrap the
LR component if there are out-of-line saves. This didn't show up for
testing on Linux because none of the tests there use out-of-line FPR
saves without also using out-of-line GPR saves, which we did handle.
This patch fixes it, and also cleans up code a little.
* config/rs6000/rs6000.c (rs6000_get_separate_components): Do not
make LR a separately shrink-wrapped component unless savres_strategy
contains all of {SAVE,REST}_INLINE_{GPRS,FPRS,VRS}. Do not wrap
GPRs unless both {SAVE,REST}_INLINE_GPRS. Do not disallow all
wrapping when not both {SAVE,REST}_INLINE_GPRS.
From-SVN: r241203
Eric Botcazou [Sat, 15 Oct 2016 18:46:02 +0000 (18:46 +0000)]
optabs.c (expand_parity): Fix mode mismatch, add final conversion and keep looping on failure.
* optabs.c (expand_parity): Fix mode mismatch, add final conversion
and keep looping on failure.
From-SVN: r241202
Jerry DeLisle [Sat, 15 Oct 2016 18:38:54 +0000 (18:38 +0000)]
re PR fortran/77972 (ICE on broken character continuation with -Wall etc.)
2016-10-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/77972
* scanner.c (gfc_next_char_literal): If nextc is null do not
decrement the pointer and call the diagnostics.
PR fortran/77972
* gfortran.dg/unexpected_eof_4.f90: New test.
From-SVN: r241201
Janne Blomqvist [Sat, 15 Oct 2016 13:15:26 +0000 (16:15 +0300)]
PR 48587 Newunit allocator
2016-10-15 Janne Blomqvist <jb@gcc.gnu.org>
PR libfortran/48587
* gfortran.dg/negative_unit2.f90: New testcase.
From-SVN: r241200
Janne Blomqvist [Sat, 15 Oct 2016 13:14:15 +0000 (16:14 +0300)]
PR 48587 Newunit allocator
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
Nathan Sidwell [Sat, 15 Oct 2016 11:08:10 +0000 (11:08 +0000)]
revert: diagnostic.c (diagnostic_action_after_output): Remove max error handling here ....
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
Ian Lance Taylor [Sat, 15 Oct 2016 00:29:06 +0000 (00:29 +0000)]
runtime: copy runtime package time code from Go 1.7
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
GCC Administrator [Sat, 15 Oct 2016 00:16:16 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r241196
Ian Lance Taylor [Fri, 14 Oct 2016 22:51:46 +0000 (22:51 +0000)]
runtime: copy mprof code from Go 1.7 runtime
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
Jason Merrill [Fri, 14 Oct 2016 22:02:01 +0000 (18:02 -0400)]
c-cppbuiltin.c (c_cpp_builtins): Define __cpp_aggregate_bases and __cpp_deduction_guides.
* c-cppbuiltin.c (c_cpp_builtins): Define __cpp_aggregate_bases
and __cpp_deduction_guides.
From-SVN: r241188
Jason Merrill [Fri, 14 Oct 2016 21:54:39 +0000 (17:54 -0400)]
Implement P0017R1, C++17 aggregates with bases.
* 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
Nathan Sidwell [Fri, 14 Oct 2016 20:32:03 +0000 (20:32 +0000)]
diagnostic.c (diagnostic_action_after_output): Remove max error handling here ....
* 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
David Malcolm [Fri, 14 Oct 2016 20:22:23 +0000 (20:22 +0000)]
Tweaks to print_rtx_function
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
Eelis van der Weegen [Fri, 14 Oct 2016 19:40:32 +0000 (19:40 +0000)]
Optimize std::shuffle by using generator to get two values at once
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
Jonathan Wakely [Fri, 14 Oct 2016 19:40:18 +0000 (20:40 +0100)]
Resolve ambiguities in std::experimental::sample test
* testsuite/experimental/algorithm/sample.cc: Qualify calls to
resolve ambiguity between std::sample and std::experimental::sample.
From-SVN: r241183