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: [lno] some cleanups for scev


sebastian.pop@cri.ensmp.fr (Sebastian Pop)  wrote on 20.04.04 in <20040420154119.GA3926@cri.ensmp.fr>:

> As Zdenek has pointed out privately, the interval arithmetic is
> erroneous when overflows occur.
>
> Because the result can be of the form [-127, -10] U [0, 128] this is
> no longer an interval, and consequently the best solution that I see
> is to just answer chrec_top when an overflow occurs.

In the case above, wouldn't [-127, 128] be a sufficiently correct answer?

MfG Kai


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