Re: [SPARC] Fix another thinko

2011-06-09 Thread Eric Botcazou
> 2011-06-05 Eric Botcazou > > * config/sparc/sparc.c (output_return): Fix thinko in the output of an > EH return when delayed branches are disabled. Of course the length attribute needs to be adjusted as well. Tested on SPARC/Solaris 8, applied on the mainline and 4.6/4.5/4.4 bran

[SPARC] Fix another thinko

2011-06-05 Thread Eric Botcazou
This time introduced when -fno-delayed-branch was fixed in the back-end. Modifying %fp before a 'restore' instruction is a no-no because it is the base address used to reload spilled registers when the window stack is empty. It only affects __builtin_eh_return and presumably went unnoticed. Tes