[Bug tree-optimization/65014] [5 Regression] ice with error: type mismatch in shift expression
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 12 09:46:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65014
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb 12 09:45:27 2015
New Revision: 220640
URL: https://gcc.gnu.org/viewcvs?rev=220640&root=gcc&view=rev
Log:
PR tree-optimization/65014
* fold-const.c (fold_binary_loc): When creating {L,R}ROTATE_EXPR,
use original second operand of arg0 or arg1 instead of
that adjusted by STRIP_NOPS.
* gcc.c-torture/compile/pr65014.c: New test.
Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr65014.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list