------- Comment #10 from rguenth at gcc dot gnu dot org 2005-10-07 09:05 ------- Honza, I'm stuck with rth's comment that there may be still sharing bugs even after making fold_indirect_ref_1 fold the offending statement. And as you noted, calling copy_body_r on the folded or unfolded tree causes either nice recursion or the assert at tree-inline.c:665 to trigger.
So can you try either convince rth that just doing better folding is safe or try your unshare_expr idea? Thx, Richard. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu dot | |org AssignedTo|rguenth at gcc dot gnu dot |hubicka at gcc dot gnu dot |org |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24172