https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93385
--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Is that safe though? I mean, does ipa-sra use exactly the same logic as dce does? Say statements that could throw with non-call-exceptions and all that kinds of details. Wouldn't it be safer e.g. to perform another dce right before ipa-sra? Or let ipa-sra to DCE what it thinks is dead (of course, in that case having -fno-tree-dce disable that is desirable).