diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-02-27 09:50:04 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-02-27 09:50:04 +0000 |
commit | 6295ca724123bcba17754cde6db8280274894197 (patch) | |
tree | ef16ed7af638323b496055d922dbdc8e19ef42aa /gcc/ada/sem_ch13.adb | |
parent | 9af93fe5bf230f989e0d8a18afda2546f10de092 (diff) | |
download | gcc-6295ca724123bcba17754cde6db8280274894197.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132706 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/sem_ch13.adb')
0 files changed, 0 insertions, 0 deletions