[Bug target/107209] [13 Regression] ICE: verify_gimple failed (error: statement marked for throw, but doesn't)
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 13 10:01:46 GMT 2023
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 <rsandifo@gcc.gnu.org>:
https://gcc.gnu.org/g:3893c9c0a16832f55d8d0827f50c48a56c52f6e7
commit r13-5137-g3893c9c0a16832f55d8d0827f50c48a56c52f6e7
Author: Richard Biener <rguenther@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 <rguenther@suse.de>
More information about the Gcc-bugs
mailing list