mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-25 12:05:06 +08:00
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
This commit is contained in:
parent
0fc125eaee
commit
5ac4f3bb75
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user