public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Maciej W. Rozycki <macro@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r11-9565] [Ada] PR ada/98724: Alpha/Linux/libada: Use wraplf for Aux_Long_Long_Float
Date: Sun, 13 Feb 2022 23:00:59 +0000 (GMT)	[thread overview]
Message-ID: <20220213230059.5D18B385840A@sourceware.org> (raw)

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 \


                 reply	other threads:[~2022-02-13 23:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220213230059.5D18B385840A@sourceware.org \
    --to=macro@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).