summaryrefslogtreecommitdiff
path: root/gcc/omp-expand.c
diff options
context:
space:
mode:
authorCesar Philippidis <cesar@codesourcery.com>2018-04-12 11:48:56 -0700
committerCesar Philippidis <cesar@gcc.gnu.org>2018-04-12 11:48:56 -0700
commit6b95d1af3e88992ddea645227eba39ab9f3584df (patch)
tree3740cab6519d80544a7d1b15f4397ba33f6a1e81 /gcc/omp-expand.c
parente417946035bda841f537ffab208b5dc7c1a49f8f (diff)
Revert 259346.
gcc/ * lto-streamer-out.c (output_function): Revert 259346. * omp-expand.c (expand_oacc_for): Likewise. libgomp/ * testsuite/libgomp.oacc-c-c++-common/pr84955.c: Revert 259346. * testsuite/libgomp.oacc-fortran/pr84955.f90:Likewise. From-SVN: r259351
Diffstat (limited to 'gcc/omp-expand.c')
-rw-r--r--gcc/omp-expand.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/omp-expand.c b/gcc/omp-expand.c
index c7d30ea3964..bb204906ea6 100644
--- a/gcc/omp-expand.c
+++ b/gcc/omp-expand.c
@@ -5439,14 +5439,6 @@ expand_oacc_for (struct omp_region *region, struct omp_for_data *fd)
split->flags ^= EDGE_FALLTHRU | EDGE_TRUE_VALUE;
- /* Add a dummy exit for the tiled block when cont_bb is missing. */
- if (cont_bb == NULL)
- {
- edge e = make_edge (body_bb, exit_bb, EDGE_FALSE_VALUE);
- e->probability = profile_probability::even ();
- split->probability = profile_probability::even ();
- }
-
/* Initialize the user's loop vars. */
gsi = gsi_start_bb (elem_body_bb);
expand_oacc_collapse_vars (fd, true, &gsi, counts, e_offset);