OSDN Git Service

* intrinsics/rand.c (rand): Wrap the irand() call from the previous
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Jun 2004 08:21:54 +0000 (08:21 +0000)
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Jun 2004 08:21:54 +0000 (08:21 +0000)
commit in prefix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83895 138bc75d-0d04-0410-961f-82ee72b054a4

libgfortran/ChangeLog
libgfortran/intrinsics/rand.c

index 749b11f..507383d 100644 (file)
@@ -1,3 +1,9 @@
+2004-06-30  Steve Kargl  <sgk@troutmask.apl.washington.edu>
+           Steven Bosscher  <stevenb@suse.de>
+
+       * intrinsics/rand.c (rand): Wrap the irand() call from the previous
+       commit in prefix.
+
 2004-06-29  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
        Paul Brook  <paul@codesourcery.com>
 
index 4678de4..d59e168 100644 (file)
@@ -82,5 +82,5 @@ prefix(irand) (GFC_INTEGER_4 *i)
 GFC_REAL_4
 prefix(rand) (GFC_INTEGER_4 *i)
 {
-  return normalize_r4_i4 (irand (i) - 1, GFC_RAND_M1 - 1);
+  return normalize_r4_i4 (prefix(irand) (i) - 1, GFC_RAND_M1 - 1);
 }