On 04/13/2013 07:17 PM, Chung-Ju Wu wrote:
Hi,

I noticed there is an uninitialized variable warning
when compiling tree-ssa-loop-ivcanon.c file.

Attached patch is a slight modification to avoid the warning
and a plaintext ChangeLog is as below.

Is it OK for trunk?


2013-04-14  Chung-Ju Wu  <jasonw...@gmail.com>

         * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Avoid
         -Wuninitialized warning.
If this is a false positive (and I think it is from a very quick scan of the code), can you mark the initialization as such?

/* Avoid false positive -Wuninitialized warning.  */

Ideally this will become standard practice.

jeff

Reply via email to