This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[Q] initialisation of variable allocated wirh alloca in 'loop.c'
- From: "Christophe Jaillet" <christophe dot jaillet at wanadoo dot fr>
- To: <gcc at gcc dot gnu dot org>
- Date: Mon, 14 Feb 2005 00:36:18 +0100
- Subject: [Q] initialisation of variable allocated wirh alloca in 'loop.c'
In loop.c, around line 8887, shouldn't the memory allocated by alloca be
'memseted' in some way ?
giv_array = alloca (giv_count * sizeof (struct induction *));
There is a loop just below that set some elements but not all.
But a few lines below again, ALL values of giv_array are used. I think that
some may not be initialized properly.
Christophe Jaillet