https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123724
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jakub Jelinek <[email protected]>: https://gcc.gnu.org/g:3a8faf1e543f60c20d6a02ab815cdc83be94a14b commit r16-6925-g3a8faf1e543f60c20d6a02ab815cdc83be94a14b Author: Jakub Jelinek <[email protected]> Date: Tue Jan 20 15:38:24 2026 +0100 aarch64: Ignore debug stmts in aarch64_possible_by_lane_insn_p [PR123724] Like in many other spots, when walking immediate uses for optimization decisions we should just ignore debug stmts. aarch64_possible_by_lane_insn_p wasn't ignoring those and wasted time on doing lookup for those and ICEd because it wasn't a vectorizable stmt. Fixed by ignoring debug stmts early during the immediate use walk. 2026-01-20 Jakub Jelinek <[email protected]> PR target/123724 * config/aarch64/aarch64.cc (aarch64_possible_by_lane_insn_p): Ignore debug stmts. * g++.dg/opt/pr123724.C: New test.
