diff options
author | Jakub Jelinek <jakub@redhat.com> | 2008-06-12 15:49:18 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2008-06-12 15:49:18 +0200 |
commit | 3ac4c44a58c0efc38fea252672028a1737036e32 (patch) | |
tree | 5e58e2f838f7d77c4c10068ca4afc64bdcd42cca /gcc/omp-low.c | |
parent | 1dd4a3e6378a4f20d7c6ce9ef588e65cbe0e38e7 (diff) | |
download | gcc-3ac4c44a58c0efc38fea252672028a1737036e32.zip gcc-3ac4c44a58c0efc38fea252672028a1737036e32.tar.gz gcc-3ac4c44a58c0efc38fea252672028a1737036e32.tar.bz2 |
re PR middle-end/36506 (Broken #pragma omp sections reduction (+:x))
PR middle-end/36506
* omp-low.c (expand_omp_sections): Initialize l2 to avoid bogus
warning.
From-SVN: r136708
Diffstat (limited to 'gcc/omp-low.c')
-rw-r--r-- | gcc/omp-low.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/omp-low.c b/gcc/omp-low.c index 85b8333..e51369a 100644 --- a/gcc/omp-low.c +++ b/gcc/omp-low.c @@ -4410,6 +4410,7 @@ expand_omp_sections (struct omp_region *region) gcc_assert (len > 0); e = EDGE_SUCC (l0_bb, len - 1); si = bsi_last (e->dest); + l2 = NULL_TREE; if (bsi_end_p (si) || TREE_CODE (bsi_stmt (si)) != OMP_SECTION) l2 = tree_block_label (e->dest); else |