regression test results for 970904 on alpha-dec-osf4.0
Richard Henderson
rth@cygnus.com
Thu Sep 4 23:06:00 GMT 1997
> > 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;
More information about the Gcc
mailing list