diff mbox

libstdc++/56193 re-add basic_ios::operator bool()

Message ID 20140925105036.GC2669@redhat.com
State New
Headers show

Commit Message

Jonathan Wakely Sept. 25, 2014, 10:50 a.m. UTC
On 25/09/14 11:24 +0100, Jonathan Wakely wrote:
>On 24/09/14 23:18 +0100, Jonathan Wakely wrote:
>>This changes operator void*() to operator bool(), and ensures we
>>export both from the library.
>>
>>I have a new test for this, but will commit that tomorrow.
>
>Here are the tests.

Argh, I took the { dg-do compile } out then forgot to put it back.
Here it is, tested x86_64-linux and committed to trunk.

I hope I'm done with iostreams for now, at least until next week when
I want to apply the hexfloat patch from earlier this year.
diff mbox

Patch

commit 9d4bf29883f25ea2dca1cf270c480c68ece7a736
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Thu Sep 25 11:29:24 2014 +0100

    	* testsuite/27_io/basic_ios/conv/bool_neg.cc: Add dg-do compile.

diff --git a/libstdc++-v3/testsuite/27_io/basic_ios/conv/bool_neg.cc b/libstdc++-v3/testsuite/27_io/basic_ios/conv/bool_neg.cc
index 816f851..d4b8cac 100644
--- a/libstdc++-v3/testsuite/27_io/basic_ios/conv/bool_neg.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_ios/conv/bool_neg.cc
@@ -16,6 +16,7 @@ 
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++11" }
+// { dg-do compile }
 
 #include <ios>