Commit 2954cae0 by Michael Meissner

Check current_function_uses_pic_offset_table, not pic_offset_table_rtx

From-SVN: r12624
parent 961b7009
......@@ -2072,7 +2072,7 @@ struct rtx_def *
rs6000_got_register (value)
rtx value;
{
if (!pic_offset_table_rtx)
if (!current_function_uses_pic_offset_table)
{
if (reload_in_progress || reload_completed)
fatal_insn ("internal error -- needed new GOT register during reload phase to load:", value);
......
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