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: [RFC] Fix PR28684


> I believe we may also inhibit or create underflow or overflow with
> re-ordering for example
> (X + C1) - C2 to X + (C1 - C2)
> for X near FLT_MAX and C1 sufficiently large.

Right.

> Even transforming
> X + Y - Y to X
> may fail to propagate a NaN Y to the result.
>

Is transforming X + Y - Y to X is allowed by our flag?
Isn't it like x * 0 -> 0?

Thanks


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