------- Comment #8 from dje at gcc dot gnu dot org  2008-05-01 15:46 -------
We can print the offset with something like the following patch:

Index: rs6000.c
===================================================================
*** rs6000.c    (revision 134851)
--- rs6000.c    (working copy)
*************** print_operand_address (FILE *file, rtx x
*** 12346,12351 ****
--- 12346,12355 ----
            contains_minus = XEXP (contains_minus, 0);

          minus = XEXP (contains_minus, 0);
+         if (GET_CODE (XEXP (minus, 1)) == CONST
+             && (GET_CODE (XEXP (XEXP (minus, 1), 0)) == PLUS))
+           fprintf (file, HOST_WIDE_INT_PRINT_DEC"+",
+                    -INTVAL (XEXP (XEXP (XEXP (minus, 1), 0), 1)));
          symref = XEXP (minus, 0);
          XEXP (contains_minus, 0) = symref;
          if (TARGET_ELF)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36090

Reply via email to