diff options
| -rw-r--r-- | gcc/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/gcse.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3c01cf7..760a639 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 @@ -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) |
