On Wed, Jan 17, 2024 at 03:40:20PM +0000, Maxim Kuvyrkov wrote: > ... 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: >
Please mention PR bootstrap/113445 here > * 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. and include some testcase from the PR into the testsuite. Otherwise LGTM. Jakub