------- Comment #3 from rguenth at gcc dot gnu dot org 2008-02-27 09:50 ------- Subject: Bug 34971
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 <[EMAIL PROTECTED]> 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 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34971