* i386.c (print_operand): Do not bypass output_addr_const at flag_pic.
authorJan Hubicka <hubicka@gcc.gnu.org>
Thu, 3 Apr 2003 17:40:47 +0000 (17:40 +0000)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 3 Apr 2003 17:40:47 +0000 (17:40 +0000)
From-SVN: r65205

gcc/ChangeLog
gcc/config/i386/i386.c

index 0c4afa976884d7d906f10a31d84b8f705908f33b..c62741a3abc81358f9179574d4a8b6fe7fef2ec9 100644 (file)
@@ -1,4 +1,8 @@
-Thu Apr  3 17:57:59 2003  J"orn Rennecke <joern.rennecke@superh.com>
+Thu Apr  3 18:57:19 CEST 2003  Jan Hubicka  <jh@suse.cz>
+
+       * i386.c (print_operand): Do not bypass output_addr_const at flag_pic.
+
+Thu Apr  3 17:08:09 2003  J"orn Rennecke <joern.rennecke@superh.com>
 
        * sh.c (sh_function_ok_for_sibcall): Return 0 if the current
        function is an interrupt handler.
index 1637616c70def2cc8ce7c4d5e030c5af2d071ab4..fab8d95bd568d713863c6078d86fe8b240cc409a 100644 (file)
@@ -7472,10 +7472,8 @@ print_operand (file, x, code)
        }
 
       x = XEXP (x, 0);
-      if (flag_pic && CONSTANT_ADDRESS_P (x))
-       output_pic_addr_const (file, x, code);
       /* Avoid (%rip) for call operands.  */
-      else if (CONSTANT_ADDRESS_P (x) && code == 'P'
+      if (CONSTANT_ADDRESS_P (x) && code == 'P'
               && GET_CODE (x) != CONST_INT)
        output_addr_const (file, x);
       else if (this_is_asm_operands && ! address_operand (x, VOIDmode))