public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Brian May <bam@snoopy.apana.org.au>
To: nobody@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org,
Subject: Re: ada/6911: Sin and Cos returns bad result or exception
Date: Fri, 22 Nov 2002 13:59:00 -0000	[thread overview]
Message-ID: <20021118034603.30003.qmail@sources.redhat.com> (raw)

The following reply was made to PR ada/6911; it has been noted by GNATS.

From: Brian May <bam@snoopy.apana.org.au>
To: Joakim Olsson <joakim.olsson@hiq.se>
Cc: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org,
	148529@bugs.debian.org, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org
Subject: Re: ada/6911: Sin and Cos returns bad result or exception
Date: Mon, 18 Nov 2002 14:46:24 +1100

 On Thu, Nov 14, 2002 at 11:23:28AM +0100, Joakim Olsson wrote:
 > I have'nt a clue where this mail is going so bare with me (I'm a newbie to gcc ;-)
 
 It come to me, and the Debian BTS (148529@bugs.debian.org).
 
 Presumably it also went into the gcc GNATS system.
 
 The nobody@gcc.gnu.org address looks kind of funny...
 
 > This package implements Sin and Cos and other stuff with assambler-instructions
 > and not uses interface to the C-functions in libm.a.
 
 The assembler code appears to be exactly the same on gnat 3.14p,
 where it works. In fact, I think the whole file is the same.
 
 > I don't know why but,,, well the assambler doesn't work.
 
 I suspect that support for any assembler code is badly broken, but my
 knowledge of assembler code in Ada is somewhat flakey. I tried moving
 the assembler code to me source code, but it stopped working even with
 gnat 3.14p, which was perviously working.
 
 It wouldn't surprise me if the assembler code is working, but
 for some reason that parameters aren't getting passed to/from
 the Ada code.
 
 At one stage I did look at this using a debugger and viewing
 the assembler code, but I couldn't see anything that looked
 obviously wrong.
 
 > In the rpm from Ada for Linux Team the version uses interface to
 > C-functions and that version seems to work.
 >
 >
 > PSIf I've done something wrong by posting this mail, pleas don't
 
 Nothing wrong that I am aware of.
 
 >   hesitate to tell me. Is there a simple solution out there ??? please
 >   tell me. DS
 
 Create interfaces to the C-functions?
 
 Use gnat 3.14?
 
 Sorry, these are the only two solutions I know of (not tested the first
 one myself).
 --
 Brian May <bam@snoopy.apana.org.au>


             reply	other threads:[~2002-11-18  3:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-22 13:59 Brian May [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-05-13  6:38 steven
2003-05-13  4:06 Brian May
2003-05-12 23:36 Dara Hazeghi
2002-11-20 13:56 Joakim Olsson

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=20021118034603.30003.qmail@sources.redhat.com \
    --to=bam@snoopy.apana.org.au \
    --cc=gcc-prs@gcc.gnu.org \
    --cc=nobody@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).