PR debug/53927
commiteac967db770457a24ff6bc24fd41be45817f5c2a
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Jun 2014 08:13:24 +0000 (6 08:13 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Jun 2014 08:13:24 +0000 (6 08:13 +0000)
treea57bf7572560464ca1f1c66047de9e49d3a81f12
parentba54c62e846d3d967e1c0faa00dec57af4956f3b
PR debug/53927
* function.c (instantiate_decls): Process the saved static chain.
(expand_function_start): If not optimizing, save the static chain
onto the stack.
* tree-nested.c (convert_all_function_calls): Always create the static
chain for nested functions if not optimizing.

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