[v3] type_traits fixes for arm

Benjamin Kosnik bkoz@redhat.com
Mon May 5 17:15:00 GMT 2008


... testing on arm-eabi revealed mistaken requirements test cases in
type_traits. In actuality, make_unsigned/make_signed for enum types
doesn't require the type to be int, but rather an integral type of the
same rank as the enum. Fixed thusly.

This cleans up some noise in the arm testsuite, and perhaps others
where sizeof(enum) is not sizeof(int).

gcc
gcc-4_3-branch

-benjamin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.20080505-1
Type: application/octet-stream
Size: 2676 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20080505/469916f2/attachment.obj>


More information about the Libstdc++ mailing list