https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112361
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- You can just look at the dumps. Generally, I'd expect that we shouldn't be creating .COND_ADD etc. calls for conditional reductions for SCALAR_FLOAT_TYPE_P if !flag_associative_math, but probably also the fold left reduction code needs to either assert it isn't conditional or needs to handle it. E.g. needs_fold_left_reduction_p returns true if it has to do an in-order reduction. But guess Richard will know the details much better.