OSDN Git Service

* openmp.c (resolve_omp_clauses): Add a dummy case label to workaround
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Feb 2006 21:31:20 +0000 (21:31 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Feb 2006 21:31:20 +0000 (21:31 +0000)
PR middle-end/26316.

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

gcc/fortran/ChangeLog
gcc/fortran/openmp.c

index 0755ee7..3839c3f 100644 (file)
@@ -1,3 +1,8 @@
+2006-02-16  Jakub Jelinek  <jakub@redhat.com>
+
+       * openmp.c (resolve_omp_clauses): Add a dummy case label to workaround
+       PR middle-end/26316.
+
 2005-02-16  Paul Thomas  <pault@gcc.gnu.org>
 
        PR fortran/24557
index 312d5a1..09ec255 100644 (file)
@@ -865,6 +865,10 @@ resolve_omp_clauses (gfc_code *code)
                                 : list == OMP_LIST_MULT ? "IOR" : "IEOR",
                                 n->sym->name, &code->loc);
                    break;
+                 /* Workaround for PR middle-end/26316, nothing really needs
+                    to be done here for OMP_LIST_PRIVATE.  */
+                 case OMP_LIST_PRIVATE:
+                   gcc_assert (code->op != EXEC_NOP);
                  default:
                    break;
                  }