https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78229
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |uros at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- So the caller of the gimple folding hook handles the EH stuff? Of course it would be better if the builtins are ECF_NOTHROW; but that likely needs analysing on if there are any x86 md builtins that aren't ECF_NOTHROW (e.g. for -fnon-call-exceptions perhaps all that load/store/gather/scatter should be), if there are any that shouldn't be ECF_LEAF etc.