re PR target/25572 (ppc64 -mminimal-toc trashes r30)

PR target/25572
	* config/rs6000/rs6000.c (create_TOC_reference): Set regs_ever_live.

From-SVN: r109133
This commit is contained in:
Alan Modra 2005-12-29 01:10:05 +00:00 committed by Alan Modra
parent b8a8042f67
commit b69542f770
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-12-29 Alan Modra <amodra@bigpond.net.au>
PR target/25572
* config/rs6000/rs6000.c (create_TOC_reference): Set regs_ever_live.
2005-12-28 Nathan Sidwell <nathan@codesourcery.com>
* config.gcc (mt-*-*): Add --with-arch support.

View File

@ -13499,6 +13499,8 @@ uses_TOC (void)
rtx
create_TOC_reference (rtx symbol)
{
if (no_new_pseudos)
regs_ever_live[TOC_REGISTER] = 1;
return gen_rtx_PLUS (Pmode,
gen_rtx_REG (Pmode, TOC_REGISTER),
gen_rtx_CONST (Pmode,