diff mbox

[libstdc++] Add missing atomic-builtins argument to experimental/memory_resource/1.cc

Message ID 1711794.EHLEuxmj2f@e108577-lin
State New
Headers show

Commit Message

Thomas Preudhomme May 19, 2016, 1:05 p.m. UTC
Hi Jonathan,

The dg-require-atomic-builtins in experimental/memory_resource/1.cc does not 
currently work as intended because it is missing its argument. This patch fixes 
that.

ChangeLog entry is as follows:

*** libstdc++-v3/ChangeLog ***

2016-05-18  Thomas Preud'homme  <thomas.preudhomme@arm.com>

        * testsuite/experimental/memory_resource/1.cc: Add required argument
        to dg-require-atomic-builtins.




Is this ok for trunk?

Best regards,

Thomas

Comments

Jonathan Wakely May 19, 2016, 9:42 p.m. UTC | #1
On 19 May 2016 at 14:05, Thomas Preudhomme
<thomas.preudhomme@foss.arm.com> wrote:
> Hi Jonathan,
>
> The dg-require-atomic-builtins in experimental/memory_resource/1.cc does not
> currently work as intended because it is missing its argument. This patch fixes
> that.

Oops.

> ChangeLog entry is as follows:
>
> *** libstdc++-v3/ChangeLog ***
>
> 2016-05-18  Thomas Preud'homme  <thomas.preudhomme@arm.com>
>
>         * testsuite/experimental/memory_resource/1.cc: Add required argument
>         to dg-require-atomic-builtins.
>
>
> diff --git a/libstdc++-v3/testsuite/experimental/memory_resource/1.cc
> b/libstdc++-v3/testsuite/experimental/memory_resource/1.cc
> index
> 22d4e0d966f9c83bb1341137d62c834b441c08f3..08c02e5e31b287cb678c12f499a985899e612748
> 100644
> --- a/libstdc++-v3/testsuite/experimental/memory_resource/1.cc
> +++ b/libstdc++-v3/testsuite/experimental/memory_resource/1.cc
> @@ -1,5 +1,5 @@
>  // { dg-options "-std=gnu++14" }
> -// { dg-require-atomic-builtins }
> +// { dg-require-atomic-builtins "" }
>
>  // Copyright (C) 2015-2016 Free Software Foundation, Inc.
>  //
>
>
> Is this ok for trunk?

OK, thanks.
diff mbox

Patch

diff --git a/libstdc++-v3/testsuite/experimental/memory_resource/1.cc 
b/libstdc++-v3/testsuite/experimental/memory_resource/1.cc
index 
22d4e0d966f9c83bb1341137d62c834b441c08f3..08c02e5e31b287cb678c12f499a985899e612748 
100644
--- a/libstdc++-v3/testsuite/experimental/memory_resource/1.cc
+++ b/libstdc++-v3/testsuite/experimental/memory_resource/1.cc
@@ -1,5 +1,5 @@ 
 // { dg-options "-std=gnu++14" }
-// { dg-require-atomic-builtins }
+// { dg-require-atomic-builtins "" }
 
 // Copyright (C) 2015-2016 Free Software Foundation, Inc.
 //