re PR libstdc++/60333 (type_traits make_signed, make_unsigned missing support for...
authorJonathan Wakely <jwakely@redhat.com>
Tue, 28 Apr 2015 13:21:54 +0000 (14:21 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 28 Apr 2015 13:21:54 +0000 (14:21 +0100)
commit73d81d3a6b23ddbfd5286a93f38a45059f90dcec
tree81b826e6a1419361116b156d8b653fa70d9ab700
parent956d18149eb636d0dd5987c7020873314a869a98
re PR libstdc++/60333 (type_traits make_signed, make_unsigned missing support for long long enumerations)

PR libstdc++/60333
* include/std/type_traits (__make_unsigned_selector<_Tp, false, true>):
Handle enumeration types larger than sizeof(long).
(__make_signed_selector<_Tp, false, true>): Find unsigned type then
make it signed.
* testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error.
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
Likewise.
* testsuite/20_util/make_signed/requirements/typedefs-3.cc: New.
* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Adjust
dg-error.
* testsuite/20_util/make_unsigned/requirements/typedefs-3.cc: New.

From-SVN: r222526
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/type_traits
libstdc++-v3/testsuite/20_util/declval/requirements/1_neg.cc
libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-3.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs_neg.cc
libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-3.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc