diff options
| author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-11-27 00:55:50 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:05:03 -0700 |
| commit | 14781fa1f7d326f970e075612c5e585b2df8d0ca (patch) | |
| tree | f6c03daa2331c8be91d8917e3a792cb9edf83e11 | |
| parent | b22aa7228d7fab35b86cb57a4b33d3826ec7e916 (diff) | |
| download | sparse-dev-14781fa1f7d326f970e075612c5e585b2df8d0ca.tar.gz | |
Nonlocal memops are non-determinedly dominated by the entry.
| -rw-r--r-- | flow.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -218,6 +218,9 @@ static int find_dominating_parents(pseudo_t pseudo, struct instruction *insn, { struct basic_block *parent; + if (!bb->parents) + return !!local; + if (bb_list_size(bb->parents) > 1) loads = 0; FOR_EACH_PTR(bb->parents, parent) { |
