diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/expr.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c05b658..d3ef114 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2010-02-07 Richard Guenther <rguenther@suse.de> + PR middle-end/42991 + * expr.c (get_inner_reference): Always initialize *pbitsize. + +2010-02-07 Richard Guenther <rguenther@suse.de> + PR middle-end/42956 * gimplify.c (gimple_fold_indirect_ref): Avoid generating new ARRAY_REFs on variable size element or minimal index arrays. @@ -5968,6 +5968,7 @@ get_inner_reference (tree exp, HOST_WIDE_INT *pbitsize, /* First get the mode, signedness, and size. We do this from just the outermost expression. */ + *pbitsize = -1; if (TREE_CODE (exp) == COMPONENT_REF) { tree field = TREE_OPERAND (exp, 1); |