public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/autopar_devel] Fix typo in tree-ssa-reassoc.c.
@ 2020-08-22 22:49 Giuliano Belinassi
0 siblings, 0 replies; only message in thread
From: Giuliano Belinassi @ 2020-08-22 22:49 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:3db013e8a61611f8c700637a6f4c181a122f8e5e
commit 3db013e8a61611f8c700637a6f4c181a122f8e5e
Author: Martin Liska <mliska@suse.cz>
Date: Thu Jun 18 14:46:02 2020 +0200
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.
Diff:
---
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 <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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-08-22 22:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-22 22:49 [gcc/devel/autopar_devel] Fix typo in tree-ssa-reassoc.c Giuliano Belinassi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).