Commit 3f217497 by Jakub Jelinek

omp-low.c (mark_loops_in_oacc_kernels_region): Work around -Wmaybe-uninitialized warning.

	* omp-low.c (mark_loops_in_oacc_kernels_region): Work around
	-Wmaybe-uninitialized warning.

From-SVN: r232484
parent 7a5d1d34
2016-01-16 Sandra Loosemore <sandra@codesourcery.com> 2016-01-17 Jakub Jelinek <jakub@redhat.com>
* omp-low.c (mark_loops_in_oacc_kernels_region): Work around
-Wmaybe-uninitialized warning.
2016-01-16 Sandra Loosemore <sandra@codesourcery.com>
* doc/invoke.texi (Invoking GCC): Add new section to menu. * doc/invoke.texi (Invoking GCC): Add new section to menu.
(Option Summary): Update to reflect new section and moved options. (Option Summary): Update to reflect new section and moved options.
......
...@@ -12543,7 +12543,7 @@ mark_loops_in_oacc_kernels_region (basic_block region_entry, ...@@ -12543,7 +12543,7 @@ mark_loops_in_oacc_kernels_region (basic_block region_entry,
/* Don't parallelize the kernels region if it contains more than one outer /* Don't parallelize the kernels region if it contains more than one outer
loop. */ loop. */
unsigned int nr_outer_loops = 0; unsigned int nr_outer_loops = 0;
struct loop *single_outer; struct loop *single_outer = NULL;
for (struct loop *loop = outer->inner; loop != NULL; loop = loop->next) for (struct loop *loop = outer->inner; loop != NULL; loop = loop->next)
{ {
gcc_assert (loop_outer (loop) == outer); gcc_assert (loop_outer (loop) == outer);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment