[Bug middle-end/112662] missed-optimization: loop increment until wrap
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112662 --- Comment #2 from gooncreeper --- I believe I got my initial optimized function wrong, it should actually be this unsigned opt(unsigned a) { if (++a > 999) a = 0; return a; } opt: lea eax, [rdi+1] xor edx, ed
[Bug middle-end/112662] missed-optimization: loop increment until wrap
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112662 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Ever confirmed|