aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@orcam.me.uk>2022-02-13 22:57:21 +0000
committerMaciej W. Rozycki <macro@orcam.me.uk>2022-02-13 22:57:21 +0000
commit4493c5a2030d9191761d159067815b5f0325a9d2 (patch)
treeb351740a79502c19d0bc5d9cf95e4552c8e27652
parent58aeb75d4097010ad9bb72b964265b18ab284f93 (diff)
downloadgcc-4493c5a2030d9191761d159067815b5f0325a9d2.zip
gcc-4493c5a2030d9191761d159067815b5f0325a9d2.tar.gz
gcc-4493c5a2030d9191761d159067815b5f0325a9d2.tar.bz2
[Ada] PR ada/98724: Alpha/Linux/libada: Use wraplf for Aux_Long_Long_Float
Use the Long Long Float wrapper in terms of Long Float for Alpha/Linux targets as well, fixing gnatlib compilation errors: a-nallfl.ads:48:13: warning: intrinsic binding type mismatch on result [enabledby default] a-nallfl.ads:48:13: warning: intrinsic binding type mismatch on parameter 1 [enabled by default] a-nallfl.ads:48:13: warning: profile of "Sin" doesn't match the builtin it binds [enabled by default] etc. with the `alpha-linux-gnu' target. gcc/ada/ PR ada/98724 PR ada/97504 * Makefile.rtl (LIBGNAT_TARGET_PAIRS) <alpha*-*-linux*>: Use wraplf version of Aux_Long_Long_Float.
-rw-r--r--gcc/ada/Makefile.rtl1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ada/Makefile.rtl b/gcc/ada/Makefile.rtl
index 6d60aea..aaf853e 100644
--- a/gcc/ada/Makefile.rtl
+++ b/gcc/ada/Makefile.rtl
@@ -2559,6 +2559,7 @@ endif
ifeq ($(strip $(filter-out alpha% linux%,$(target_cpu) $(target_os))),)
LIBGNAT_TARGET_PAIRS = \
a-intnam.ads<libgnarl/a-intnam__linux.ads \
+ a-nallfl.ads<libgnat/a-nallfl__wraplf.ads \
s-inmaop.adb<libgnarl/s-inmaop__posix.adb \
s-intman.adb<libgnarl/s-intman__posix.adb \
s-linux.ads<libgnarl/s-linux__alpha.ads \