re PR tree-optimization/50587 (ICE init_range_entry, at tree-ssa-reassoc.c:1698 caused by recent change)
PR tree-optimization/50587 * tree-ssa-reassoc.c (init_range_entry): Stop iterating when arg0 is not a SSA_NAME. From-SVN: r179447
This commit is contained in:
parent
93b765d091
commit
e4a5b262e7
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2011-10-03 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR tree-optimization/50587
|
||||
* tree-ssa-reassoc.c (init_range_entry): Stop iterating when
|
||||
arg0 is not a SSA_NAME.
|
||||
|
||||
2011-10-03 Richard Sandiford <rdsandiford@googlemail.com>
|
||||
|
||||
* ipa-inline-analysis.c (MAX_TIME): Update comment.
|
||||
|
|
|
@ -1648,6 +1648,8 @@ init_range_entry (struct range_entry *r, tree exp)
|
|||
|
||||
code = gimple_assign_rhs_code (stmt);
|
||||
arg0 = gimple_assign_rhs1 (stmt);
|
||||
if (TREE_CODE (arg0) != SSA_NAME)
|
||||
break;
|
||||
arg1 = gimple_assign_rhs2 (stmt);
|
||||
exp_type = TREE_TYPE (exp);
|
||||
loc = gimple_location (stmt);
|
||||
|
|
Loading…
Add table
Reference in a new issue