https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107209
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Richard Sandiford <rsand...@gcc.gnu.org>: https://gcc.gnu.org/g:3893c9c0a16832f55d8d0827f50c48a56c52f6e7 commit r13-5137-g3893c9c0a16832f55d8d0827f50c48a56c52f6e7 Author: Richard Biener <rguent...@suse.de> Date: Fri Jan 13 10:01:32 2023 +0000 aarch64: Don't update EH info when folding [PR107209] The AArch64 folders tried to update EH info on the fly, bypassing the folder's attempts to remove dead EH edges later. This triggered an ICE when folding a potentially-trapping call to a constant. gcc/ PR target/107209 * config/aarch64/aarch64.cc (aarch64_gimple_fold_builtin): Don't update EH info on the fly. gcc/testsuite/ * gcc.target/aarch64/pr107209.c: New test. Co-Authored-By: Richard Biener <rguent...@suse.de>