On 08/06/2016 09:41 PM, Andi Kleen wrote:
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.
The patch is likely OK, but it'd be useful to know more about precisely
the use that is causing problems.
Ideally we'd have a test that we could more deeply analyze for paths
through the CFG that can't be executed. Finding those paths usually
both fixes the warning *and* results in better code. Even if we can't
fix it now, we can file it away for future work
jeff