On Thu, Oct 29, 2015 at 12:52 PM, Segher Boessenkool
wrote:
> The PIC reg (r30) needs to be saved whenever the prologue sets it up,
> not just if it is used elsewhere in the function. Without this patch
> the prologue for such a function will modify r30 without saving it
> first, leading to disas
The PIC reg (r30) needs to be saved whenever the prologue sets it up,
not just if it is used elsewhere in the function. Without this patch
the prologue for such a function will modify r30 without saving it
first, leading to disaster back in its callers. This happened in the
testsuite for -m32 lib