[cfe-dev] [libc++] numeric.limits.members/traps.pass.cpp and arm

Nico Weber thakis at chromium.org
Wed Nov 20 00:29:49 PST 2013


Hi Howard,

test/language.support/support.limits/limits/numeric.limits.members/traps.pass.cpp
checks that std::numeric_limits<char>::traps is true, but include/limits
only sets it to true on intel as far as I can tell:

#if __i386__ || __x86_64__
    static _LIBCPP_CONSTEXPR const bool traps = true;
#else
    static _LIBCPP_CONSTEXPR const bool traps = false;
#endif

How is this test supposed to work on arm? Should the test check for
__i386__ || __x86_64__ too?

Thanks,
Nico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131120/b946f611/attachment.html>


More information about the cfe-dev mailing list