summaryrefslogtreecommitdiff
path: root/libgfortran
diff options
context:
space:
mode:
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-30 08:21:54 +0000
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-30 08:21:54 +0000
commitbfe8c1cc56e09a21d55e50fae16e99c0ebea28e3 (patch)
tree02902794c4208014954c51581ac78e12ae840dfb /libgfortran
parentc7f01ad58c4992234fef6e9e2308daf151878448 (diff)
downloadgcc-bfe8c1cc56e09a21d55e50fae16e99c0ebea28e3.tar.gz
* intrinsics/rand.c (rand): Wrap the irand() call from the previous
commit in prefix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83895 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran')
-rw-r--r--libgfortran/ChangeLog6
-rw-r--r--libgfortran/intrinsics/rand.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index 749b11f3e6d..507383d8975 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -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>
diff --git a/libgfortran/intrinsics/rand.c b/libgfortran/intrinsics/rand.c
index 4678de4aa0a..d59e1688371 100644
--- a/libgfortran/intrinsics/rand.c
+++ b/libgfortran/intrinsics/rand.c
@@ -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);
}