OSDN Git Service

PR middle-end/36506
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Jun 2008 13:49:18 +0000 (13:49 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Jun 2008 13:49:18 +0000 (13:49 +0000)
* omp-low.c (expand_omp_sections): Initialize l2 to avoid bogus
warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136708 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/omp-low.c

index f91be0b..36e39d6 100644 (file)
@@ -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
index 85b8333..e51369a 100644 (file)
@@ -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