https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68236
--- Comment #5 from Christophe Lyon <clyon at gcc dot gnu.org> --- Author: clyon Date: Fri Apr 1 17:35:12 2016 New Revision: 234680 URL: https://gcc.gnu.org/viewcvs?rev=234680&root=gcc&view=rev Log: Backport from mainline r230088 2015-11-10 Kyrylo Tkachov <kyrylo.tkac...@arm.com> PR rtl-optimization/68236 * haifa-sched.c (autopref_multipass_dfa_lookahead_guard): Return 0 if insn_queue doesn't exist. (haifa_sched_finish): Reset insn_queue to NULL. Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/haifa-sched.c