This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/24172] [4.1 Regression] error: incorrect sharing of tree nodes
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Oct 2005 09:05:29 -0000
- Subject: [Bug tree-optimization/24172] [4.1 Regression] error: incorrect sharing of tree nodes
- References: <bug-24172-11423@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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