http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53927



--- Comment #10 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2013-02-01 
22:20:38 UTC ---

Created attachment 29333

  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29333

patch to tweak the static chain at -O0



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

Reply via email to