From: Steve Kargl Date: Wed, 30 Jun 2004 08:21:54 +0000 (+0000) Subject: rand.c (rand): Wrap the irand() call from the previous commit in prefix. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fd53dbe0515c7ba9d2f9a54fdbb34cc26c23785f;p=gcc.git rand.c (rand): Wrap the irand() call from the previous commit in prefix. * intrinsics/rand.c (rand): Wrap the irand() call from the previous commit in prefix. Co-Authored-By: Steven Bosscher From-SVN: r83895 --- 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 + Steven Bosscher + + * intrinsics/rand.c (rand): Wrap the irand() call from the previous + commit in prefix. + 2004-06-29 Tobias Schlueter Paul Brook 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); }