[patch] Fix ICE during LTRANS on big Ada application

Jan Hubicka hubicka@ucw.cz
Wed Oct 15 20:06:00 GMT 2014


> Jan, any opinion on the following patch?
> 
> > 2014-10-06  Eric Botcazou  <ebotcazou@adacore.com>
> > 
> > 	* ipa-inline-transform.c (can_remove_node_now_p_1): Return false for a
> > 	master clone that has non-inline clones.
> 
> https://gcc.gnu.org/ml/gcc-patches/2014-10/msg00436.html
> 
> Thanks in advance.

Yes, this looks OK. Inliner coul also take care to turn the master clone into unanalyzed
node as remove_unreachable_nodes would, but I do not think it is worth the effort.
Please put the loop later in the function so it does not slow things down unnecesarily
(there are often many inline clones)

Honza
> 
> -- 
> Eric Botcazou



More information about the Gcc-patches mailing list