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
This commit is contained in:
parent
7a5d1d34ee
commit
3f217497ca
|
@ -1,4 +1,9 @@
|
|||
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.
|
||||
(Option Summary): Update to reflect new section and moved options.
|
||||
|
|
|
@ -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
|
||||
loop. */
|
||||
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)
|
||||
{
|
||||
gcc_assert (loop_outer (loop) == outer);
|
||||
|
|
Loading…
Reference in New Issue