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: [lto][patch] Always clone nodes when inlining


On Tue, Feb 17, 2009 at 04:56, Rafael Espindola <espindola@google.com> wrote:
> This disable a small optimization in cgraph_clone_inlined_nodes that
> avoids creating clones when there is only one use of a node. WPA
> handles clones in a different way and gets confused by this.
>
> It is probably better to fix WPA, so I added a FIXME. Since we have
> only found this problem now, it is probably not a very common case
> anyway.

This is obviously papering over something we are doing wrong in WPA,
but it's not clear what.  Did you try fixing WPA directly?  What
should we need to do for the proper fix?


Diego.


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