From: Richard Guenther Date: Sun, 7 Feb 2010 17:18:22 +0000 (+0000) Subject: re PR debug/42991 (cfgexpand.c:2487: Conditional jump or move depends on uninitialise... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=997ac87bfe31c5243b76eb60ea8062c4dadda966;p=gcc.git re PR debug/42991 (cfgexpand.c:2487: Conditional jump or move depends on uninitialised value(s)) 2010-02-07 Richard Guenther PR middle-end/42991 * expr.c (get_inner_reference): Always initialize *pbitsize. From-SVN: r156575 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c05b65858a7..d3ef1143950 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-02-07 Richard Guenther + + PR middle-end/42991 + * expr.c (get_inner_reference): Always initialize *pbitsize. + 2010-02-07 Richard Guenther PR middle-end/42956 diff --git a/gcc/expr.c b/gcc/expr.c index d1cd815dd9b..caf64ede233 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -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);