loop-iv.c (simplify_using_initial_values): Fix oversight in previous change; avoid a memory leak when returning early.
* loop-iv.c (simplify_using_initial_values): Fix oversight in previous change; avoid a memory leak when returning early. From-SVN: r122346
This commit is contained in:
parent
31cd73eb52
commit
4898239452
@ -1,3 +1,8 @@
|
||||
2007-02-27 Bernd Schmidt <bernd.schmidt@analog.com>
|
||||
|
||||
* loop-iv.c (simplify_using_initial_values): Fix oversight in previous
|
||||
change; avoid a memory leak when returning early.
|
||||
|
||||
2007-02-26 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* c-decl.c (static_ctors): Move to c-common.c.
|
||||
|
@ -1812,7 +1812,10 @@ simplify_using_initial_values (struct loop *loop, enum rtx_code op, rtx *expr)
|
||||
return;
|
||||
}
|
||||
if (for_each_rtx (expr, altered_reg_used, altered))
|
||||
return;
|
||||
{
|
||||
FREE_REG_SET (altered);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (!single_pred_p (e->src)
|
||||
|
Loading…
Reference in New Issue
Block a user