https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117249
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note assert checking has been enabled for release checking so this is why it was not noticed until now. I only noticed because I was working on SLSR and noticed the bad gcc_assert and was going to submit a patch to fix those but decided to double check to see when the bad gcc_assert was added and noticed it was after SLSR was done rather than before.