Commit 48982394 by Bernd Schmidt Committed by Bernd Schmidt

loop-iv.c (simplify_using_initial_values): Fix oversight in previous change;…

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
parent 31cd73eb
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment