Hi,

Please find attached the patch "resbank.patch" which fixes the issue
with "resbank" attribute. Currently, registers used in the routine are 
also saved on using resbank attribute. These registers are saved with
resbank instruction and need not be saved separately.
The patch fixes the issue. 

Tested with sh2a-elf. Regression results are good.
        
ChangeLog
2012-03-29  Naveen H.S  <navee...@kpitcummins.com>

        * config/sh/sh.c (push_regs): Condition added for resbank attribute.
        (sh_expand_epilogue): Condition added for resbank attribute.

Thanks & Regards,
Naveen

Attachment: resbank.patch
Description: resbank.patch

Reply via email to