OSDN Git Service

PR debug/43329
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Mar 2010 13:04:37 +0000 (13:04 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 00:21:19 +0000 (09:21 +0900)
commit4150b1437ebe757925fcff6f7d8c633ee211b2d7
treec613bb7867c58cb09b4423d1e9366abb92a43480
parent355f396ec76ba755352a019bb68b1bc98721443d
PR debug/43329
* tree-inline.c (remap_decls): Put old_var rather than origin_var
into *nonlocalized_list vector.
* dwarf2out.c (gen_formal_parameter_die): Call decl_ultimate_origin
even if origin is non-NULL.
(gen_variable_die): Likewise.
(process_scope_var): Don't change origin.
(gen_decl_die): Likewise.
* tree-cfgcleanup.c (remove_forwarder_block): Check single_pred_p
before adding new edges instead of after it, fix moving over
debug stmts.

* gcc.dg/guality/pr43329-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157402 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog