Commit bcfbf257 by Alan Modra Committed by Alan Modra

Fix segfault on verify_dominators error path

	* dominance.c (verify_dominators): Don't segfault on NULL imm_bb.

From-SVN: r236845
parent cdfa2b24
2016-05-28 Alan Modra <amodra@gmail.com>
* dominance.c (verify_dominators): Don't segfault on NULL imm_bb.
2016-05-28 Alan Modra <amodra@gmail.com>
PR rtl-optimization/71275
* ira.c (ira): Free dominance info.
......
......@@ -1024,6 +1024,7 @@ verify_dominators (cdi_direction dir)
{
error ("dominator of %d status unknown", bb->index);
err = true;
continue;
}
basic_block imm_bb_correct = di.get_idom (bb);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment