https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79570
--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue May 30 08:03:03 2017 New Revision: 248649 URL: https://gcc.gnu.org/viewcvs?rev=248649&root=gcc&view=rev Log: Backported from mainline 2017-02-21 Jakub Jelinek <ja...@redhat.com> PR target/79570 * sel-sched.c (moveup_expr_cached): Don't call sel_bb_head on temporarily removed DEBUG_INSNs. * gcc.dg/pr79570.c: New test. Added: branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr79570.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/sel-sched.c branches/gcc-5-branch/gcc/testsuite/ChangeLog