http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50829
--- Comment #7 from Vladimir Makarov <vmakarov at redhat dot com> 2011-11-24 03:45:24 UTC --- As for stack allocation. crtl->stack_realign_needed == 1 results in frame_pointer_needed:=1 in ira.c::ira_setup_eliminable_regset. I don't remember the origin of the code. Probably, it is from HJ's stack aligning work. Sorry, if I am wrong. I guess we should re-evaluate frame_pointer_needed at the end of RA if we don't allocate any memory in all RA.