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: pretty-ipa merge 2: master clones removal


> Typo.  Also the tree-ssa-structalias.c change broke gcc.dg/torture/ipa-pta-1.c,
> I think the following will fix it, but I wonder what to do about
> clones - just process
> them?
> 
> --- trunk/gcc/tree-ssa-structalias.c	2009/03/28 10:48:04	145174
> +++ trunk/gcc/tree-ssa-structalias.c	2009/03/28 11:00:07	145175
> @@ -5669,7 +5669,7 @@
> 
>    for (node = cgraph_nodes; node; node = node->next)
>      {
> -      if (!node->analyzed || cgraph_is_master_clone (node))
> +      if (!node->analyzed)
>  	{
>  	  unsigned int varid;
> 
> also remove the !node->analyzed check and process all nodes.

Uh yes, it should work.  I will test the change and commit if suceeds.

Honza
> 
> Richard.


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