https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85409
--- Comment #3 from Andrey Belevantsev <abel at gcc dot gnu.org> --- This one is cool. We hit an assert saying we cannot hold of successor info anymore. The succs vector size is of max_ws (maximum lookahead) + 1, but guess what, there's a lot of debug insns and these are not counted against windowsize when computing the availability set because of: 2949 if (DEBUG_INSN_P (last_insn)) 2950 continue; 2951 2952 if (end_ws > max_ws) 2953 { 2954 /* We can reach max lookahead size at bb_header, so clean av_set 2955 first. */ 2956 INSN_WS_LEVEL (last_insn) = global_level; 2957 2958 if (sched_verbose >= 6) 2959 sel_print ("Insn %d is beyond the software lookahead window size\n", 2960 INSN_UID (last_insn)); 2961 break; 2962 } 2963 2964 end_ws++; Thoughts?