]> gcc.gnu.org Git - gcc.git/commitdiff
Check current_function_uses_pic_offset_table, not pic_offset_table_rtx
authorMichael Meissner <meissner@gcc.gnu.org>
Mon, 12 Aug 1996 18:59:09 +0000 (18:59 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Mon, 12 Aug 1996 18:59:09 +0000 (18:59 +0000)
From-SVN: r12624

gcc/config/rs6000/rs6000.c

index 33a544c22eac1033558c2a32d60130fe503d8d1f..0fe123e1122f91c937f64da4a9826c1dce16f3e7 100644 (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);
This page took 0.070408 seconds and 5 git commands to generate.