about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--soft-fp/op-common.h12
2 files changed, 11 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 0d96ac4e39..6618eb7f05 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-09-17  Joseph Myers  <joseph@codesourcery.com>
+
+	* soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
+
 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
 
 	[BZ #6652]
diff --git a/soft-fp/op-common.h b/soft-fp/op-common.h
index 5f37a3296c..5852a86a1b 100644
--- a/soft-fp/op-common.h
+++ b/soft-fp/op-common.h
@@ -1373,11 +1373,13 @@
 	      r = 1;							\
 	      r <<= rsize - 1;						\
 	      r -= 1 - X##_s;						\
-	    } else {							\
-	    r = 0;							\
-	    if (!X##_s)							\
-	      r = ~r;							\
-	  }								\
+	    }								\
+	  else								\
+	    {								\
+	      r = 0;							\
+	      if (!X##_s)						\
+		r = ~r;							\
+	    }								\
 									\
 	  if (rsigned && X##_s && X##_e == _FP_EXPBIAS_##fs + rsize - 1) \
 	    {								\