Commit 893f3d5b by Jeffrey A Law Committed by Jeff Law

arm.c (legitimize_pic_address): Use no_new_pseudos to determine when we can…

arm.c (legitimize_pic_address): Use no_new_pseudos to determine when we can safely allocate new registers.

        * arm.c (legitimize_pic_address): Use no_new_pseudos to determine
        when we can safely allocate new registers.

From-SVN: r36089
parent 1b3d8f8a
2000-08-31 Jeff Law <law@cygnus.com>
* arm.c (legitimize_pic_address): Use no_new_pseudos to determine
when we can safely allocate new registers.
2000-08-31 Geoffrey Keating <geoffk@cygnus.com>
* stmt.c (expand_asm_operands): Twiddle generating_concat_p
......
......@@ -1895,7 +1895,7 @@ legitimize_pic_address (orig, mode, reg)
if (reg == 0)
{
if (reload_in_progress || reload_completed)
if (no_new_pseudos)
abort ();
else
reg = gen_reg_rtx (Pmode);
......@@ -1938,7 +1938,7 @@ legitimize_pic_address (orig, mode, reg)
if (reg == 0)
{
if (reload_in_progress || reload_completed)
if (no_new_pseudos)
abort ();
else
reg = gen_reg_rtx (Pmode);
......@@ -1959,7 +1959,7 @@ legitimize_pic_address (orig, mode, reg)
test the index for the appropriate mode. */
GO_IF_LEGITIMATE_INDEX (mode, 0, offset, win);
if (! reload_in_progress && ! reload_completed)
if (! no_new_pseudos)
offset = force_reg (Pmode, offset);
else
abort ();
......
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