--- Comment #8 from laurent at guerby dot net 2006-01-05 08:07 ---
This is with 4.0, right?
Are you able to produce a C99 or Fortran test case from your analsys?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20754
--- Comment #7 from danglin at gcc dot gnu dot org 2006-01-05 02:53 ---
The bug is as follows. The return from the call to
cxg1005__test_block__complex_pack__compose_from_cartesian___389
is in registers ret0 and ret1.
bl cxg1005__test_block__complex_pack__compose_from_cartesian
--- Comment #6 from laurent at guerby dot net 2006-01-04 11:48 ---
(In reply to comment #5)
> There seems to be an optimisation issue. I rebuilt the runtime
> at -O0. The test passes when compiled at -O0 and -O1, but fails at
> -O2.
Hmm less likely to be fixed on 4.0 then. Could you t
--- Comment #5 from dave at hiauly1 dot hia dot nrc dot ca 2006-01-04
02:41 ---
Subject: Re: ACATS cxg1005 fails at runtime on hppa-linux
> May be this one?
Nope.
There seems to be an optimisation issue. I rebuilt the runtime
at -O0. The test passes when compiled at -O0 and -O1,
--- Comment #4 from laurent at guerby dot net 2006-01-03 21:19 ---
May be this one?
[EMAIL PROTECTED]:~/tmp/pr20754> cat > p2.adb
with Ada.Numerics.Elementary_Functions;
with Ada.Numerics.Complex_Types;
with Ada.Numerics.Complex_Elementary_Functions;
with Ada.Text_IO;
procedure P2 i
--- Comment #3 from danglin at gcc dot gnu dot org 2006-01-03 20:29 ---
That was with 4.0.0.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20754
--- Comment #2 from danglin at gcc dot gnu dot org 2006-01-03 20:27 ---
[EMAIL PROTECTED]:~/gcc_test$ ./p
1.00E+00
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20754
--- Comment #1 from laurent at guerby dot net 2006-01-03 19:44 ---
The Ada runtime does not use C complex primitives. In this case, the culprit in
all three case is likely to be the following code in ada/a-ngelfu.adb
-- Arctan --
-- Natural cycle
--
What|Removed |Added
CC||danglin at gcc dot gnu dot
||org
http://gcc.gnu.org/bugzilla/sh