Re: [PATCH]middle-end: On emergency dumps finish the graph generation.

2023-03-07 Thread Richard Biener via Gcc-patches
On Tue, 7 Mar 2023, Tamar Christina wrote: > Hi All, > > When doing an emergency dump the cfg output dumps are corrupted because the > ending "}" is missing. > > Normally when the pass manager finishes it would call finish_graph_dump_file > to > produce this. This is called here because each p

[PATCH]middle-end: On emergency dumps finish the graph generation.

2023-03-07 Thread Tamar Christina via Gcc-patches
Hi All, When doing an emergency dump the cfg output dumps are corrupted because the ending "}" is missing. Normally when the pass manager finishes it would call finish_graph_dump_file to produce this. This is called here because each pass can dump multiple digraphs. However during an emergency