Re: [PATCH] Fix uninitialised variable warning in tree-ssa-loop-ivcanon.c

2014-05-09 Thread Jeff Law
On 04/17/14 10:43, Kyrill Tkachov wrote: Hi all, While looking at the build logs I noticed a warning while building tree-ssa-loop-ivcanon.c about a potential use of an uninitialised variable. This patchlet fixes that warning by initialising it to 0. Tested arm-none-eabi. Ok for trunk? 2014-04

Re: [PATCH] Fix uninitialised variable warning in tree-ssa-loop-ivcanon.c

2014-04-22 Thread Richard Biener
On Tue, Apr 22, 2014 at 10:07 AM, Kyrill Tkachov wrote: > On 17/04/14 18:06, Daniel Marjamäki wrote: >> >> Hello! >> >> I am not against it.. >> >> However I think there is no danger. I see no potential use of >> uninitialized variable. >> >> The use of n_unroll is guarded by n_unroll_found. > > >

Re: [PATCH] Fix uninitialised variable warning in tree-ssa-loop-ivcanon.c

2014-04-22 Thread Kyrill Tkachov
On 17/04/14 18:06, Daniel Marjamäki wrote: Hello! I am not against it.. However I think there is no danger. I see no potential use of uninitialized variable. The use of n_unroll is guarded by n_unroll_found. Hmmm... you're right. I guess the warning is just noise then. I'll leave it up to ma

RE: [PATCH] Fix uninitialised variable warning in tree-ssa-loop-ivcanon.c

2014-04-17 Thread Daniel Marjamäki
Hello! I am not against it.. However I think there is no danger. I see no potential use of uninitialized variable. The use of n_unroll is guarded by n_unroll_found. Best regards, Daniel Marjamäki

[PATCH] Fix uninitialised variable warning in tree-ssa-loop-ivcanon.c

2014-04-17 Thread Kyrill Tkachov
Hi all, While looking at the build logs I noticed a warning while building tree-ssa-loop-ivcanon.c about a potential use of an uninitialised variable. This patchlet fixes that warning by initialising it to 0. Tested arm-none-eabi. Ok for trunk? 2014-04-17 Kyrylo Tkachov * tree-ssa