Re: [PATCH] Fix cgraph dumping bug

2014-05-09 Thread Richard Biener
On May 9, 2014 5:53:06 PM CEST, Teresa Johnson wrote: >Fixed a place where the wrong dump file was being used, leading to >an inconsistency and seg fault when dump_file was non-NULL but >cgraph_dump_file was NULL. > >Bootstrapped and tested on x86-64-unknown-linux-gnu. Ok for trunk? OK. Thanks,

[PATCH] Fix cgraph dumping bug

2014-05-09 Thread Teresa Johnson
Fixed a place where the wrong dump file was being used, leading to an inconsistency and seg fault when dump_file was non-NULL but cgraph_dump_file was NULL. Bootstrapped and tested on x86-64-unknown-linux-gnu. Ok for trunk? Thanks, Teresa 2014-05-09 Teresa Johnson * cgraphunit.c (ana