summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2007-05-09 19:13:59 +0000
committerBob Wilson <bwilson@gcc.gnu.org>2007-05-09 19:13:59 +0000
commit4575a800ef18d1728d41b8e4e18e5669001a805c (patch)
treef8bacbbe31e5543ec5945e42cc88162d0fbd9d6b /gcc
parent74ed13f5c63b69be28d9646bc08040473077bccb (diff)
downloadgcc-4575a800ef18d1728d41b8e4e18e5669001a805c.tar.gz
* config/xtensa/xtensa.c (xtensa_output_literal): Don't use #if.
From-SVN: r124579
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/xtensa/xtensa.c14
2 files changed, 11 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 36211dc2d6c..afae5e268fa 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,4 +1,8 @@
2007-05-09 Bob Wilson <bob.wilson@acm.org>
+
+ * config/xtensa/xtensa.c (xtensa_output_literal): Don't use #if.
+
+2007-05-09 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa.c (xtensa_output_literal): Mask out high bits
for floating-point values if HOST_BITS_PER_LONG > 32. Use split_double
diff --git a/gcc/config/xtensa/xtensa.c b/gcc/config/xtensa/xtensa.c
index 81e7797c6b5..c331a7f27ad 100644
--- a/gcc/config/xtensa/xtensa.c
+++ b/gcc/config/xtensa/xtensa.c
@@ -1953,18 +1953,18 @@ xtensa_output_literal (FILE *file, rtx x, enum machine_mode mode, int labelno)
{
case SFmode:
REAL_VALUE_TO_TARGET_SINGLE (r, value_long[0]);
-#if HOST_BITS_PER_LONG > 32
- value_long[0] &= 0xffffffff;
-#endif
+ if (HOST_BITS_PER_LONG > 32)
+ value_long[0] &= 0xffffffff;
fprintf (file, "0x%08lx\n", value_long[0]);
break;
case DFmode:
REAL_VALUE_TO_TARGET_DOUBLE (r, value_long);
-#if HOST_BITS_PER_LONG > 32
- value_long[0] &= 0xffffffff;
- value_long[1] &= 0xffffffff;
-#endif
+ if (HOST_BITS_PER_LONG > 32)
+ {
+ value_long[0] &= 0xffffffff;
+ value_long[1] &= 0xffffffff;
+ }
fprintf (file, "0x%08lx, 0x%08lx\n",
value_long[0], value_long[1]);
break;