Enhance testsuite c-torture test
law@redhat.com
law@redhat.com
Fri May 10 17:35:00 GMT 2002
In message <20020510.154104.46189496.davem@redhat.com>, "David S. Miller"
writes:
> From: "John David Anglin" <dave@hiauly1.hia.nrc.ca>
> /* HP only has signed conversion in library, so need to synthesize an
> unsigned version */
> unsigned int
> _U_Qfcnvfxt_quad_to_usgl(long double a)
> {
> extern long long _U_Qfcnvfxt_quad_to_dbl (long double a);
> return (unsigned int) _U_Qfcnvfxt_quad_to_dbl (a);
> }
>
> I'm assuming that the call to the HP library got converted into
> a sibling call.
>
> Anyways, we're calling it with (long double)(1 << 63) as the argument.
>
> Any ideas Jeff? Looks like an HP library bug to me. But also it also
> looks like the "long long" return from the HP library shouldn't be
> chopped off to an unsigned int here, why is that done?
I don't recall.
jeff
More information about the Gcc-patches
mailing list