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 PR26919


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 I can approve it for 4.1 too.  Thanks!

Damn, now

FAIL: gcc.dg/ipa/ipa-1.c scan-ipa-dump-times versioned function 2
FAIL: gcc.dg/ipa/ipa-1.c scan-ipa-dump-times propagating const 2
FAIL: gcc.dg/ipa/ipa-2.c scan-ipa-dump-times versioned function 2
FAIL: gcc.dg/ipa/ipa-2.c scan-ipa-dump-times propagating const 2
FAIL: gcc.dg/ipa/ipa-3.c scan-ipa-dump-times versioned function 2
FAIL: gcc.dg/ipa/ipa-3.c scan-ipa-dump-times propagating const 3
FAIL: gcc.dg/ipa/ipa-5.c scan-ipa-dump-times versioned function 2
FAIL: gcc.dg/ipa/ipa-5.c scan-ipa-dump-times propagating const 2

because the small functions are being inlined in early inlining before
running the ipa passes :/

Richard.


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