From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Henderson To: law@cygnus.com Cc: snyder@d0sgif.fnal.gov, egcs@cygnus.com Subject: Re: regression test results for 970904 on alpha-dec-osf4.0 Date: Thu, 04 Sep 1997 23:06:00 -0000 Message-id: <199709050605.XAA09203@rtl.cygnus.com> References: <4795.873435911@hurl.cygnus.com> X-SW-Source: 1997-09/msg00189.html > > As reported earlier, this is due to assumption in this test case > > that 2*sizeof(long) == sizeof(double), which is false for the alpha. > > If this is fixed, this test passes. > A patch would be welcome. How about this. r~ Index: cbrt.c =================================================================== RCS file: /cvs/cvsfiles/egcs/gcc/testsuite/gcc.c-torture/execute/cbrt.c,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 cbrt.c --- cbrt.c 1997/08/19 07:35:59 1.1.1.1 +++ cbrt.c 1997/09/05 06:04:25 @@ -28,9 +28,10 @@ cbrtl (double x) double r,s,w; double lt; unsigned sign; + typedef unsigned unsigned32 __attribute__((mode(SI))); union { double t; - unsigned long pt[2]; + unsigned32 pt[2]; } ut, ux; int n0;