Commit 5ac4f3bb by Richard Guenther Committed by Richard Biener

re PR tree-optimization/27532 (__builtin_object_size does not handle &a + b.)

2006-05-10  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/27532
	* tree-object-size.c (plus_expr_object_size): Fix typo.

From-SVN: r113682
parent 0fc125ea
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
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment