Commit b69542f7 by Alan Modra Committed by Alan Modra

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
parent b8a8042f
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.
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment