diff options
author | Richard Guenther <rguenther@suse.de> | 2008-02-27 09:50:04 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2008-02-27 09:50:04 +0000 |
commit | 70582b3afe47248d2b70c5731fb7cf44fa17dc16 (patch) | |
tree | ef16ed7af638323b496055d922dbdc8e19ef42aa /gcc/loop-init.c | |
parent | a15f0fd02870fef9742d517d0894e02bdd0bbdb3 (diff) | |
download | gcc-70582b3afe47248d2b70c5731fb7cf44fa17dc16.zip gcc-70582b3afe47248d2b70c5731fb7cf44fa17dc16.tar.gz gcc-70582b3afe47248d2b70c5731fb7cf44fa17dc16.tar.bz2 |
re PR middle-end/34971 (bitfield rotates are folded and expanded wrong)
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.
From-SVN: r132706
Diffstat (limited to 'gcc/loop-init.c')
0 files changed, 0 insertions, 0 deletions