cprop.c (implicit_set_cond_p): Assume nothing about COND...
authorSteven Bosscher <steven@gcc.gnu.org>
Mon, 4 Apr 2011 18:24:50 +0000 (18:24 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Mon, 4 Apr 2011 18:24:50 +0000 (18:24 +0000)
commit384d7a5522426eddc7cb7b04a65af0f397133ab9
tree3b2e6e2fd36117581af20d553fc1d00a97d4b8a0
parent3084ce6991ded2bf850baa84fa1bf975d9982dd4
cprop.c (implicit_set_cond_p): Assume nothing about COND...

* cprop.c (implicit_set_cond_p): Assume nothing about COND, move
checks on form of COND from find_implicit_sets to here.
(find_implicit_sets): Cleanup control flow. Split critical edges
if it exposes implicit sets.  Allocate/resize implicit_sets as
necessary.
(one_cprop_pass): Only delete unreachable blocks if local_cprop_pass
changed something.  Run df_analyze after find_implicit_sets if any
edges were split.  Do not allocate implicit_sets here.

From-SVN: r171946
gcc/ChangeLog
gcc/cprop.c