re PR debug/53927 (wrong value for DW_AT_static_link)
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 6 Jun 2014 08:13:24 +0000 (08:13 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 6 Jun 2014 08:13:24 +0000 (08:13 +0000)
commit3fd48b121a654c914b2784334650d23095d938e4
treea57bf7572560464ca1f1c66047de9e49d3a81f12
parent9b7a11e15385db8fe350c7b3f90f8530c18f2a11
re PR debug/53927 (wrong value for DW_AT_static_link)

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.

From-SVN: r211308
gcc/ChangeLog
gcc/function.c
gcc/tree-nested.c