Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 1 | From 52cf8e91f06ce9259d4d94bb8ea5cb327825b806 Mon Sep 17 00:00:00 2001 |
| 2 | From: Mahesh Bodapati <mbodapat@xilinx.com> |
| 3 | Date: Wed, 18 Jan 2017 20:57:10 +0530 |
| 4 | Subject: [PATCH 34/54] [Patch, microblaze]: Macros used in Xilinx internal |
| 5 | patches has been removed in gcc 6.2 version so modified the code accordingly. |
| 6 | |
| 7 | --- |
| 8 | gcc/config/microblaze/microblaze.c | 8 +++----- |
| 9 | 1 file changed, 3 insertions(+), 5 deletions(-) |
| 10 | |
| 11 | diff --git a/gcc/config/microblaze/microblaze.c b/gcc/config/microblaze/microblaze.c |
| 12 | index 835e906..2e3b4c9 100644 |
| 13 | --- a/gcc/config/microblaze/microblaze.c |
| 14 | +++ b/gcc/config/microblaze/microblaze.c |
| 15 | @@ -2520,11 +2520,9 @@ print_operand (FILE * file, rtx op, int letter) |
| 16 | REAL_VALUE_TO_TARGET_DOUBLE (*CONST_DOUBLE_REAL_VALUE (op), val); |
| 17 | else |
| 18 | { |
| 19 | - REAL_VALUE_TYPE rv; |
| 20 | - REAL_VALUE_FROM_CONST_DOUBLE (rv, op); |
| 21 | - REAL_VALUE_TO_TARGET_DOUBLE (rv, l); |
| 22 | - val[1] = l[WORDS_BIG_ENDIAN == 0]; |
| 23 | - val[0] = l[WORDS_BIG_ENDIAN != 0]; |
| 24 | + REAL_VALUE_TO_TARGET_DOUBLE (*CONST_DOUBLE_REAL_VALUE (op), l); |
| 25 | + val[1] = l[WORDS_BIG_ENDIAN == 0]; |
| 26 | + val[0] = l[WORDS_BIG_ENDIAN != 0]; |
| 27 | } |
| 28 | } |
| 29 | else if (code == CONST_INT) |
| 30 | -- |
| 31 | 2.7.4 |
| 32 | |