[haifa-sched] PR rtl-optimization/68236: Exit early from autoprefetcher lookahead...
commitfe987bb33ef8137c1f6af3959ec208cd0b7da073
authorktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 Nov 2015 09:22:58 +0000 (10 09:22 +0000)
committerktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 Nov 2015 09:22:58 +0000 (10 09:22 +0000)
tree1fa983d36c36834a14ddd00db3fcbb63d9e12990
parent19694471b2cc0d460eada0de0f2050ff94376785
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230088 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/haifa-sched.c