Make -fpic work with -O3

From-SVN: r12648
This commit is contained in:
Michael Meissner 1996-08-16 20:14:24 +00:00
parent c8babb3977
commit da39823a4c
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 (!current_function_uses_pic_offset_table)
if (!current_function_uses_pic_offset_table || !pic_offset_table_rtx)
{
if (reload_in_progress || reload_completed)
fatal_insn ("internal error -- needed new GOT register during reload phase to load:", value);