diff options
author | Richard Guenther <rguenther@suse.de> | 2005-11-12 19:29:30 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2005-11-12 19:29:30 +0000 |
commit | 6375779a599735d55828634076b8a20521ec5620 (patch) | |
tree | b55ba92249bef2aca57bc2f67b618f3b41368238 /gcc/gcse.c | |
parent | 02c92593ed3d6da29ba15a4f9945b7c3885e2700 (diff) | |
download | gcc-6375779a599735d55828634076b8a20521ec5620.zip gcc-6375779a599735d55828634076b8a20521ec5620.tar.gz gcc-6375779a599735d55828634076b8a20521ec5620.tar.bz2 |
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
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r-- | gcc/gcse.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |