aarch64-* and ppc*-linux-gnu long long float/long double mismatch
commitf72d7f7c2cac61612a70d22e03cb95ed47f3a4d4
authorAlexandre Oliva <oliva@adacore.com>
Thu, 22 Oct 2020 05:32:04 +0000 (22 02:32 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Thu, 22 Oct 2020 05:32:04 +0000 (22 02:32 -0300)
tree12e90187d0ae60f1fab2f117dc0bf6b848841c12
parent439407aa2c678a96bd5b430ab9c335e65beb5751
aarch64-* and ppc*-linux-gnu long long float/long double mismatch

Some platforms have failed to build because long long float is mapped
to double rather than long double, and then the attempts to import
intrinsics for long double in Aux_Long_Long_Float raise warnings
turned into errors.

This patch is a work around for the mismatch, arranging for
Aux_Long_Long_Float to map to Aux_Long_Float.

for  gcc/ada/ChangeLog

* Makefile.rtl (LIBGNAT_TARGET_PAIRS): Use
a-nallfl__wraplf.ads on aarch64-* and ppc*-linux-gnu targets.
* libgnat/a-nallfl__wraplf.ads: New.
gcc/ada/Makefile.rtl
gcc/ada/libgnat/a-nallfl__wraplf.ads [new file with mode: 0644]