Patchwork Fix typo in last get_inner_reference change

login
register
mail settings
Submitter Richard Guenther
Date Aug. 18, 2011, 11:39 a.m.
Message ID <alpine.LNX.2.00.1108181338330.2130@zhemvz.fhfr.qr>
Download mbox | patch
Permalink /patch/110512/
State New
Headers show

Comments

Richard Guenther - Aug. 18, 2011, 11:39 a.m.
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.

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);