summaryrefslogtreecommitdiff
path: root/gcc/tree-object-size.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2006-05-10 19:41:46 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2006-05-10 19:41:46 +0000
commit19256cce790119957ee191c1c9793f1fd4cc0d9d (patch)
treefd15203767b0a7d68f078301e3193907f9381d45 /gcc/tree-object-size.c
parentfa96442627f29d7b558e2bf8cd595337ae19b87f (diff)
downloadgcc-19256cce790119957ee191c1c9793f1fd4cc0d9d.tar.gz
2006-05-10 Richard Guenther <rguenther@suse.de>
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
Diffstat (limited to 'gcc/tree-object-size.c')
-rw-r--r--gcc/tree-object-size.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-object-size.c b/gcc/tree-object-size.c
index 9c510bbc00f..7a3d7757186 100644
--- a/gcc/tree-object-size.c
+++ b/gcc/tree-object-size.c
@@ -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)