This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR26919
On Thu, 6 Apr 2006, Richard Guenther wrote:
> On Wed, 5 Apr 2006, Jan Hubicka wrote:
>
> > > On Wed, 5 Apr 2006, Richard Guenther wrote:
> > >
> > > > On Wed, 5 Apr 2006, Jan Hubicka wrote:
> > > >
> > > > > >
> > > > > > This fixes PR26919, an oversight wrt callee/caller stuff which is easy
> > > > > > to get wrong. We were asking for the growth of inlining into ourselves
> > > > > > where there actually was of course no call to ourselves, so the inlined
> > > > > > size was < 0. (In the patch below, node is actually e->caller)
> > > > > >
> > > > > > Will commit as obvious after bootstrap & regtest. Ok for the 4.1 branch
> > > > > > though (dunno, if the obvious rules apply there)?
>
> I think overall the patch should be safe to backport to 4.1. Other
> opinions?
Committed now also to the 4.1 branch as approved by Honza.
Richard.