mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-23 15:01:17 +08:00
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
This commit is contained in:
parent
04d8b8197c
commit
8785e81a28
@ -1,3 +1,8 @@
|
||||
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 ();
|
||||
|
Loading…
x
Reference in New Issue
Block a user