------- Additional Comments From dje at gcc dot gnu dot org 2004-11-24 18:18 ------- Allowing the middle-end to know that the L_R_A address is offsettable looks like a better solution to me. The design is an issue for RTH. One possibility is a target macro to decide if L_R_A addresses should be assumed offsettable:
#if LRA_OFFSETTABLE || address_reloaded[i] > 0 #else || address_reloaded[i] == 1 #endif ) Finer granlarity information from LRA is more complicated. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18641