This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix matrix regression failures on AIX and HP-UX
- From: Diego Novillo <dnovillo at google dot com>
- To: Razya Ladelsky <RAZYA at il dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org, sje at cup dot hp dot com, David Edelsohn <edelsohn at us dot ibm dot com>, Ayal Zaks <ZAKS at il dot ibm dot com>
- Date: Thu, 26 Jul 2007 10:22:47 -0400
- Subject: Re: [PATCH] Fix matrix regression failures on AIX and HP-UX
- References: <OF1D04D35E.AF8E7849-ONC2257324.00443CAA-C2257324.0047E206@il.ibm.com>
On 7/26/07 9:07 AM, Razya Ladelsky wrote:
> m_node = (struct matrix_info *) xcalloc (1, sizeof (struct matrix_info));
> + memset (m_node, 0, sizeof (struct matrix_info));
Not necessary. You are allocating with xcalloc.
> call in this indirection level; if so, mark it; if not, mark
> as escaping. */
> if (mi->malloc_for_level
> ! && mi->max_malloced_level-1 == level
I don't get this one. Why are we marking level as escaping if level+1
is malloc'd?