re PR target/12538 (%l7 is call-clobbered with -mflat -fpic)
authorEric Botcazou <ebotcazou@libertysurf.fr>
Mon, 13 Oct 2003 09:57:48 +0000 (11:57 +0200)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 13 Oct 2003 09:57:48 +0000 (09:57 +0000)
commit4f0504d9072cc2ced75e6a1586d95d1f33e4fb37
tree50c7ff5ae002ce78500bcd26a321ceec684290b2
parentcf27749919d173df7d053658a350cc0bfa314efc
re PR target/12538 (%l7 is call-clobbered with -mflat -fpic)

PR target/12538
* config/sparc/sparc.c (MUST_SAVE_REGISTER): Delete.
(sparc_flat_must_save_register_p): New function to decide whether
a register must be saved/restored in the function prologue/epilogue.
(sparc_flat_compute_frame_size): Use it instead of MUST_SAVE_REGISTER.

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