This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/23939] DOM has dead code, VALUE_HANDLEs are not created during DOM
- From: "law at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Sep 2005 00:29:46 -0000
- Subject: [Bug tree-optimization/23939] DOM has dead code, VALUE_HANDLEs are not created during DOM
- References: <20050918000908.23939.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From law at redhat dot com 2005-09-18 00:29 -------
Subject: Re: New: DOM has dead code,
VALUE_HANDLEs are not created during DOM
On Sun, 2005-09-18 at 00:09 +0000, pinskia at gcc dot gnu dot org wrote:
> While looking into PR 23049, I noticed that DOM checks the tree code of expressions making sure that
> they are not VALUE_HANDLE. I looked and the only place which creates a VH is in tree-vn.c and none of
> those are called from DOM.
That's by design. We want to eventually create value handles early,
then maintain them through the optimization passes (which would allow
removing DOM's hashing code completely).
jeff
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23939