re PR target/22260 (-fPIC -fno-delayed-branch miscompiles MI this_adjusting thunks)
authorEric Botcazou <ebotcazou@libertysurf.fr>
Fri, 1 Jul 2005 00:15:02 +0000 (02:15 +0200)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 1 Jul 2005 00:15:02 +0000 (00:15 +0000)
commit1b970c28e234bc5da44c76188c8eca9b4d06382a
tree504d5714f80295b300bc412a05b0bc308f9a3936
parent5ed32b3871253040272bef49961d17e0fb471a2b
re PR target/22260 (-fPIC -fno-delayed-branch miscompiles MI this_adjusting thunks)

PR target/22260
* config/sparc/sparc.c (emit_and_preserve): Add 2nd register.
Preserve the 2nd register too, if present.
(sparc_output_mi_thunk) <PIC case>: Preserve the PIC register too.
Adjust call to emit_and_preserve.

From-SVN: r101484
gcc/ChangeLog
gcc/config/sparc/sparc.c