Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- linearize.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linearize.c b/linearize.c index ba76397ea..31cc94806 100644 --- a/linearize.c +++ b/linearize.c @@ -2235,7 +2235,8 @@ static struct entrypoint *linearize_fn(struct symbol *sym, struct symbol *base_t /* * Turn symbols into pseudos */ - simplify_symbol_usage(ep); + if (fpasses & PASS_MEM2REG) + simplify_symbol_usage(ep); repeat: /* -- 2.14.0 -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html