https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110422
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Martin Jambor <jamb...@gcc.gnu.org>: https://gcc.gnu.org/g:6764043e88a4208f7c69bf0ccd19ddc7a6016fb1 commit r14-8230-g6764043e88a4208f7c69bf0ccd19ddc7a6016fb1 Author: Martin Jambor <mjam...@suse.cz> Date: Thu Jan 18 14:24:15 2024 +0100 sra: Disqualify bases of operands of asm gotos PR 110422 shows that SRA can ICE assuming there is a single edge outgoing from a block terminated with an asm goto. We need that for BB-terminating statements so that any adjustments they make to the aggregates can be copied over to their replacements. Because we can't have that after ASM gotos, we need to punt. gcc/ChangeLog: 2024-01-17 Martin Jambor <mjam...@suse.cz> PR tree-optimization/110422 * tree-sra.cc (scan_function): Disqualify bases of operands of asm gotos. gcc/testsuite/ChangeLog: 2024-01-17 Martin Jambor <mjam...@suse.cz> PR tree-optimization/110422 * gcc.dg/torture/pr110422.c: New test.