[gcc r11-9565] [Ada] PR ada/98724: Alpha/Linux/libada: Use wraplf for Aux_Long_Long_Float

Maciej W. Rozycki macro@gcc.gnu.org
Sun Feb 13 23:00:59 GMT 2022


https://gcc.gnu.org/g:72b0526bd4582338228ab81088b73dbf1ca565ee

commit r11-9565-g72b0526bd4582338228ab81088b73dbf1ca565ee
Author: Maciej W. Rozycki <macro@orcam.me.uk>
Date:   Sun Feb 13 22:57:21 2022 +0000

    [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.
    
    (cherry picked from commit 4493c5a2030d9191761d159067815b5f0325a9d2)

Diff:
---
 gcc/ada/Makefile.rtl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/ada/Makefile.rtl b/gcc/ada/Makefile.rtl
index 96c0a5b089c..b5b8b573ea4 100644
--- a/gcc/ada/Makefile.rtl
+++ b/gcc/ada/Makefile.rtl
@@ -2651,6 +2651,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 \


More information about the Gcc-cvs mailing list