Re: [PATCH] Fix uninitialized memory use from ipa-prop.c (PR bootstrap/52041)

2012-01-31 Thread Richard Guenther
On Tue, 31 Jan 2012, Jakub Jelinek wrote: > Hi! > > Another thing discovered by valgrind on the same testcase. > The problem was that ao.volatile_p field, added recently, hasn't > been initialized in this spot. I think it is safer to use ao_ref_init, > so that the next time some field is added t

[PATCH] Fix uninitialized memory use from ipa-prop.c (PR bootstrap/52041)

2012-01-31 Thread Jakub Jelinek
Hi! Another thing discovered by valgrind on the same testcase. The problem was that ao.volatile_p field, added recently, hasn't been initialized in this spot. I think it is safer to use ao_ref_init, so that the next time some field is added the situation won't repeat. Bootstrapped/regtested on x