Check current_function_uses_pic_offset_table, not pic_offset_table_rtx

From-SVN: r12624
This commit is contained in:
Michael Meissner 1996-08-12 18:59:09 +00:00
parent 961b7009ee
commit 2954cae083
1 changed files with 1 additions and 1 deletions

View File

@ -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);