mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-18 14:30:42 +08:00
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:
parent
02c92593ed
commit
6375779a59
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user