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] PATCH PR20480 zero is written with non-zero exponent


coudert@lcp.u-psud.fr wrote:
>>      if (e == 0)
>>        nbefore = 0
>>      else
>>        {
>>         if (e > 0)
>>	   nbefore = e % 3;
> 
> 
> It doesn't seem clearer to me (clearly 0%3 == 0) but I don't mind doing
> it. I won't post a new patch for that, but will regtest again.

If it doesn't seem clearer to you, then don't bother.  It seemed clearer to me
because this way the e -= nbefore further below wasn't required in that case.
 But I admit that the win in clarity is at most marginal.

> PS: this has nothing to do with the subject, but can someone tell me the
> magic CVS incantation to check-out 4.0 branch? When I try, it hangs
> forever without downloading anything else than the gcc/CVS directory.

cvs -z 9 co -P -rgcc-4_0-branch gcc

but I assume you knew that :-) Make sure that you're checking the tree out
with your user account, instead of anonymously.  For one, you won't be able to
commit otherwise, furthermore the developer server is faster.  If for some
reason you can't get it to work, you should also be able to use

contrib/gcc_update -rgcc-4_0-branch

in a copy of your mainline tree to get the same result, but I don't know if
this is safe.

- Tobi


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