https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113445
--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:a6bf09f65aed44d36acaa511e552783bfb0e9a62 commit r14-8231-ga6bf09f65aed44d36acaa511e552783bfb0e9a62 Author: Maxim Kuvyrkov <maxim.kuvyr...@linaro.org> Date: Thu Jan 18 14:45:27 2024 +0100 Fix compare-debug bootstrap failure [PR113445] ... caused by scheduler fix for PR96388 and PR111554. This patch adjusts decision sched-deps.cc:find_inc() to use length of dependency lists sans any DEBUG_INSN instructions. gcc/ChangeLog 2024-01-18 Maxim Kuvyrkov <maxim.kuvyr...@linaro.org> PR bootstrap/113445 * haifa-sched.cc (dep_list_size): Make global. * sched-deps.cc (find_inc): Use instead of sd_lists_size(). * sched-int.h (dep_list_size): Declare. gcc/testsuite/ChangeLog 2024-01-18 Jakub Jelinek <ja...@redhat.com> PR bootstrap/113445 * gcc.dg/pr113445.c: New test.