summaryrefslogtreecommitdiffstats
path: root/libcxx/include
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include')
-rw-r--r--libcxx/include/istream1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/include/istream b/libcxx/include/istream
index dc1c52be639..3979e140706 100644
--- a/libcxx/include/istream
+++ b/libcxx/include/istream
@@ -1243,6 +1243,7 @@ template<class _CharT, class _Traits>
streamsize
basic_istream<_CharT, _Traits>::readsome(char_type* __s, streamsize __n)
{
+ __gc_ = 0;
streamsize __c = this->rdbuf()->in_avail();
switch (__c)
{
OpenPOWER on IntegriCloud