https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110796
Richard Earnshaw <rearnsha at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2023-07-26 CC| |rearnsha at gcc dot gnu.org Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #11 from Richard Earnshaw <rearnsha at gcc dot gnu.org> --- Confirmed. It only happens when generating Thumb code. For Arm code it works correctly. I think the problem is that the Thumb code generator is emitting vcmf, while the Arm code generator uses vcmfe - the latter sets the exception bits. I'm not sure why the code is different yet, still investigating.