soft-fp: Correct _FP_TO_INT formatting

Message ID Pine.LNX.4.64.1409172138060.17727@digraph.polyomino.org.uk
State Committed
Headers

Commit Message

Joseph Myers Sept. 17, 2014, 9:38 p.m. UTC
  This patch corrects some soft-fp formatting that failed to follow the
GNU Coding Standards.

Tested for powerpc-nofpu that the disassembly of installed shared
libraries is unchanged by this patch.

Committed as obvious.

2014-09-17  Joseph Myers  <joseph@codesourcery.com>

	* soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
  

Patch

diff --git a/soft-fp/op-common.h b/soft-fp/op-common.h
index 5f37a32..5852a86 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) \
 	    {								\