[Ada,FYI] revamp ada.numerics.aux

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Tue Oct 20 08:26:33 GMT 2020


Hi Alexandre,

> On Oct 19, 2020, Andreas Schwab <schwab@linux-m68k.org> wrote:
>
>> -nostdinc a-nallfl.ads -o a-nallfl.o
>> a-nallfl.ads:48:13: warning: intrinsic binding type mismatch on return value
>> a-nallfl.ads:48:13: warning: intrinsic binding type mismatch on argument 1
>> a-nallfl.ads:48:13: warning: profile of "Sin" doesn't match the builtin
>> it binds
>
> Thanks for the report.  Ada's Standard.Long_Long_Float is mapped to C
> double rather than long double on this target.
>
> Here's a workaround, for aarch64-* and ppc*-linux-gnu, where I've
> observed the mismatch so far.

your patch similarly broke sparc*-sun-solaris* bootstrap.  The attached
snippet on top of this workaround fixes that.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


-------------- next part --------------
A non-text attachment was scrubbed...
Name: M.patch
Type: text/x-patch
Size: 505 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20201020/88a19808/attachment-0001.bin>


More information about the Gcc-patches mailing list