[Bug middle-end/118879] Missed optimisation: std::in_range simpler size check
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118879 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Assignee|unassign
[Bug middle-end/118879] Missed optimisation: std::in_range simpler size check
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118879 --- Comment #2 from Andrew Pinski --- ``` int f0(long long v) { unsigned long long t = v; t += 0x80'00'00'00ull; if (t <= 0xff'ff'ff'ff) return v; return 0; } ```