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

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 URL:http://gcc.gnu.org/, and couldn't find it. -- Brian May [EMAIL PROTECTED] -- To

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 URL:http://gcc.gnu.org/, and couldn't find it. It

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-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. And it was

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

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 output

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 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

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

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 progress.