cfgexpand.c (defer_stack_allocation): When optimization is enabled...
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 14 Nov 2013 23:58:39 +0000 (23:58 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 14 Nov 2013 23:58:39 +0000 (23:58 +0000)
commitee2e8462156f5da92ba396af59994dc07d0a2f48
treee4e098752237dcccb7029268d80bc4bdc569f1fb
parented1fc0bc29a437bf41c22b2ef1ce27769f5c00cf
cfgexpand.c (defer_stack_allocation): When optimization is enabled...

* 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.

From-SVN: r204830
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]