--- Comment #6 from jakub at gcc dot gnu dot org 2010-03-12 13:04 ---
Subject: Bug 43329
Author: jakub
Date: Fri Mar 12 13:04:37 2010
New Revision: 157402
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157402
Log:
PR debug/43329
* tree-inline.c (remap_decls): Put
--- Comment #7 from jakub at gcc dot gnu dot org 2010-03-12 23:06 ---
Fixed.
--
jakub at gcc dot gnu dot org changed:
What|Removed |Added
Status|ASSIGNED
--- Comment #2 from jakub at gcc dot gnu dot org 2010-03-11 12:53 ---
The problem is that with early inlining, method (inst, 24) call is inlined
into
call function, then at the end of einline during arrg3 and min vars in call are
removed as unused locals by remove_unused_locals (the
--- Comment #3 from jakub at gcc dot gnu dot org 2010-03-11 13:02 ---
Wonder why we do
548VEC_safe_push (tree, gc, *nonlocalized_list, origin_var);
instead of
548VEC_safe_push (tree, gc, *nonlocalized_list, old_var);
The latter perhaps would need some adjustments in dwarf2out.c,
--- Comment #4 from jakub at gcc dot gnu dot org 2010-03-11 14:46 ---
Created an attachment (id=20081)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20081action=view)
gcc45-pr43329.patch
This patch worked on this testcase. Note that the missing min (and this) DEBUG
stmts are
--- Comment #5 from jakub at gcc dot gnu dot org 2010-03-11 16:08 ---
Created an attachment (id=20084)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20084action=view)
gcc45-pr43329.patch
Updated patch that also fixes remove_forwarder_block and adds a testcase.
--
jakub at gcc
--- Comment #1 from jakub at gcc dot gnu dot org 2010-03-10 23:29 ---
Created an attachment (id=20078)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20078action=view)
rh572260.ii
Testcase.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43329