Re: [PATCH] Fix PR 66301

2015-06-16 Thread Richard Biener
On Thu, Jun 11, 2015 at 6:34 PM, Martin Jambor wrote: > Hi, > > the following patch is a quick fix for PR 66301. > eliminate_dom_walker::before_dom_children in tree-ssa-pre.c calls > dump_possible_polymorphic_call_targets when dump_enabled_p returns > true, but the function assumes dump_file is no

[PATCH] Fix PR 66301

2015-06-11 Thread Martin Jambor
Hi, the following patch is a quick fix for PR 66301. eliminate_dom_walker::before_dom_children in tree-ssa-pre.c calls dump_possible_polymorphic_call_targets when dump_enabled_p returns true, but the function assumes dump_file is not NULL while the predicate also returns true when alt_dump_file is