https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95699
--- Comment #12 from Vincent Lefèvre <vincent-gcc at vinc17 dot net> --- (In reply to Andrew Pinski from comment #11) > Since GCC 11 which is correct now. I confirm. > That changed after r11-1504-g2e0f4a18bc978 for the improved minmax > optimization. The bug has been resolved as INVALID. But if I understand correctly, this should actually be FIXED. And I suppose that "Known to work" could be set to 11.0 and "Known to fail" to "9.3.0, 10.1.0".