somehow I missed these fails when I backported the __promote changes to the 4.6 branch:
* testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Adjust dg-error line numbers. * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Likewise. * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Likewise. * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Likewise. Tested x86_64-linux, committed to 4.6.
Index: testsuite/ext/type_traits/remove_unsigned_integer_neg.cc =================================================================== --- testsuite/ext/type_traits/remove_unsigned_integer_neg.cc (revision 182460) +++ testsuite/ext/type_traits/remove_unsigned_integer_neg.cc (working copy) @@ -36,4 +36,4 @@ int main() } // { dg-error "invalid use of incomplete" "" { target *-*-* } 28 } -// { dg-error "declaration of" "" { target *-*-* } 106 } +// { dg-error "declaration of" "" { target *-*-* } 107 } Index: testsuite/ext/type_traits/add_unsigned_floating_neg.cc =================================================================== --- testsuite/ext/type_traits/add_unsigned_floating_neg.cc (revision 182460) +++ testsuite/ext/type_traits/add_unsigned_floating_neg.cc (working copy) @@ -35,4 +35,4 @@ int main() } // { dg-error "instantiated from" "" { target *-*-* } 28 } -// { dg-error "no type" "" { target *-*-* } 69 } +// { dg-error "no type" "" { target *-*-* } 70 } Index: testsuite/ext/type_traits/remove_unsigned_floating_neg.cc =================================================================== --- testsuite/ext/type_traits/remove_unsigned_floating_neg.cc (revision 182460) +++ testsuite/ext/type_traits/remove_unsigned_floating_neg.cc (working copy) @@ -35,4 +35,4 @@ int main() } // { dg-error "instantiated from" "" { target *-*-* } 28 } -// { dg-error "no type" "" { target *-*-* } 112 } +// { dg-error "no type" "" { target *-*-* } 113 } Index: testsuite/ext/type_traits/add_unsigned_integer_neg.cc =================================================================== --- testsuite/ext/type_traits/add_unsigned_integer_neg.cc (revision 182460) +++ testsuite/ext/type_traits/add_unsigned_integer_neg.cc (working copy) @@ -36,4 +36,4 @@ int main() } // { dg-error "invalid use of incomplete" "" { target *-*-* } 28 } -// { dg-error "declaration of" "" { target *-*-* } 63 } +// { dg-error "declaration of" "" { target *-*-* } 64 }