projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b4bdaf
)
Fix typo in tree-ssa-reassoc.c.
author
Martin Liska
<mliska@suse.cz>
Thu, 18 Jun 2020 12:46:02 +0000
(14:46 +0200)
committer
Martin Liska
<mliska@suse.cz>
Thu, 18 Jun 2020 12:46:02 +0000
(14:46 +0200)
gcc/ChangeLog:
* tree-ssa-reassoc.c (ovce_extract_ops): Replace *vcond with
vcond as we check for NULL pointer.
gcc/tree-ssa-reassoc.c
patch
|
blob
|
history
diff --git
a/gcc/tree-ssa-reassoc.c
b/gcc/tree-ssa-reassoc.c
index 2cc50f41cdd1ba56d716b83e55d89608320a8634..2e67987f6c603cb7ef2dc176437b22e6965183b9 100644
(file)
--- 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 <gassign *> (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