[tree-ssa] Fix inlining confusion

Jan Hubicka hubicka@ucw.cz
Fri Dec 12 21:21:00 GMT 2003


> On Fri, 12 Dec 2003 15:07:39 +0100, Jan Hubicka <jh@suse.cz> wrote:
> 
> > +       if (TREE_CODE (new_decl) == INDIRECT_REF)
> > + 	new_decl = copy_node (new_decl);
> 
> How about changing remap_decl to call unshare_expr on the return value?
That sounds like more robust fix.
I will re-test with that change and commit it if it passes.  Thanks!

Honza
> 
> Jason



More information about the Gcc-patches mailing list