* [PATCH] Fix typo in last get_inner_reference change
@ 2011-08-18 13:17 Richard Guenther
0 siblings, 0 replies; only message in thread
From: Richard Guenther @ 2011-08-18 13:17 UTC (permalink / raw)
To: gcc-patches
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.
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-08-18 11:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-18 13:17 [PATCH] Fix typo in last get_inner_reference change Richard Guenther
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).