Commit f5d6c2d8 by Richard Biener Committed by Richard Biener

fwprop.c (fwprop): Remove duplicate cleanup_cfg call.

2016-05-06  Richard Biener  <rguenther@suse.de>

	* fwprop.c (fwprop): Remove duplicate cleanup_cfg call.
	(fwprop_addr): Likewise.

From-SVN: r235942
parent d0b2932a
2016-05-06 Richard Biener <rguenther@suse.de>
* fwprop.c (fwprop): Remove duplicate cleanup_cfg call.
(fwprop_addr): Likewise.
2016-05-06 Uros Bizjak <ubizjak@gmail.com>
PR target/70873
......
......@@ -1461,7 +1461,6 @@ static unsigned int
fwprop (void)
{
unsigned i;
bool need_cleanup = false;
fwprop_init ();
......@@ -1479,12 +1478,10 @@ fwprop (void)
|| DF_REF_BB (use)->loop_father == NULL
/* The outer most loop is not really a loop. */
|| loop_outer (DF_REF_BB (use)->loop_father) == NULL)
need_cleanup |= forward_propagate_into (use);
forward_propagate_into (use);
}
fwprop_done ();
if (need_cleanup)
cleanup_cfg (0);
return 0;
}
......@@ -1528,7 +1525,6 @@ static unsigned int
fwprop_addr (void)
{
unsigned i;
bool need_cleanup = false;
fwprop_init ();
......@@ -1542,13 +1538,10 @@ fwprop_addr (void)
&& DF_REF_BB (use)->loop_father != NULL
/* The outer most loop is not really a loop. */
&& loop_outer (DF_REF_BB (use)->loop_father) != NULL)
need_cleanup |= forward_propagate_into (use);
forward_propagate_into (use);
}
fwprop_done ();
if (need_cleanup)
cleanup_cfg (0);
return 0;
}
......
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