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
This commit is contained in:
parent
1dd4a3e637
commit
3ac4c44a58
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-06-12 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR middle-end/36506
|
||||
* omp-low.c (expand_omp_sections): Initialize l2 to avoid bogus
|
||||
warning.
|
||||
|
||||
2008-06-12 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* tree-inline.c (copy_body_r): Copy TREE_SIDE_EFFECTS along with
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue