Commit 8785e81a by Alan Modra Committed by Alan Modra

passes.c (rest_of_handle_final): NULL unlikely_text_section_name after freeing.

	* passes.c (rest_of_handle_final): NULL unlikely_text_section_name
	after freeing.

From-SVN: r97536
parent 04d8b819
2005-04-04 Alan Modra <amodra@bigpond.net.au>
* passes.c (rest_of_handle_final): NULL unlikely_text_section_name
after freeing.
2005-04-04 Richard Earnshaw <richard.earnshaw@arm.com>
PR target/14812
......
......@@ -330,7 +330,10 @@ rest_of_handle_final (void)
timevar_push (TV_SYMOUT);
(*debug_hooks->function_decl) (current_function_decl);
if (unlikely_text_section_name)
free (unlikely_text_section_name);
{
free (unlikely_text_section_name);
unlikely_text_section_name = NULL;
}
timevar_pop (TV_SYMOUT);
ggc_collect ();
......
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