This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[lno] fix return type
- From: Pop Sébastian <pop at gauvain dot u-strasbg dot fr>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 3 Jan 2004 01:45:00 +0100
- Subject: [lno] fix return type
* tree-vectorizer.c (vect_is_supportable_binop): Returns false instead
of NULL.
Index: tree-vectorizer.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Attic/tree-vectorizer.c,v
retrieving revision 1.1.2.3
diff -d -u -p -r1.1.2.3 tree-vectorizer.c
--- tree-vectorizer.c 2 Jan 2004 23:32:39 -0000 1.1.2.3
+++ tree-vectorizer.c 3 Jan 2004 00:38:39 -0000
@@ -1188,15 +1188,15 @@ vect_is_supportable_binop (tree stmt)
op1 = TREE_OPERAND (operation, 1);
if (!op0 || TREE_CODE (op0) != SSA_NAME)
- return NULL;
+ return false;
if (!op1 || TREE_CODE (op1) != SSA_NAME)
- return NULL;
+ return false;
/* Suppotable by target? */
if (!binoptab)
- return NULL;
+ return false;
vec_mode = TYPE_MODE (vectype);