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.
-- Summary: DOM has dead code, VALUE_HANDLEs are not created during DOM Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org,law at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23939