https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68236
--- Comment #3 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Tue Nov 10 09:22:58 2015 New Revision: 230088 URL: https://gcc.gnu.org/viewcvs?rev=230088&root=gcc&view=rev Log: [haifa-sched] PR rtl-optimization/68236: Exit early from autoprefetcher lookahead if not in haifa sched 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: trunk/gcc/ChangeLog trunk/gcc/haifa-sched.c