From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey A Law To: Jan Hubicka Cc: egcs@cygnus.com Subject: Re: Stack frame size increase Date: Wed, 31 Mar 1999 23:46:00 -0000 Message-ID: <1939.922307801@upchuck> References: <19990324133713.36426@atrey.karlin.mff.cuni.cz> X-SW-Source: 1999-03n/msg00775.html Message-ID: <19990331234600.MbeBPVlFCRGhTzqD0LRiYbH5n9FE888OSmM5sc1NQ94@z> In message < 19990324133713.36426@atrey.karlin.mff.cuni.cz >you write: > Hi > I've just updated the first june snapshot to the last snapshot 0314. > (It don't contain the align-stack-double patch yet). > > My program slowed down, when looking for the purpose I found that stack > frame size increased from 24 to 28 making the doubles missaligned. > This is not the main problem. Interesting is, that rest of function > was equivalent (except the label numbers) to the original. > Why the extra stack slot was allocated? > > Is the increase bug or feature? Debug the code. The point of the new code is to make sure that if we are given an aligned frame that we keep it aligned. As I mentioned, it is likely that we don't handle all cases yet, so this kind of thing isn't totally unexpected. jeff