diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2014-10-15 08:51:07 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2014-10-15 08:51:07 +0000 |
commit | 7f3083e71d044f1baac68e9b6e43e2dd5f343680 (patch) | |
tree | 6de0e0fbbf00ef7975b9c099da76be921b20b9f1 | |
parent | d5e149d1869a01c0d6c56fe0917364a02eefbdba (diff) | |
download | gcc-7f3083e71d044f1baac68e9b6e43e2dd5f343680.zip gcc-7f3083e71d044f1baac68e9b6e43e2dd5f343680.tar.gz gcc-7f3083e71d044f1baac68e9b6e43e2dd5f343680.tar.bz2 |
limits: Remove stray spaces after backslash.
2014-10-15 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/limits: Remove stray spaces after backslash.
* testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
line number.
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
Likewise.
* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
Likewise.
From-SVN: r216242
5 files changed, 16 insertions, 6 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 4631597..2a05b97 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,13 @@ +2014-10-15 Paolo Carlini <paolo.carlini@oracle.com> + + * include/std/limits: Remove stray spaces after backslash. + * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error + line number. + * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: + Likewise. + * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: + Likewise. + 2014-10-14 DJ Delorie <dj@redhat.com> * src/c++11/limits.cc: Add support for __intN types. diff --git a/libstdc++-v3/include/std/limits b/libstdc++-v3/include/std/limits index d5add09..d51e081 100644 --- a/libstdc++-v3/include/std/limits +++ b/libstdc++-v3/include/std/limits @@ -1422,7 +1422,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min_b (TYPE, BITSIZE); } \ \ static _GLIBCXX_CONSTEXPR TYPE \ - max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max_b (TYPE, BITSIZE);; } \ + max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max_b (TYPE, BITSIZE);; } \ \ static _GLIBCXX_USE_CONSTEXPR int digits \ = BITSIZE - 1; \ diff --git a/libstdc++-v3/testsuite/20_util/declval/requirements/1_neg.cc b/libstdc++-v3/testsuite/20_util/declval/requirements/1_neg.cc index fe7305c..fbd1866 100644 --- a/libstdc++-v3/testsuite/20_util/declval/requirements/1_neg.cc +++ b/libstdc++-v3/testsuite/20_util/declval/requirements/1_neg.cc @@ -19,7 +19,7 @@ // with this library; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. -// { dg-error "static assertion failed" "" { target *-*-* } 2142 } +// { dg-error "static assertion failed" "" { target *-*-* } 2201 } #include <utility> diff --git a/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs_neg.cc b/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs_neg.cc index 28ee98a..f56a2c4 100644 --- a/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs_neg.cc +++ b/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs_neg.cc @@ -48,5 +48,5 @@ void test01() // { dg-error "required from here" "" { target *-*-* } 40 } // { dg-error "required from here" "" { target *-*-* } 42 } -// { dg-error "invalid use of incomplete type" "" { target *-*-* } 1807 } -// { dg-error "declaration of" "" { target *-*-* } 1771 } +// { dg-error "invalid use of incomplete type" "" { target *-*-* } 1866 } +// { dg-error "declaration of" "" { target *-*-* } 1830 } diff --git a/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc b/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc index 3fc1874..8a0c47e 100644 --- a/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc +++ b/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc @@ -48,5 +48,5 @@ void test01() // { dg-error "required from here" "" { target *-*-* } 40 } // { dg-error "required from here" "" { target *-*-* } 42 } -// { dg-error "invalid use of incomplete type" "" { target *-*-* } 1710 } -// { dg-error "declaration of" "" { target *-*-* } 1674 } +// { dg-error "invalid use of incomplete type" "" { target *-*-* } 1754 } +// { dg-error "declaration of" "" { target *-*-* } 1718 } |