aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2010-06-02 14:27:22 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2010-06-02 14:27:22 +0000
commitf3dcdff755356d8fc8e86d40f78dbfc597e179b0 (patch)
tree68554263f21e0c002508d8af8294a58780ce89cf /gcc
parent396717c949db41ea0cc7e26b144dd31def3297a2 (diff)
downloadgcc-f3dcdff755356d8fc8e86d40f78dbfc597e179b0.zip
gcc-f3dcdff755356d8fc8e86d40f78dbfc597e179b0.tar.gz
gcc-f3dcdff755356d8fc8e86d40f78dbfc597e179b0.tar.bz2
lto-streamer-in.c (input_gimple_stmt): Fix typo.
2010-06-02 Richard Guenther <rguenther@suse.de> * lto-streamer-in.c (input_gimple_stmt): Fix typo. From-SVN: r160154
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/lto-streamer-in.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b2c82ae..755c476 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2010-06-02 Richard Guenther <rguenther@suse.de>
+ * lto-streamer-in.c (input_gimple_stmt): Fix typo.
+
+2010-06-02 Richard Guenther <rguenther@suse.de>
+
* lto-wrapper.c (lto_wrapper_exit): Rename to ...
(lto_wrapper_cleanup): ... this. Do not exit.
(fatal): Adjust. Exit here.
diff --git a/gcc/lto-streamer-in.c b/gcc/lto-streamer-in.c
index f562d9c..90e6e39 100644
--- a/gcc/lto-streamer-in.c
+++ b/gcc/lto-streamer-in.c
@@ -1072,7 +1072,7 @@ input_gimple_stmt (struct lto_input_block *ib, struct data_in *data_in,
if (TREE_CODE (op) == ADDR_EXPR
&& TREE_CODE (TREE_OPERAND (op, 0)) == VAR_DECL
&& !useless_type_conversion_p (TREE_TYPE (TREE_TYPE (op)),
- TREE_TYPE (op)))
+ TREE_TYPE (TREE_OPERAND (op, 0))))
{
TREE_OPERAND (op, 0)
= build1 (VIEW_CONVERT_EXPR, TREE_TYPE (TREE_TYPE (op)),