Commit 1218f76f by Martin Jambor Committed by Martin Jambor

Fix PR 66301 - check for dump_file in eliminate_dom_walker::before_dom_children

2015-06-26  Martin Jambor  <mjambor@suse.cz>

	PR debug/66301
	* tree-ssa-pre.c (before_dom_children): Check that dump_file is not
	NULL instead of calling dump_enabled_p.

From-SVN: r225019
parent 8dec06f2
2015-06-26 Martin Jambor <mjambor@suse.cz>
PR debug/66301
* tree-ssa-pre.c (before_dom_children): Check that dump_file is not
NULL instead of calling dump_enabled_p.
2015-06-26 James Greenhalgh <james.greenhalgh@arm.com> 2015-06-26 James Greenhalgh <james.greenhalgh@arm.com>
* config/aarch64/aarch64.opt: (override): New. * config/aarch64/aarch64.opt: (override): New.
......
...@@ -4366,7 +4366,7 @@ eliminate_dom_walker::before_dom_children (basic_block b) ...@@ -4366,7 +4366,7 @@ eliminate_dom_walker::before_dom_children (basic_block b)
(OBJ_TYPE_REF_TOKEN (fn)), (OBJ_TYPE_REF_TOKEN (fn)),
context, context,
&final); &final);
if (dump_enabled_p ()) if (dump_file)
dump_possible_polymorphic_call_targets (dump_file, dump_possible_polymorphic_call_targets (dump_file,
obj_type_ref_class (fn), obj_type_ref_class (fn),
tree_to_uhwi tree_to_uhwi
......
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