This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] initialize sparse sets with xcalloc
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: janis187 at us dot ibm dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 30 Oct 2007 15:23:08 -0700
- Subject: Re: [PATCH] initialize sparse sets with xcalloc
- References: <1193782766.9717.17.camel@janis-laptop>
On 10/30/07, Janis Johnson <janis187@us.ibm.com> wrote:
> For mainline cc1 with the testcase in PR33635 with -O1, valgrind reports
> use of uninitialized values in global_conflices at sparseset.h:90.
> I don't have a test case where it makes a difference, but this patch
> stops the complaint from valgrind. Tested on powerpc64-linux, ok for
> mainline? (It's quite possible there's a better fix for this.)
This was PR 33796 but I think you need to read it fully since it was
declared as invalid.
-- Pinski