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 matrix regression failures on AIX and HP-UX


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?


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