aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/flow.c
diff options
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-11-25 22:32:23 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:04:57 -0700
commit01ae1c2449677ef308af0b14e9aa8fa72eb88f1d (patch)
tree2e10532fc8e6de5d5f64117eaa461831b2ae43e9 /flow.c
parentbb708408f097d298c2c518c9082cd4511c3349fc (diff)
downloadsparse-dev-01ae1c2449677ef308af0b14e9aa8fa72eb88f1d.tar.gz
Make the CSE "repeat" logic be more fine-grained than just
repeating CSE itself. In particular, some symbol address simplifications imply that we should repeat symbol simplification, since things may have improved.
Diffstat (limited to 'flow.c')
-rw-r--r--flow.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/flow.c b/flow.c
index d5f17b7c..edee1add 100644
--- a/flow.c
+++ b/flow.c
@@ -526,6 +526,11 @@ static void simplify_one_symbol(struct entrypoint *ep, struct symbol *sym)
continue;
mod |= MOD_ADDRESSABLE;
goto external_visibility;
+ case OP_NOP:
+ case OP_SNOP:
+ case OP_LNOP:
+ case OP_PHI:
+ continue;
default:
warning(sym->pos, "symbol '%s' pseudo used in unexpected way", show_ident(sym->ident));
}