diff options
author | Jakub Jelinek <jakub@redhat.com> | 2006-05-16 12:12:39 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2006-05-16 12:12:39 +0200 |
commit | 4156f84bfb9e0e26701a825d52da11eec26d10ff (patch) | |
tree | d91b1027fa1d8ccd64127b7bbcfbfc90a4ea9c55 /gcc/gimplify.c | |
parent | 726e99922bf44d24b991b6a9454461d22ba03827 (diff) | |
download | gcc-4156f84bfb9e0e26701a825d52da11eec26d10ff.zip gcc-4156f84bfb9e0e26701a825d52da11eec26d10ff.tar.gz gcc-4156f84bfb9e0e26701a825d52da11eec26d10ff.tar.bz2 |
re PR c/27499 (ICE with unsigned iteration variable and -fopenmp)
PR c/27499
* gimplify.c (gimplify_omp_for): Remove assertion that iteration var
is signed.
* gcc.dg/gomp/pr27499.c: New test.
* g++.dg/gomp/pr27499.C: New test.
From-SVN: r113822
Diffstat (limited to 'gcc/gimplify.c')
-rw-r--r-- | gcc/gimplify.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/gimplify.c b/gcc/gimplify.c index 000f610..279bd2b 100644 --- a/gcc/gimplify.c +++ b/gcc/gimplify.c @@ -4750,7 +4750,6 @@ gimplify_omp_for (tree *expr_p, tree *pre_p) decl = TREE_OPERAND (t, 0); gcc_assert (DECL_P (decl)); gcc_assert (INTEGRAL_TYPE_P (TREE_TYPE (decl))); - gcc_assert (!TYPE_UNSIGNED (TREE_TYPE (decl))); /* Make sure the iteration variable is private. */ if (omp_is_private (gimplify_omp_ctxp, decl)) |