OSDN Git Service

PR middle-end/38584
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 4 Jan 2009 00:15:08 +0000 (00:15 +0000)
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 4 Jan 2009 00:15:08 +0000 (00:15 +0000)
commit961c8f7239d867d8320896dd626796af279903e8
tree6dff999c194db54678145714a827cd983e40b506
parentebdbcbb18eec68aee0796d9198931539b1947bbb
PR middle-end/38584
* cfgexpand.c (estimate_stack_frame_size): Simplify the estimate:
Calculate the size of all stack vars assuming no packing of stack
vars will happen, replacing a quadratic algorithm with a linear one.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143040 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cfgexpand.c