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 arith.c, another range checking problem


Steve Kargl wrote:
This range checking problem is probably a benign bug, but I
thought we should fix it away.  The fix is obvious.

I applied this as obvious.


I'm wondering if this can ever trigger. Is there a combination of integer and real kinds where an integer can overflow a real? Or is there something else which could happen? Nevertheless, having the correct check in place seems more appropriate.

- Tobi


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