From: Richard Guenther Date: Thu, 18 Aug 2011 11:40:45 +0000 (+0000) Subject: expr.c (get_inner_reference): Fix typo in last change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fdb4f3153312d1195d699421d43fb34ba41e6a58;p=gcc.git expr.c (get_inner_reference): Fix typo in last change. 2011-08-18 Richard Guenther * expr.c (get_inner_reference): Fix typo in last change. From-SVN: r177849 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c46e1ee08b3..c9b49b67c0b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-08-18 Richard Guenther + + * expr.c (get_inner_reference): Fix typo in last change. + 2011-08-18 Paolo Carlini Joseph Myers diff --git a/gcc/expr.c b/gcc/expr.c index 6fb82ae9e2a..03a05f37362 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -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);