]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Make create_parallel_loop return void
authorTom de Vries <tom@codesourcery.com>
Wed, 11 Nov 2015 20:22:22 +0000 (20:22 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Wed, 11 Nov 2015 20:22:22 +0000 (20:22 +0000)
2015-11-11  Tom de Vries  <tom@codesourcery.com>

* tree-parloops.c (create_parallel_loop): Return void.

From-SVN: r230189

gcc/ChangeLog
gcc/tree-parloops.c

index 8d6833017f5fcb08fb21c0217a52c77fe09901fe..08fae9e73f8123b65c6304a7a5415c755f7a57a4 100644 (file)
@@ -1,3 +1,7 @@
+2015-11-11  Tom de Vries  <tom@codesourcery.com>
+
+       * tree-parloops.c (create_parallel_loop): Return void.
+
 2015-11-11  Tom de Vries  <tom@codesourcery.com>
 
        * tree-parloops.c (transform_to_exit_first_loop_alt): Insert new exit
index 6a49aa9688da718b3a29f516f8f9ff8d9b106862..17415a831a1a6b1096bcc460d0aba5b6a3f97c15 100644 (file)
@@ -1986,10 +1986,9 @@ transform_to_exit_first_loop (struct loop *loop,
 /* Create the parallel constructs for LOOP as described in gen_parallel_loop.
    LOOP_FN and DATA are the arguments of GIMPLE_OMP_PARALLEL.
    NEW_DATA is the variable that should be initialized from the argument
-   of LOOP_FN.  N_THREADS is the requested number of threads.  Returns the
-   basic block containing GIMPLE_OMP_PARALLEL tree.  */
+   of LOOP_FN.  N_THREADS is the requested number of threads.  */
 
-static basic_block
+static void
 create_parallel_loop (struct loop *loop, tree loop_fn, tree data,
                      tree new_data, unsigned n_threads, location_t loc)
 {
@@ -2162,8 +2161,6 @@ create_parallel_loop (struct loop *loop, tree loop_fn, tree data,
   /* After the above dom info is hosed.  Re-compute it.  */
   free_dominance_info (CDI_DOMINATORS);
   calculate_dominance_info (CDI_DOMINATORS);
-
-  return paral_bb;
 }
 
 /* Generates code to execute the iterations of LOOP in N_THREADS