aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimplify.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-05-16 12:12:39 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2006-05-16 12:12:39 +0200
commit4156f84bfb9e0e26701a825d52da11eec26d10ff (patch)
treed91b1027fa1d8ccd64127b7bbcfbfc90a4ea9c55 /gcc/gimplify.c
parent726e99922bf44d24b991b6a9454461d22ba03827 (diff)
downloadgcc-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.c1
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))