Re: Bug#148529: gnat-3.1: sin/cos is random exception/result generator

2002-06-03 Thread Florian Weimer
Brian May <[EMAIL PROTECTED]> writes: > On Sat, 2002-06-01 at 18:49, Matthias Klose wrote: >> From gcc.gnu.org: "please note that the integration of the Ada front >> end is still work in progress." > > Just curious, where does it say that? I looked at > http://gcc.gnu.org/>, and couldn't find it.

Re: Bug#148529: gnat-3.1: sin/cos is random exception/result generator

2002-06-03 Thread Brian May
On Sat, 2002-06-01 at 18:49, Matthias Klose wrote: > From gcc.gnu.org: "please note that the integration of the Ada front > end is still work in progress." Just curious, where does it say that? I looked at http://gcc.gnu.org/>, and couldn't find it. -- Brian May <[EMAIL PROTECTED]> -- To UNSUB

Bug#148529: gnat-3.1: sin/cos is random exception/result generator

2002-06-03 Thread Brian May
On Sun, 2002-06-02 at 21:38, Samuel Tardieu wrote: > The GNAT compiler based on GCC 2.8.1 is a top quality compiler. There > are some glitches in the GCC 3.1 port though. I'm not sure what you mean here; Are you suggesting it might be easier to fix the bugs in the gcc 2.8.1 based version then in 3

Re: Bug#148529: gnat-3.1: sin/cos is random exception/result generator

2002-06-03 Thread Brian May
On Sun, 2002-06-02 at 18:27, Matthias Klose wrote: > please use gccbug-3.1 for submitting the report (category ada) and > > - mention that it has been forwarded from the Debian BTS > - use the bug address as submitter address, > - use the gnats-CC for the address of the submitter > > or use the

Bug#148529: gnat-3.1: sin/cos is random exception/result generator

2002-06-02 Thread Brian May
On Mon, 2002-06-03 at 10:37, Brian May wrote: > It looks OK, but all it does is copy the input to the output (aux was > created by renaming ada.numerics.aux to aux): On second thoughts, no it doesn't! (Dislaimer: I don't really know what these opcodes stand for, so I am guessing) The code in que

Bug#148529: gnat-3.1: sin/cos is random exception/result generator

2002-06-02 Thread Brian May
On Mon, 2002-06-03 at 09:28, Samuel Tardieu wrote: > No. You can check that your assembler has been properly included by > looking at the resulting assembly code (gcc-3.1 -S -o - testbug2.adb). Curious. It looks OK, but all it does is copy the input to the output (aux was created by renaming ada.

Bug#148529: gnat-3.1: sin/cos is random exception/result generator

2002-06-02 Thread Samuel Tardieu
On 3/06, Brian May wrote: | However, when I copied the routine to my code, it instantly stopped | working at all (it turned the Asm call into a NOP), and I half suspected | at the time that maybe I was doing something wrong (do I need to use a | special compiler flag or something to get Asm code

Bug#148529: gnat-3.1: sin/cos is random exception/result generator

2002-06-02 Thread Brian May
On Sun, 2002-06-02 at 21:38, Samuel Tardieu wrote: > The package System.Img_Real is used to convert floats to string. You > can look at the expanded GNAT output using: > > % gcc-3.1 -gnatds testbug2.adb Thanks for that tip. Will try it latter. > Well, it looks like it is a i386 specific problem,

Bug#148529: gnat-3.1: sin/cos is random exception/result generator

2002-06-02 Thread Samuel Tardieu
> "Brian" == Brian May <[EMAIL PROTECTED]> writes: Brian> raised CONSTRAINT_ERROR : s-imgrea.adb:236 Brian> (which is funny in a way, I don't see where this function is Brian> getting called) The package System.Img_Real is used to convert floats to string. You can look at the expanded GNAT o

Re: Bug#148529: gnat-3.1: sin/cos is random exception/result generator

2002-06-02 Thread Florian Weimer
Brian May <[EMAIL PROTECTED]> writes: > What is the upstream address? Please read http://gcc.gnu.org/bugs.html . Submitting bugs via GNATS (mind the "S" ;-) is the preferred method. -- Florian Weimer[EMAIL PROTECTED] University of Stuttgart http://CERT.Uni-Stuttgar

Re: Bug#148529: gnat-3.1: sin/cos is random exception/result generator

2002-06-02 Thread Jérôme Marant
Brian May <[EMAIL PROTECTED]> writes: > On Sat, 2002-06-01 at 18:49, Matthias Klose wrote: >> From gcc.gnu.org: "please note that the integration of the Ada front >> end is still work in progress." > > Ok. I thought I heard rumors of something like this. No, we told you this on debian-devel. An

Re: Bug#148529: gnat-3.1: sin/cos is random exception/result generator

2002-06-02 Thread Brian May
On Sat, 2002-06-01 at 18:49, Matthias Klose wrote: > From gcc.gnu.org: "please note that the integration of the Ada front > end is still work in progress." Ok. I thought I heard rumors of something like this. > However, the gcc package "inherited" the gnat package and we currently > don't have a

Re: Bug#148529: gnat-3.1: sin/cos is random exception/result generator

2002-06-01 Thread Matthias Klose
Brian May writes: > Is the quality of the Gnat compiler likely to improve any time in the > not-too-distant future, or should I be concentrating my efforts for the > moment at least on other languages? >From gcc.gnu.org: "please note that the integration of the Ada front end is still work in progr

Bug#148529: gnat-3.1: sin/cos is random exception/result generator

2002-06-01 Thread Brian May
Package: gnat-3.1 Version: 1:3.1-2 Followup-For: Bug #148529 The following code is the same as before, except with 2 extra lines: --- CUT --- with Ada.Text_IO; use Ada.Text_IO; with Ada.Numerics; use Ada.Numerics; with Ada.Numerics.Generic_Elementary_Functions; procedure TestBug2 is typ