https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84841
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- It is indeed a non-sensical combination, but I think last time we've determined it isn't that easy to diagnose and/or silently fix up, the toplev.c diagnostics can be bypassed through optimize attribute. A quick hack out of this would be to add !flag_rounding_math to can_reassociate_p next to flag_associative_math.