aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
-rw-r--r--expand.c2
-rw-r--r--validation/expand/function-pointer.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/expand.c b/expand.c
index 45e6f95e..e8e50b08 100644
--- a/expand.c
+++ b/expand.c
@@ -821,6 +821,8 @@ static int expand_symbol_call(struct expression *expr, int cost)
struct expression *fn = expr->fn;
struct symbol *ctype = fn->ctype;
+ expand_expression(fn);
+
if (fn->type != EXPR_PREOP)
return SIDE_EFFECTS;
diff --git a/validation/expand/function-pointer.c b/validation/expand/function-pointer.c
index 45aace16..706ef9a4 100644
--- a/validation/expand/function-pointer.c
+++ b/validation/expand/function-pointer.c
@@ -16,7 +16,6 @@ static void tst(struct s *s)
/*
* check-name: function-pointer
* check-command: test-linearize -fdump-ir $file
- * check-known-to-fail
*
* check-output-ignore
* check-output-excludes: add\\.32.*\\$1, \\$0