> Actually I think it's jfc's code; he had a major revamp of alias.c back > in the early egcs days and getting it integrated was one of the > project's early wins. Sadly, jfc hasn't been involved in GCC work for a > long long time.
OK, thanks for the clarification. > Anyway, I think the issue here is that once we set > new_reg_base_value[regno] to zero, when we do encounter insn 30, we > assume that's the first set of (reg 4) and we use the RHS as a base value. > > The result is we end up with something in new_reg_base_value[4] that is > not correct for the entire life. ie, from function entry to the clobber > (reg 4) has a value totally unrelated to what we've stored in > new_reg_base_value[4]? RIght? Yes, that's exactly it. > Seems reasonable to me, assuming my understandings noted above are correct. Thanks. -- Eric Botcazou