This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r237875 - in /trunk/gcc: ChangeLog fold-const.c...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 30 Jun 2016 08:52:43 -0000
- Subject: r237875 - in /trunk/gcc: ChangeLog fold-const.c...
Author: jakub
Date: Thu Jun 30 08:52:43 2016
New Revision: 237875
URL: https://gcc.gnu.org/viewcvs?rev=237875&root=gcc&view=rev
Log:
PR middle-end/71693
* fold-const.c (fold_binary_loc) <case RROTATE_EXPR>: Cast
TREE_OPERAND (arg0, 0) and TREE_OPERAND (arg0, 1) to type
first when permuting bitwise operation with rotate. Cast
TREE_OPERAND (arg0, 0) to type when cancelling two rotations.
* gcc.c-torture/compile/pr71693.c: New test.
Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr71693.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/testsuite/ChangeLog