OSDN Git Service

2006-05-10 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 May 2006 19:41:46 +0000 (19:41 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 May 2006 19:41:46 +0000 (19:41 +0000)
PR tree-optimization/27532
* tree-object-size.c (plus_expr_object_size): Fix typo.

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

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

index e598418..1126c49 100644 (file)
@@ -1,3 +1,8 @@
+2006-05-10  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/27532
+       * tree-object-size.c (plus_expr_object_size): Fix typo.
+
 2006-05-10  Kazu Hirata  <kazu@codesourcery.com>
 
        PR target/24949
index 9c510bb..7a3d775 100644 (file)
@@ -595,7 +595,7 @@ plus_expr_object_size (struct object_size_info *osi, tree var, tree value)
        {
          unsigned HOST_WIDE_INT off = tree_low_cst (op1, 1);
 
-         bytes = compute_builtin_object_size (value, object_size_type);
+         bytes = compute_builtin_object_size (op0, object_size_type);
          if (off > offset_limit)
            bytes = unknown[object_size_type];
          else if (off > bytes)