https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110625
--- Comment #20 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Hao Liu <h...@gcc.gnu.org>: https://gcc.gnu.org/g:4d8b5563179f3a7ca268b64f71731a4878635497 commit r14-2973-g4d8b5563179f3a7ca268b64f71731a4878635497 Author: Hao Liu <h...@os.amperecomputing.com> Date: Fri Aug 4 10:32:52 2023 +0800 AArch64: Avoid the ICE on empty reduction definition in info_for_reduction [PR110625] Fix the assertion failure on empty reduction define in info_for_reduction. Even a stmt is live, it may still have empty reduction define. Check the reduction definition instead of live info before calling info_for_reduction. gcc/ChangeLog: PR target/110625 * config/aarch64/aarch64.cc (aarch64_force_single_cycle): check STMT_VINFO_REDUC_DEF to avoid failures in info_for_reduction. gcc/testsuite/ChangeLog: * gcc.target/aarch64/pr110625_3.c: New testcase.