OSDN Git Service

2010-06-02 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Jun 2010 14:27:22 +0000 (14:27 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Jun 2010 14:27:22 +0000 (14:27 +0000)
* lto-streamer-in.c (input_gimple_stmt): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160154 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/lto-streamer-in.c

index b2c82ae..755c476 100644 (file)
@@ -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.
index f562d9c..90e6e39 100644 (file)
@@ -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)),