This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix some leaks and one uninitialized var read


On Tue, Aug 21, 2012 at 10:33 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> Hi!
>
> The recent change in find_assert_locations from XCNEWVEC to XNEWVEC
> caused a valgrind warning, because bb_rpo[ENTRY_BLOCK] used to
> be accessed, but was never initialized.

Sorry for this breakage. I looked at each of the changes carefully to
convince myself that XNEWVEC instead of XCNEWVEC wouldn't introduce
this kind of problem, but I overlooked that
pre_and_rev_post_order_compute is called with
include_entry_exit==false.

Ciao!
Steven


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]