diff mbox

Fix typo in last get_inner_reference change

Message ID alpine.LNX.2.00.1108181338330.2130@zhemvz.fhfr.qr
State New
Headers show

Commit Message

Richard Biener Aug. 18, 2011, 11:39 a.m. UTC
The following fixes a typo I made.

Bootstrapped and tested on x86_64-unknown-linux-gnu, applied.

Richard.

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

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

Patch

Index: expr.c
===================================================================
--- expr.c	(revision 177847)
+++ expr.c	(working copy)
@@ -6506,7 +6506,7 @@  get_inner_reference (tree exp, HOST_WIDE
     {
       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);