PR bootstrap/83396
commit27c3c006f1c94e01a8170963ff7d84f4deb9471c
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Dec 2017 11:02:37 +0000 (14 11:02 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Dec 2017 11:02:37 +0000 (14 11:02 +0000)
tree8b6055274e6c1b7e00d999b5bdc0829c5665ba9c
parent4f2bedf8f68446464558394a567dff42047a4b0f
PR bootstrap/83396
* var-tracking.c (vt_initialize): Ignore non-DEBUG_INSNs outside of
basic blocks.  Assert debug bind insns don't appear outside of bbs,
don't reset them.  Assert insns without BLOCK_FOR_INSN are outside of
bb.  Simplify.

* gcc.dg/pr83396.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@255627 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr83396.c [new file with mode: 0644]
gcc/var-tracking.c