re PR target/51872 (Shrink-wrapping with -mminimal-toc causes bootstrap failure)
authorJakub Jelinek <jakub@redhat.com>
Tue, 17 Jan 2012 16:21:49 +0000 (17:21 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 17 Jan 2012 16:21:49 +0000 (17:21 +0100)
commitee3d2ecdc509868214e682f4192cf7047d57a78d
tree063806ffabfecffdb1aa308a9a26013274f0668b
parent3b4f05ec1ee0a91c937f9c90df8addf6aec7ad5f
re PR target/51872 (Shrink-wrapping with -mminimal-toc causes bootstrap failure)

PR bootstrap/51872
* hard-reg-set.h (struct hard_reg_set_container): New type.
* target.h (struct hard_reg_set_container): Forward declare.
* target.def (set_up_by_prologue): New target hook.
* doc/tm.texi.in (TARGET_SET_UP_BY_PROLOGUE): Document it.
* doc/tm.texi: Regenerated.
* function.c (thread_prologue_and_epilogue_insns): Change
set_up_by_prologue HARD_REG_SET into struct hard_reg_set_container.
Call targetm.set_up_by_prologue on it.
* config/rs6000/rs6000.c (rs6000_set_up_by_prologue): New function.
(TARGET_SET_UP_BY_PROLOGUE): Redefine to it.

From-SVN: r183254
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/function.c
gcc/hard-reg-set.h
gcc/target.def
gcc/target.h