diff options
Diffstat (limited to 'gcc/config/rs6000/rs6000.c')
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 72233468376..cb65dcf1fc4 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -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); |