OSDN Git Service

* tree-parloops.c (create_parallel_loop): Set OMP_RETURN_NOWAIT
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 May 2008 23:14:13 +0000 (23:14 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 May 2008 23:14:13 +0000 (23:14 +0000)
on OMP_RETURN for OMP_FOR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135059 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree-parloops.c

index 1104f77..18711d1 100644 (file)
@@ -1,4 +1,9 @@
-2008-05-07 Kenneth Zadeck <zadeck@naturalbridge.com>
+2008-05-08  Jakub Jelinek  <jakub@redhat.com>
+
+       * tree-parloops.c (create_parallel_loop): Set OMP_RETURN_NOWAIT
+       on OMP_RETURN for OMP_FOR.
+
+2008-05-07  Kenneth Zadeck  <zadeck@naturalbridge.com>
 
         PATCH rtl/7335
         PATCH rtl/33826
        (ix86_init_mmx_sse_builtins): Move case V4HI_FTYPE_V4HI after
        case V4SI_FTYPE_V2DF.
 
-2008-05-03  Kenneth Zadeck <zadeck@naturalbridge.com>
+2008-05-03  Kenneth Zadeck  <zadeck@naturalbridge.com>
 
        * doc/invoke.texi (max-flow-memory-locations): Removed.
        * params.def (PARAM_MAX_FLOW_MEMORY_LOCATIONS): Removed.
        * config/rs6000/rs6000.c (rs6000_register_move_cost): Increase cost
        of LR/CTR moves for Power6.
 
-2008-04-22  Kenneth Zadeck <zadeck@naturalbridge.com>
+2008-04-22  Kenneth Zadeck  <zadeck@naturalbridge.com>
 
        PR middle-end/36003
        * passes.c (init_optimization_passes): Remove
        * coverage.c: Include tree-pass.h.
        (coverage_counter_alloc): Print da_file_name to the dump file.
 
-2008-04-21  Kenneth Zadeck <zadeck@naturalbridge.com>
+2008-04-21  Kenneth Zadeck  <zadeck@naturalbridge.com>
 
        * sbitmap.c (sbitmap_range_empty_p): New function.
        * sbitmap.h (sbitmap_range_empty_p): New function.
        * bitmap.h: Now includes obstack.h.
 
 2008-04-21  Richard Sandiford  <rsandifo@nildram.co.uk>
-           Kenneth Zadeck <zadeck@naturalbridge.com>
+           Kenneth Zadeck  <zadeck@naturalbridge.com>
 
        * dbgcnt.def (ra_byte_scan): Added.
        * dbgcnt.c (dbg_cnt): Added code to print message to dump_file
        * config/i386/i386.md ("*sse_prologue_save_insn"): Use braced output
        control string instead of quoted.
 
-2008-04-07  Kenneth Zadeck <zadeck@naturalbridge.com>
+2008-04-07  Kenneth Zadeck  <zadeck@naturalbridge.com>
 
        * doc/rtl.texi: Rewrite of subreg section.
 
 
        * alias.h (alias_set_type): Change from HOST_WIDE_INT to int.
 
-2008-03-05  Kenneth Zadeck <zadeck@naturalbridge.com>
+2008-03-05  Kenneth Zadeck  <zadeck@naturalbridge.com>
 
        * fwprop.c (update_df): Support width and offset parameters of
        df_ref_create.
        * common.opt (Wstrict-aliasing): Specify Var and Init.
        (Wstrict-overflow): Likewise.
 
-2008-01-22  Kenneth Zadeck <zadeck@naturalbridge.com>
+2008-01-22  Kenneth Zadeck  <zadeck@naturalbridge.com>
 
        PR rtl-optimization/26854
        PR rtl-optimization/34400
        * ipa-struct-reorg.c (gen_size): Fix the malloc parameter calculation
        when the structure size is not a power of 2.
 
-2008-01-20  Kenneth Zadeck <zadeck@naturalbridge.com>
+2008-01-20  Kenneth Zadeck  <zadeck@naturalbridge.com>
 
        * doc/install.texi: Add doc for --enable-checking=df.
        
        * global.c (find_reg): Only compute EH_RETURN_DATA_REGNO once per
        input.
 
-2008-01-19  Kenneth Zadeck <zadeck@naturalbridge.com>
+2008-01-19  Kenneth Zadeck  <zadeck@naturalbridge.com>
 
        PR rtl-optimization/26854
        PR rtl-optimization/34400
index b377e84..de4f306 100644 (file)
@@ -1,5 +1,5 @@
 /* Loop autoparallelization.
-   Copyright (C) 2006, 2007 Free Software Foundation, Inc.
+   Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc.
    Contributed by Sebastian Pop <pop@cri.ensmp.fr> and
    Zdenek Dvorak <dvorakz@suse.cz>.
 
@@ -1639,7 +1639,9 @@ create_parallel_loop (struct loop *loop, tree loop_fn, tree data,
 
   /* Emit OMP_RETURN for OMP_FOR.  */
   bsi = bsi_last (ex_bb);
-  bsi_insert_after (&bsi, make_node (OMP_RETURN), BSI_NEW_STMT);
+  t = make_node (OMP_RETURN);
+  OMP_RETURN_NOWAIT (t) = 1;
+  bsi_insert_after (&bsi, t, BSI_NEW_STMT);
 
   return paral_bb;
 }