https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68217
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu.org --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- Ok, so combine should have used sign_extract here because of the comparison code I think. There is also a missed optimization in VRP as signed & sign-bit-CST should result in a [-INF, 0] range, not a [-INF, INF] range as now.