re PR rtl-optimization/13375 (ICE in gcse.c)

PR optimization/13375
* gcse.c (handle_avail_expr): Just return if the source is not a
single set.

From-SVN: r75932
This commit is contained in:
Richard Earnshaw 2004-01-15 17:29:10 +00:00 committed by Richard Earnshaw
parent acd47d2a69
commit e5396f908a
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2004-01-15 Richard Earnshaw <rearnsha@arm.com>
PR optimization/13375
* gcse.c (handle_avail_expr): Just return if the source is not a
single set.
2004-01-15 Richard Earnshaw <rearnsha@arm.com>
Daniel Jacobowitz <drow@mvista.com>

View File

@ -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;