diff options
author | Jakub Jelinek <jakub@gcc.gnu.org> | 2008-05-08 01:14:13 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2008-05-08 01:14:13 +0200 |
commit | 4218dc2db0ce983bbf9c00be37d424177504e175 (patch) | |
tree | ba745679a1f5d50a13d2079f123d0325c6b0c94f /gcc | |
parent | becfd6e57bd90a45e5ab409db85f2e69e5945213 (diff) | |
download | gcc-4218dc2db0ce983bbf9c00be37d424177504e175.zip gcc-4218dc2db0ce983bbf9c00be37d424177504e175.tar.gz gcc-4218dc2db0ce983bbf9c00be37d424177504e175.tar.bz2 |
tree-parloops.c (create_parallel_loop): Set OMP_RETURN_NOWAIT on OMP_RETURN for OMP_FOR.
* tree-parloops.c (create_parallel_loop): Set OMP_RETURN_NOWAIT
on OMP_RETURN for OMP_FOR.
From-SVN: r135059
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 25 | ||||
-rw-r--r-- | gcc/tree-parloops.c | 6 |
2 files changed, 19 insertions, 12 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1104f77..18711d1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 @@ -605,7 +610,7 @@ (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. @@ -1732,7 +1737,7 @@ * 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 @@ -1817,14 +1822,14 @@ * 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 @@ -2703,7 +2708,7 @@ * 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. @@ -5304,7 +5309,7 @@ * 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. @@ -7968,7 +7973,7 @@ * 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 @@ -8065,7 +8070,7 @@ * 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. @@ -8079,7 +8084,7 @@ * 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 diff --git a/gcc/tree-parloops.c b/gcc/tree-parloops.c index b377e84..de4f306 100644 --- a/gcc/tree-parloops.c +++ b/gcc/tree-parloops.c @@ -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; } |