expr.c (get_inner_reference): Fix typo in last change.

2011-08-18  Richard Guenther  <rguenther@suse.de>

	* expr.c (get_inner_reference): Fix typo in last change.

From-SVN: r177849
This commit is contained in:
Richard Guenther 2011-08-18 11:40:45 +00:00 committed by Richard Biener
parent 4c9cf7af89
commit fdb4f31533
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2011-08-18 Richard Guenther <rguenther@suse.de>
* expr.c (get_inner_reference): Fix typo in last change.
2011-08-18 Paolo Carlini <paolo.carlini@oracle.com>
Joseph Myers <joseph@codesourcery.com>

View File

@ -6506,7 +6506,7 @@ get_inner_reference (tree exp, HOST_WIDE_INT *pbitsize,
{
double_int tem = tree_to_double_int (offset);
tem = double_int_sext (tem, TYPE_PRECISION (sizetype));
tem = double_int_lshift (tree_to_double_int (offset),
tem = double_int_lshift (tem,
BITS_PER_UNIT == 8
? 3 : exact_log2 (BITS_PER_UNIT),
HOST_BITS_PER_DOUBLE_INT, true);