From 2954cae0834221db7a2fa5a470b451111f60ace6 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Mon, 12 Aug 1996 18:59:09 +0000 Subject: [PATCH] Check current_function_uses_pic_offset_table, not pic_offset_table_rtx From-SVN: r12624 --- gcc/config/rs6000/rs6000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 33a544c22ea..0fe123e1122 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 (!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); -- 2.30.2