This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gfortran, committed] Fix typos in rand.c and normalize.c


On Wednesday 30 June 2004 05:38, Steve Kargl wrote:
> On Wed, Jun 30, 2004 at 12:56:35AM +0200, Tobias Schl?ter wrote:
> > This patch fixes the rand intrinsic. We didn't actually call rand in it.
> > Fixing this involved Paul, Steven and myself, because a wrong comment in
> > normalize.c (also fixed) somewhat hampered our IRC conversation.
> >
> > Built and tested on i686-pc-linux, approved by Paul on IRC.
>
> Tested?

No, apparently.  Tssk tssk :-P  Making me panic because all regression
testers going ape and all fortran tests failing, and I thought it was
my patch ;-)

> > -  return normalize_r4_i4 (i - 1, GFC_RAND_M1);
> > +  return normalize_r4_i4 (irand (i) - 1, GFC_RAND_M1 - 1);

Commited this.  Thanks

Gr.
Steven



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]