------- Additional Comments From dnovillo at gcc dot gnu dot org 2005-08-15 14:15 ------- (In reply to comment #4) > Hmm, can someone explain where in store_ccp we stuff constants > into the mem_ref field of lattice values? There are a few places > where simple_cst_equal is used to compare a constant to mem_ref > but AFAICT mem_ref is always the lhs of an expression?? > Yes. mem_ref holds the actual memory store/load expression (i.e., the REFERENCE_CLASS_P tree). The actual constant value is always stored in the CONST_VAL array.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23094