From 7f3083e71d044f1baac68e9b6e43e2dd5f343680 Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Wed, 15 Oct 2014 08:51:07 +0000 Subject: [PATCH] limits: Remove stray spaces after backslash. 2014-10-15 Paolo Carlini * 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 --- libstdc++-v3/ChangeLog | 10 ++++++++++ libstdc++-v3/include/std/limits | 2 +- .../testsuite/20_util/declval/requirements/1_neg.cc | 2 +- .../20_util/make_signed/requirements/typedefs_neg.cc | 4 ++-- .../20_util/make_unsigned/requirements/typedefs_neg.cc | 4 ++-- 5 files changed, 16 insertions(+), 6 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 46315972040..2a05b977716 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,13 @@ +2014-10-15 Paolo Carlini + + * 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 * 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 d5add09655a..d51e081fd3a 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 fe7305c040d..fbd18669a0d 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 // . -// { dg-error "static assertion failed" "" { target *-*-* } 2142 } +// { dg-error "static assertion failed" "" { target *-*-* } 2201 } #include 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 28ee98a3e1a..f56a2c47c90 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 3fc1874027f..8a0c47eb270 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 } -- 2.30.2