Avoid putting a REG_NOTE on anything other than an INSN in haifa-sched.c
authorAndrew Pinski <apinski@marvell.com>
Fri, 6 Mar 2020 15:34:01 +0000 (08:34 -0700)
committerJeff Law <law@redhat.com>
Fri, 6 Mar 2020 15:35:18 +0000 (08:35 -0700)
commite6ce69cae5059dfd715edd4e26653c23baf4cb0f
treeec76a8da855de110091e86a81e40108ac182b173
parent4b62b3960ec405c6ed226a7763e0905c434cb2bb
Avoid putting a REG_NOTE on anything other than an INSN in haifa-sched.c

PR rtl-optimization/93996
* haifa-sched.c (remove_notes): Be more careful when adding
REG_SAVE_NOTE.
gcc/ChangeLog
gcc/haifa-sched.c