Re: initialized out.clauses in read_predicate

2011-06-06 Thread Alexandre Oliva
On Jun 6, 2011, Jan Hubicka wrote: >> On May 30, 2011, Alexandre Oliva wrote: >> > Index: gcc/ipa-inline-analysis.c > Well, clauses is a typical zero terminated array, so I really do think > the warning is bogus. Looking into it, I'm not sure it is. Compiling with -O3 I get: ipa-inline-anal

Re: initialized out.clauses in read_predicate

2011-06-06 Thread Jan Hubicka
> On May 30, 2011, Alexandre Oliva wrote: > > > In an -O3 bootstrap, out.clauses are reported as uninitialized. GCC is > > not smart enough to realize accesses to the uninitialized members will > > never happen. It shouldn't be too expensive to initialize them all, so > > this is what this patc

Re: initialized out.clauses in read_predicate

2011-06-06 Thread Jan Hubicka
> On May 30, 2011, Alexandre Oliva wrote: > > > In an -O3 bootstrap, out.clauses are reported as uninitialized. GCC is > > not smart enough to realize accesses to the uninitialized members will > > never happen. It shouldn't be too expensive to initialize them all, so > > this is what this patc

Re: initialized out.clauses in read_predicate

2011-06-06 Thread Alexandre Oliva
On May 30, 2011, Alexandre Oliva wrote: > In an -O3 bootstrap, out.clauses are reported as uninitialized. GCC is > not smart enough to realize accesses to the uninitialized members will > never happen. It shouldn't be too expensive to initialize them all, so > this is what this patch does. Reg

initialized out.clauses in read_predicate

2011-05-30 Thread Alexandre Oliva
In an -O3 bootstrap, out.clauses are reported as uninitialized. GCC is not smart enough to realize accesses to the uninitialized members will never happen. It shouldn't be too expensive to initialize them all, so this is what this patch does. Regstrapped on x86_64-linux-gnu and i686-linux-gnu.