Commit 2003abbd by Jakub Jelinek Committed by Jakub Jelinek

re PR middle-end/26316 (loop-invariant miscompiles openmp.c)

	* openmp.c (resolve_omp_clauses): Add a dummy case label to workaround
	PR middle-end/26316.

From-SVN: r111152
parent b47b5e08
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> 2005-02-16 Paul Thomas <pault@gcc.gnu.org>
PR fortran/24557 PR fortran/24557
......
...@@ -865,6 +865,10 @@ resolve_omp_clauses (gfc_code *code) ...@@ -865,6 +865,10 @@ resolve_omp_clauses (gfc_code *code)
: list == OMP_LIST_MULT ? "IOR" : "IEOR", : list == OMP_LIST_MULT ? "IOR" : "IEOR",
n->sym->name, &code->loc); n->sym->name, &code->loc);
break; 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: default:
break; break;
} }
......
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