[v3] c++0x common_type, <ratio> and <chrono>

Andrew Pinski pinskia@gmail.com
Mon Jul 7 23:00:00 GMT 2008


On Mon, Jul 7, 2008 at 3:56 PM, Paolo Carlini <paolo.carlini@oracle.com> wrote:
>> The cons_overflow.cc and ops_overflow.cc testcase fails on
>> spu-elf as that target does not have denorms for float (it does for double
>> though).
>
> float, double?!? The code actually in only implements <ratio>, which is only about *integer* types (actually only intmax_t + uintmax_t as an implementation detail). Please explain in better detail.

Hmm, then I have no idea why they fail on spu :).  Oh it might be the
case that _GLIBCXX_USE_C99_STDINT_TR1 is not defined which means it is
not being tested at all :).  I guess the testcase needs to take that
into account when it does dg-error .

-- Pinski



More information about the Libstdc++ mailing list