https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85899
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-8 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:a9ac51b5497c92b016bd8d3f7c908f246dbd8f35 commit r8-10941-ga9ac51b5497c92b016bd8d3f7c908f246dbd8f35 Author: Alexander Monakov <amona...@ispras.ru> Date: Fri Mar 1 19:18:04 2019 +0300 haifa-sched: handle fallthru edge to EXIT block (PR 85899) 2019-03-01 Alexander Monakov <amona...@ispras.ru> PR rtl-optimization/85899 * haifa-sched.c (find_fallthru_edge_from): Relax assert to account for fallthru edges leading to the exit block. * gcc.dg/pr85899.c: New test. (cherry picked from commit 5055060066723e409519376c8e571e51cff1eb30)