From 4218dc2db0ce983bbf9c00be37d424177504e175 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 8 May 2008 01:14:13 +0200 Subject: [PATCH] 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 --- gcc/ChangeLog | 25 +++++++++++++++---------- 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 +2008-05-08 Jakub Jelinek + + * tree-parloops.c (create_parallel_loop): Set OMP_RETURN_NOWAIT + on OMP_RETURN for OMP_FOR. + +2008-05-07 Kenneth Zadeck 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 +2008-05-03 Kenneth Zadeck * 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 +2008-04-22 Kenneth Zadeck 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 +2008-04-21 Kenneth Zadeck * 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 - Kenneth Zadeck + Kenneth Zadeck * 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 +2008-04-07 Kenneth Zadeck * 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 +2008-03-05 Kenneth Zadeck * 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 +2008-01-22 Kenneth Zadeck 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 +2008-01-20 Kenneth Zadeck * 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 +2008-01-19 Kenneth Zadeck 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 and Zdenek Dvorak . @@ -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; } -- 2.7.4