Commit 3ac4c44a by Jakub Jelinek Committed by Jakub Jelinek

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
parent 1dd4a3e6
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
......
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