diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-10-13 22:06:40 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-10-13 22:06:40 +0200 |
commit | 39382c092ee9bb5c0033018acee7f09dc82638e0 (patch) | |
tree | bc994809f39bdf221f3b65108d7204db3c353551 /gcc | |
parent | 5675a2f8c8faf5abdab5af02c4bdd54482e10ded (diff) | |
download | gcc-39382c092ee9bb5c0033018acee7f09dc82638e0.zip gcc-39382c092ee9bb5c0033018acee7f09dc82638e0.tar.gz gcc-39382c092ee9bb5c0033018acee7f09dc82638e0.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/c-family/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/c-family/c-gimplify.c | 2 |
2 files changed, 7 insertions, 0 deletions
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 <jakub@redhat.com> + + * c-gimplify.c (c_gimplify_expr): Handle [LR]ROTATE_EXPR like + [LR]SHIFT_EXPR. + 2017-10-12 David Malcolm <dmalcolm@redhat.com> * 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 |