Commit da39823a by Michael Meissner

Make -fpic work with -O3

From-SVN: r12648
parent c8babb39
......@@ -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);
......
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