From: Jakub Jelinek Date: Fri, 13 Oct 2017 20:06:40 +0000 (+0200) Subject: c-gimplify.c (c_gimplify_expr): Handle [LR]ROTATE_EXPR like [LR]SHIFT_EXPR. X-Git-Tag: upstream/12.2.0~36322 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=39382c092ee9bb5c0033018acee7f09dc82638e0;p=platform%2Fupstream%2Fgcc.git c-gimplify.c (c_gimplify_expr): Handle [LR]ROTATE_EXPR like [LR]SHIFT_EXPR. * c-gimplify.c (c_gimplify_expr): Handle [LR]ROTATE_EXPR like [LR]SHIFT_EXPR. From-SVN: r253742 --- diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index ee6fc87..f880f29 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,8 @@ +2017-10-13 Jakub Jelinek + + * c-gimplify.c (c_gimplify_expr): Handle [LR]ROTATE_EXPR like + [LR]SHIFT_EXPR. + 2017-10-12 David Malcolm * c-common.c (enum missing_token_insertion_kind): New enum. diff --git a/gcc/c-family/c-gimplify.c b/gcc/c-family/c-gimplify.c index 6a4b7c7..91f9bf9 100644 --- a/gcc/c-family/c-gimplify.c +++ b/gcc/c-family/c-gimplify.c @@ -229,6 +229,8 @@ c_gimplify_expr (tree *expr_p, gimple_seq *pre_p ATTRIBUTE_UNUSED, { case LSHIFT_EXPR: case RSHIFT_EXPR: + case LROTATE_EXPR: + case RROTATE_EXPR: { /* We used to convert the right operand of a shift-expression to an integer_type_node in the FEs. But it is unnecessary