gcse.c (find_rtx_in_ldst): Handle NULL pre_ldst_table.

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

	* gcse.c (find_rtx_in_ldst): Handle NULL pre_ldst_table.

From-SVN: r106829
This commit is contained in:
Richard Guenther 2005-11-12 19:29:30 +00:00 committed by Richard Biener
parent 02c92593ed
commit 6375779a59
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2005-11-12 Richard Guenther <rguenther@suse.de>
* gcse.c (find_rtx_in_ldst): Handle NULL pre_ldst_table.
2005-11-12 Jan Hubicka <jh@suse.cz>
* expr.c (expand_expr_real_1): <MAX_EXPR, MIN_EXPR>: Canonicalize

View File

@ -5146,6 +5146,8 @@ find_rtx_in_ldst (rtx x)
{
struct ls_expr e;
void **slot;
if (!pre_ldst_table)
return NULL;
e.pattern = x;
slot = htab_find_slot (pre_ldst_table, &e, NO_INSERT);
if (!slot || ((struct ls_expr *)*slot)->invalid)