gcse.c (free_ldst_entry): Only free hashtable if it exists.

2005-11-10  Richard Guenther  <rguenther@suse.de>

	* gcse.c (free_ldst_entry): Only free hashtable if
	it exists.

From-SVN: r106734
This commit is contained in:
Richard Guenther 2005-11-10 12:44:19 +00:00 committed by Richard Biener
parent a15024e630
commit 35b5442aff
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-11-10 Richard Guenther <rguenther@suse.de>
* gcse.c (free_ldst_entry): Only free hashtable if
it exists.
2005-11-09 Eric Botcazou <ebotcazou@adacore.com>
* function.c (assign_stack_local_1): Issue an error message if

View File

@ -5088,7 +5088,8 @@ free_ldst_entry (struct ls_expr * ptr)
static void
free_ldst_mems (void)
{
htab_delete (pre_ldst_table);
if (pre_ldst_table)
htab_delete (pre_ldst_table);
pre_ldst_table = NULL;
while (pre_ldst_mems)