OSDN Git Service

* tree-vect-patterns.c (vect_single_imm_use): Correct return
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 May 2012 20:59:13 +0000 (20:59 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 May 2012 20:59:13 +0000 (20:59 +0000)
values from false to NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187182 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree-vect-patterns.c

index 8ce70e3..1d40af8 100644 (file)
@@ -1,3 +1,8 @@
+2012-05-04  Ian Lance Taylor  <iant@google.com>
+
+       * tree-vect-patterns.c (vect_single_imm_use): Correct return
+       values from false to NULL.
+
 2012-05-04  Uros Bizjak  <ubizjak@gmail.com>
 
        Backport from mainline
 2012-05-04  Uros Bizjak  <ubizjak@gmail.com>
 
        Backport from mainline
index 3504c82..9c84d0a 100644 (file)
@@ -101,10 +101,10 @@ vect_single_imm_use (gimple def_stmt)
     return NULL;
 
   if (!gimple_bb (use_stmt))
     return NULL;
 
   if (!gimple_bb (use_stmt))
-    return false;
+    return NULL;
 
   if (!flow_bb_inside_loop_p (loop, gimple_bb (use_stmt)))
 
   if (!flow_bb_inside_loop_p (loop, gimple_bb (use_stmt)))
-    return false;
+    return NULL;
 
   gcc_assert (vinfo_for_stmt (use_stmt));
   return use_stmt;
 
   gcc_assert (vinfo_for_stmt (use_stmt));
   return use_stmt;