mirror of git://gcc.gnu.org/git/gcc.git
re PR libstdc++/64467 (28_regex/traits/char/isctype.cc and wchar_t/isctype.cc)
PR libstdc++/64467 * testsuite/28_regex/traits/char/isctype.cc: Don't test newline for newlib targets. Really fix mixed line-endings this time. From-SVN: r221279
This commit is contained in:
parent
802ac282f8
commit
d2e0c00b8c
|
|
@ -1,3 +1,9 @@
|
||||||
|
2015-03-09 Jonathan Wakely <jwakely@redhat.com>
|
||||||
|
|
||||||
|
PR libstdc++/64467
|
||||||
|
* testsuite/28_regex/traits/char/isctype.cc: Don't test newline
|
||||||
|
for newlib targets. Really fix mixed line-endings this time.
|
||||||
|
|
||||||
2015-03-06 Jonathan Wakely <jwakely@redhat.com>
|
2015-03-06 Jonathan Wakely <jwakely@redhat.com>
|
||||||
|
|
||||||
* include/std/future (future_error(error_code)): Construct base
|
* include/std/future (future_error(error_code)): Construct base
|
||||||
|
|
@ -136,7 +142,7 @@
|
||||||
|
|
||||||
2015-02-04 Matthew Wahab <matthew.wahab@arm.com>
|
2015-02-04 Matthew Wahab <matthew.wahab@arm.com>
|
||||||
|
|
||||||
PR libstdc++/64467
|
PR libstdc++/64467
|
||||||
* testsuite/28_regex/traits/char/isctype.cc (test01): Add newlib
|
* testsuite/28_regex/traits/char/isctype.cc (test01): Add newlib
|
||||||
special case for '\n'.
|
special case for '\n'.
|
||||||
* testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
|
* testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
// { dg-do run }
|
// { dg-do run }
|
||||||
// { dg-options "-std=gnu++11" }
|
// { dg-options "-std=gnu++11" }
|
||||||
// { dg-additional-options "-DNEWLINE_IN_CLASS_BLANK" { target newlib } }
|
// { dg-additional-options "-DNEWLINE_IN_CLASS_BLANK" { target newlib } }
|
||||||
|
|
||||||
//
|
//
|
||||||
// 2010-06-23 Stephen M. Webb <stephen.webb@bregmasoft.ca>
|
// 2010-06-23 Stephen M. Webb <stephen.webb@bregmasoft.ca>
|
||||||
//
|
//
|
||||||
// Copyright (C) 2010-2015 Free Software Foundation, Inc.
|
// Copyright (C) 2010-2015 Free Software Foundation, Inc.
|
||||||
//
|
//
|
||||||
|
|
@ -54,11 +54,7 @@ test01()
|
||||||
VERIFY(!t.isctype('_', t.lookup_classname(range(digit))));
|
VERIFY(!t.isctype('_', t.lookup_classname(range(digit))));
|
||||||
VERIFY( t.isctype(' ', t.lookup_classname(range(blank))));
|
VERIFY( t.isctype(' ', t.lookup_classname(range(blank))));
|
||||||
VERIFY( t.isctype('\t', t.lookup_classname(range(blank))));
|
VERIFY( t.isctype('\t', t.lookup_classname(range(blank))));
|
||||||
#if defined (NEWLINE_IN_CLASS_BLANK)
|
#if !defined (NEWLINE_IN_CLASS_BLANK)
|
||||||
/* On some targets, '\n' is in class 'blank'.
|
|
||||||
See https://gcc.gnu.org/ml/gcc-patches/2015-02/msg00059.html. */
|
|
||||||
VERIFY( t.isctype('\n', t.lookup_classname(range(blank))));
|
|
||||||
#else
|
|
||||||
VERIFY(!t.isctype('\n', t.lookup_classname(range(blank))));
|
VERIFY(!t.isctype('\n', t.lookup_classname(range(blank))));
|
||||||
#endif
|
#endif
|
||||||
VERIFY( t.isctype('t', t.lookup_classname(range(upper), true)));
|
VERIFY( t.isctype('t', t.lookup_classname(range(upper), true)));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue