GCC 16.1 released in April, so rolling release distros are already moving to it. So far the corrections for GCC 15.x are still needed, so the checks adding -fno-tree-slp-vectorize should need to also include GCC 16. I'd suggest until a longer-term fix is found making the condition __GNUC__ >= 15 instead of __GNUC__ == 15.
GCC 16.1 released in April, so rolling release distros are already moving to it. So far the corrections for GCC 15.x are still needed, so the checks adding
-fno-tree-slp-vectorizeshould need to also include GCC 16. I'd suggest until a longer-term fix is found making the condition__GNUC__ >= 15instead of__GNUC__ == 15.