From: Andi Kleen <a...@linux.intel.com> This patch fixes an bootstrap error with autoprofiledbootstrap due to uninitiliazed variables, because the compiler cannot figure out they don't need to be initialized in an error path. Just always initialize them.
gcc/: 2016-08-06 Andi Kleen <a...@linux.intel.com> * tree-vrp.c (get_single_symbol): Always initialize inv and neg. --- gcc/tree-vrp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c index 44dfc84..7f71f8a 100644 --- a/gcc/tree-vrp.c +++ b/gcc/tree-vrp.c @@ -893,6 +893,9 @@ get_single_symbol (tree t, bool *neg, tree *inv) bool neg_; tree inv_; + *inv = NULL_TREE; + *neg = false; + if (TREE_CODE (t) == PLUS_EXPR || TREE_CODE (t) == POINTER_PLUS_EXPR || TREE_CODE (t) == MINUS_EXPR) -- 2.9.2