------- Comment #7 from edmar at freescale dot com 2010-06-21 21:18 ------- (In reply to comment #6) > I think this is the wrong fix .... I think the problem is in the patterns not > using a hard register or a constraint that says only those registers can be > used. > > Confirmed. >
I mostly agree with you. But in this case, it is already a hard register (rtl generated in epilogue). If the goal is to fix the bug changing only the powerpc end. I must use some constraint already coded in regrename.c. But, IMHO, I did not see anything appropriated. So I resorted to the solution I posted ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44618