https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125916

--- Comment #4 from Drea Pinski <pinskia at gcc dot gnu.org> ---
The only reason why it is being optimized now is because the return value is
known at compile time since prange was added/improved.

If the function had return a constant say 0, it would have the same issue since
GCC 16 too.

Reply via email to