summaryrefslogtreecommitdiff
path: root/gcc/gcse.c
diff options
context:
space:
mode:
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-15 17:29:10 +0000
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-15 17:29:10 +0000
commit50d0dd909fb8ac3244673a0223ac38059b7ed11a (patch)
tree53dfbcb6fa0d0c2e9a7dbff8c8bc88e972bc708a /gcc/gcse.c
parentca14d7fa4e93eb368568f974f71e6c1d2eed481b (diff)
downloadgcc-50d0dd909fb8ac3244673a0223ac38059b7ed11a.tar.gz
PR optimization/13375
* gcse.c (handle_avail_expr): Just return if the source is not a single set. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75932 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r--gcc/gcse.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c
index f3656c19d47..6053dffe833 100644
--- a/gcc/gcse.c
+++ b/gcc/gcse.c
@@ -3381,8 +3381,11 @@ handle_avail_expr (rtx insn, struct expr *expr)
if (insn_computes_expr == NULL)
return 0;
expr_set = single_set (insn_computes_expr);
+ /* The set might be in a parallel with multiple sets; we could
+ probably handle that, but there's currently no easy way to find
+ the relevant sub-expression. */
if (!expr_set)
- abort ();
+ return 0;
found_setting = 0;
use_src = 0;