* cbrt.c: Tweak to work on more targets.
authorRichard Henderson <rth@cygnus.com>
Fri, 5 Sep 1997 06:19:00 +0000 (23:19 -0700)
committerJeff Law <law@gcc.gnu.org>
Fri, 5 Sep 1997 06:19:00 +0000 (00:19 -0600)
From-SVN: r15098

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/cbrt.c

index 27d54efe8f783dea0407739f7684dd1722d97dc0..0ae494743511cf4986ed1ff554f479928d3087a5 100644 (file)
@@ -1,3 +1,7 @@
+Fri Sep  5 00:20:39 1997  Richard Henderson  (rth@cygnus.com)
+
+       * cbrt.c: Tweak to work on more targets.
+
 Tue Sep  2 16:34:31 1997  Doug Evans  <dje@canuck.cygnus.com>
 
        * lib/gcc-dg.exp (gcc-dg-test): Fix typos setting compile_type.
index 8f1fe68df1dedee843d5f92e94feae8379050636..8659cc7a7237278832819e00bdb97b7ea2ec86dd 100644 (file)
@@ -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;