OSDN Git Service

2011-09-27 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Sep 2011 10:06:40 +0000 (10:06 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Sep 2011 10:06:40 +0000 (10:06 +0000)
* tree-object-size.c (compute_object_sizes): Fix dumping of
folded statement.

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

gcc/ChangeLog
gcc/tree-object-size.c

index 57d5bfd..f346ed7 100644 (file)
@@ -1,5 +1,10 @@
 2011-09-27  Richard Guenther  <rguenther@suse.de>
 
+       * tree-object-size.c (compute_object_sizes): Fix dumping of
+       folded statement.
+
+2011-09-27  Richard Guenther  <rguenther@suse.de>
+
        PR tree-optimization/50363
        * tree-ssa-pre.c (create_expression_by_pieces): Handle
        pointer conversions in POINTER_PLUS_EXPRs properly.
index b176758..851bba9 100644 (file)
@@ -1250,13 +1250,10 @@ compute_object_sizes (void)
          if (!update_call_from_tree (&i, result))
            gcc_unreachable ();
 
-          /* NOTE: In the pre-tuples code, we called update_stmt here.  This is
-             now handled by gsi_replace, called from update_call_from_tree.  */
-
          if (dump_file && (dump_flags & TDF_DETAILS))
            {
              fprintf (dump_file, "to\n  ");
-             print_gimple_stmt (dump_file, call, 0, dump_flags);
+             print_gimple_stmt (dump_file, gsi_stmt (i), 0, dump_flags);
              fprintf (dump_file, "\n");
            }
        }