Re: [PATCH, PR70269] Set dump_file to NULL in cgraph_node::get_body

2016-03-19 Thread Richard Biener
On Thu, 17 Mar 2016, Tom de Vries wrote: > Hi, > > this patch fixes PR70269, an 5/6 regression. > > When compiling with "-O2 -fipa-pta -fdump-ipa-pta-graph" we try to initialize > a graph dump file for ipa-cp, while the dump file is not enabled, which causes > an ICE because dump_file_name is NU

[PATCH, PR70269] Set dump_file to NULL in cgraph_node::get_body

2016-03-19 Thread Tom de Vries
Hi, this patch fixes PR70269, an 5/6 regression. When compiling with "-O2 -fipa-pta -fdump-ipa-pta-graph" we try to initialize a graph dump file for ipa-cp, while the dump file is not enabled, which causes an ICE because dump_file_name is NULL. This condition in pass_init_dump_file enables t