https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78229
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #3) > So the caller of the gimple folding hook handles the EH stuff? Yes. > 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. Yeah, I'm leaving that for sth trunk only (and for somebody else).