This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ada/6911: Sin and Cos returns bad result or exception


http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6911

Hi

I have'nt a clue where this mail is going so bare with me (I'm a newbie to gcc ;-)

I've noticed the same bug with 3.1 and 3.2 on RedHat PC-Intel.

I couldn't find a solution in the database so I'm posting my analyse here.


The configure seems to do something wrong.
There are several versions of the package "Ada.Numerics.Aux" and
the version that is used is the one called 86numaux.ads and it's body.
This package implements Sin and Cos and other stuff with assambler-instructions
and not uses interface to the C-functions in libm.a.

I don't know why but,,, well the assambler doesn't work.

In the rpm from Ada for Linux Team the version uses interface to C-functions and that version seems to work.


PS
If I've done something wrong by posting this mail, pleas don't hesitate to tell me.
Is there a simple solution out there ??? please tell me.
DS

best regards
/joakim olsson
HiQ Approve AB
SWEDEN




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]