This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: hang in acats testsuite test cxg2014 on hppa2.0w-hp-hpux11.00
- From: Olivier Hainque <hainque at adacore dot com>
- To: Rainer Emrich <r dot emrich at de dot tecosim dot com>
- Cc: gcc at gcc dot gnu dot org, hainque at adacore dot com
- Date: Wed, 15 Feb 2006 10:01:54 +0100
- Subject: Re: hang in acats testsuite test cxg2014 on hppa2.0w-hp-hpux11.00
- References: <43F04B86.2070901@de.tecosim.com>
Rainer Emrich wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> acats test cxg2014 hangs forever on hppa2.0w-hp-hpux11.00.
> ,.,. CXG2014 ACATS 2.5 06-02-10 18:02:32
> - ---- CXG2014 Check the accuracy of the SINH and COSH functions.
> * CXG2014 sinh(1) actual: 7.49999999999999632E-01 expected:
> 1.17520119364380146E+00 difference:
> -4.25201193643801825E-01 max err:
> 1.01932454980493402E-18.
> Any Ideas ?
I'm not sure about the hang. For the floating point operations, we are
currently using
*** gcc/config/pa/pa.h.ori Tue Mar 30 11:42:04 2004
--- gcc/config/pa/pa.h Tue Mar 30 11:45:20 2004
***************
*** 461,466 ****
--- 461,471 ----
#define UNITS_PER_WORD (TARGET_64BIT ? 8 : 4)
#define MIN_UNITS_PER_WORD 4
+ /* The widest floating point format supported by the hardware. Note that
+ setting this influences some Ada floating point type sizes, currently
+ required for GNAT to operate properly. */
+ #define WIDEST_HARDWARE_FP_SIZE 64
+
in our GCC 3.4 based tree. I haven't yet been able to check the
situation in 4.X, which is why no patch submission has been issued as
of today.
You might still want to give it a try, though, because I think it is
likely to remain applicable.
It probably incurs a difference in size between C and Ada long_double s
but this is minor compared to kind of damage you are observing.
Olivier