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] PR15206 RRSPACING wrong for zero


Paul Brook wrote:

I'd forgotten about that. Looks like I don't understand this bit of code either :)
Go ahead and check in your original patch.

Done.


On a related issue, the existing rrspacing code to handle denormals is broken. This occurs when x < TINY(x), ie. expn == 0, frac != 0
I suspect the right shift should be a logical (unsigned) shift, not an arithmetic (signed) one.

Should I close the old bug and add a new one where we keep track of this or should I change the summary line and add this information?


Paul



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