r132706 - in /trunk/gcc: ChangeLog expr.c fold-...
rguenth@gcc.gnu.org
rguenth@gcc.gnu.org
Wed Feb 27 09:50:00 GMT 2008
Author: rguenth
Date: Wed Feb 27 09:50:04 2008
New Revision: 132706
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132706
Log:
2008-02-27 Richard Guenther <rguenther@suse.de>
PR middle-end/34971
* expr.c (expand_expr_real_1): Assert on rotates that operate
on partial modes.
* fold-const.c (fold_binary): Use the types precision, not the
bitsize of the mode if folding rotate expressions. Build rotates
only for full modes.
* gcc.c-torture/execute/pr34971.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.c-torture/execute/pr34971.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/expr.c
trunk/gcc/fold-const.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list