[Bug middle-end/88301] Optimization regression with undefined unsigned overflow
glisse at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Dec 1 20:25:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88301
--- Comment #3 from Marc Glisse <glisse at gcc dot gnu.org> ---
(In reply to Marc Glisse from comment #2)
> Not sure where this [0, 0] range is coming from...
Well, I guess it is EVRP trying to encode __builtin_unreachable for _3!=0 in
the range information of _3, but not cleaning up (the clean-up happens in
CCP2). But that doesn't quite work because we don't reuse that specific
variable _3, we reuse _2. It used to work because in VRP1 we would replace
_3!=0 with _2!=0.
More information about the Gcc-bugs
mailing list