From: Paolo Carlini Date: Wed, 16 Jul 2008 10:10:41 +0000 (+0000) Subject: assign_neg.cc: Adjust dg-error lines. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=751a3fcab3942ec698d97cbb1028dbe12107da1a;p=gcc.git assign_neg.cc: Adjust dg-error lines. 2008-07-16 Paolo Carlini * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Adjust dg-error lines. * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise. * testsuite/20_util/duration/cons/1_neg.cc: Likewise. * include/tr1_impl/type_traits: Fix comment typo. From-SVN: r137874 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 322fa80bd90..03bd7b87ba7 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,12 @@ +2008-07-16 Paolo Carlini + + * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Adjust + dg-error lines. + * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise. + * testsuite/20_util/duration/cons/1_neg.cc: Likewise. + + * include/tr1_impl/type_traits: Fix comment typo. + 2008-07-16 Paolo Carlini * include/bits/unique_ptr.h: Remove stray character. diff --git a/libstdc++-v3/include/tr1_impl/type_traits b/libstdc++-v3/include/tr1_impl/type_traits index 5d0824a365f..87633fa9804 100644 --- a/libstdc++-v3/include/tr1_impl/type_traits +++ b/libstdc++-v3/include/tr1_impl/type_traits @@ -235,7 +235,7 @@ _GLIBCXX_BEGIN_NAMESPACE_TR1 template struct is_member_pointer; - /// is_scalal + /// is_scalar template struct is_scalar : public integral_constant::value diff --git a/libstdc++-v3/testsuite/20_util/duration/cons/1_neg.cc b/libstdc++-v3/testsuite/20_util/duration/cons/1_neg.cc index 8710d74de7e..fa63dab22b5 100644 --- a/libstdc++-v3/testsuite/20_util/duration/cons/1_neg.cc +++ b/libstdc++-v3/testsuite/20_util/duration/cons/1_neg.cc @@ -41,6 +41,6 @@ test02() // { dg-error "instantiated from here" "" { target *-*-* } 30 } // { dg-error "instantiated from here" "" { target *-*-* } 39 } -// { dg-error "not exactly representable" "" { target *-*-* } 202 } -// { dg-error "integral duration with floating point" "" { target *-*-* } 186 } +// { dg-error "not exactly representable" "" { target *-*-* } 203 } +// { dg-error "integral duration with floating point" "" { target *-*-* } 187 } // { dg-excess-errors "In instantiation of" } diff --git a/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/assign_neg.cc b/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/assign_neg.cc index ca399742287..2e057104ec4 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/assign_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/assign_neg.cc @@ -39,4 +39,4 @@ void test01() m1 = m2; } // { dg-error "within this context" "" { target *-*-* } 39 } -// { dg-error "is private" "" { target *-*-* } 155 } +// { dg-error "is private" "" { target *-*-* } 154 } diff --git a/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/copy_neg.cc b/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/copy_neg.cc index 7f530c36e38..a98e73333e5 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/copy_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/copy_neg.cc @@ -38,4 +38,4 @@ void test01() mutex_type m2(m1); } // { dg-error "within this context" "" { target *-*-* } 38 } -// { dg-error "is private" "" { target *-*-* } 154 } +// { dg-error "is private" "" { target *-*-* } 153 }