* omp-low.c (lower_omp_target): Remove unreachable code & merge
ifs.
From-SVN: r229535
+2015-10-29 Nathan Sidwell <nathan@codesourcery.com>
+
+ * omp-low.c (lower_omp_target): Remove unreachable code & merge
+ ifs.
+
2015-10-29 Marc Glisse <marc.glisse@inria.fr>
* match.pd (X-(X/Y)*Y): Properly handle conversions and commutativity.
}
break;
}
+
gimple_seq_add_seq (&new_body, tgt_body);
+
if (offloaded)
new_body = maybe_catch_exception (new_body);
- }
- else if (data_region)
- new_body = tgt_body;
- if (offloaded || data_region)
- {
+
gimple_seq_add_stmt (&new_body, gimple_build_omp_return (false));
gimple_omp_set_body (stmt, new_body);
}