OSDN Git Service

PR target/27075
[pf3gnuchains/gcc-fork.git] / gcc / config / rs6000 / rs6000.c
index 9bae3f8..780e905 100644 (file)
@@ -10789,7 +10789,8 @@ print_operand (FILE *file, rtx x, int code)
 
        tmp = XEXP (x, 0);
 
-       if (TARGET_E500)
+       /* Ugly hack because %y is overloaded.  */
+       if (TARGET_E500 && GET_MODE_SIZE (GET_MODE (x)) == 8)
          {
            /* Handle [reg].  */
            if (GET_CODE (tmp) == REG)