------- Comment #8 from rguenth at gcc dot gnu dot org 2010-04-26 10:36 ------- (In reply to comment #7) > Subject: Re: [4.4/4.5/4.6 Regression] Performance > degradation for simple fibonacci numbers calculation due to extra > stack alignment > > > The slowdown also happens on x86-64. Stack alignment checks > > leaf function. But I am sure if it detects tail-recursion. > > Is such information available to ix86_finalize_stack_realign_flags? > Tail recursion is recognized at gimple level, so rtl code should not be at all > bothered here.
There is a recursive self-call left (but that's the only call, so its still a leaf function). > Honza > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43884