]> git.ipfire.org Git - thirdparty/gcc.git/commit
Revert
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 6 Jul 2012 07:44:52 +0000 (07:44 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 6 Jul 2012 07:44:52 +0000 (07:44 +0000)
commitc253bc8cd89728259ebfc568c287aa085d9b8397
tree1effe761e2c4255f49d6af3e22094fd5a7456fc7
parent39f0c3aacb8f60c629f1f276dbe1228a0281ebf0
Revert
2012-06-14  Eric Botcazou  <ebotcazou@adacore.com>

* dwarf2out.c (function_possibly_abstracted_p): New static function.
(gen_subprogram_die): Use it function_possibly_abstracted_p in lieu of
cgraph_function_possibly_inlined_p.
(gen_inlined_subroutine_die): Return if the origin is to be ignored.
(process_scope_var): Do not emit concrete instances of abstracted
nested functions from here.
(gen_decl_die): Emit the abstract instance if the function is possibly
abstracted and not only possibly inlined.
(dwarf2out_finish): Find the first non-abstract parent instance and
attach concrete instances on the limbo list to it.

From-SVN: r189311
gcc/ChangeLog
gcc/dwarf2out.c