This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH]: PR 11271 Handle reloading of R+R+CONST for any reg


> No, it's an essential part of recovering from register elimination, and
> was causing a bootstrap failure when building the Thumb libraries for
> gcc/ARM

Yes, it is necessary on SPARC too because of preventive subreg big-endian 
corrections, as indicated in the comment.

However your patch looks suspicious to me too, because the code really builds 
a (base + index) pattern, so I think it makes sense to test that it is 
possible to do so beforehand.

-- 
Eric Botcazou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]