From 9435fb9668ecb0e9823a307f85dcb28b13beb431 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Thu, 18 Jun 2020 14:46:02 +0200 Subject: [PATCH] Fix typo in tree-ssa-reassoc.c. gcc/ChangeLog: * tree-ssa-reassoc.c (ovce_extract_ops): Replace *vcond with vcond as we check for NULL pointer. --- gcc/tree-ssa-reassoc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/tree-ssa-reassoc.c b/gcc/tree-ssa-reassoc.c index 2cc50f41cdd..2e67987f6c6 100644 --- a/gcc/tree-ssa-reassoc.c +++ b/gcc/tree-ssa-reassoc.c @@ -3840,7 +3840,7 @@ ovce_extract_ops (tree var, gassign **rets, bool *reti, tree *type, gassign *stmt = dyn_cast (SSA_NAME_DEF_STMT (var)); if (stmt == NULL) return ERROR_MARK; - if (*vcond) + if (vcond) *vcond = stmt; /* ??? If we start creating more COND_EXPR, we could perform -- 2.30.2