* cfgexpand.c (defer_stack_allocation): When optimization is enabled,
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Nov 2013 23:58:39 +0000 (23:58 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Nov 2013 23:58:39 +0000 (23:58 +0000)
commitda4b9ed5198f34a53014f1f69ec637df6f46c909
treee4e098752237dcccb7029268d80bc4bdc569f1fb
parent65bc15c121f76475f9c42fe803bd94cb432f8974
* cfgexpand.c (defer_stack_allocation): When optimization is enabled,
defer allocation of DECL_IGNORED_P variables at toplevel unless really
small.  Factorize size threshold computation from the existing one.
(expand_used_vars): Refine comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204830 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cfgexpand.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/stack_usage1b.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/stack_usage1c.adb [new file with mode: 0644]