re PR rtl-optimization/72821 (RTL check: expected elt 2 type 'B', have '0' (rtx barri...
authorJakub Jelinek <jakub@redhat.com>
Mon, 8 Aug 2016 13:58:46 +0000 (15:58 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 8 Aug 2016 13:58:46 +0000 (15:58 +0200)
commit5435398d80bca0b21cfb6717155b39fb65d38085
treecdcc088872a42d29855f73da83b38281d05bd41d
parenta1c138325c69c051fa9eb04d350ca2967a6480f7
re PR rtl-optimization/72821 (RTL check: expected elt 2 type 'B', have '0' (rtx barrier) in BLOCK_FOR_INSN, at rtl.h:1424)

PR rtl-optimization/72821
* lra-spills.c (regno_in_use_p): Don't use BLOCK_FOR_INSN on barriers,
just return false for them.

From-SVN: r239241
gcc/ChangeLog
gcc/lra-spills.c