From 4e8afe69e119e6a4b148e9a6e07e5894c7f6528e Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 17 Sep 2014 21:37:14 +0000 Subject: [PATCH] soft-fp: Correct _FP_TO_INT formatting. 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. * soft-fp/op-common.h (_FP_TO_INT): Correct formatting. --- ChangeLog | 4 ++++ soft-fp/op-common.h | 12 +++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0d96ac4..6618eb7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-09-17 Joseph Myers + + * soft-fp/op-common.h (_FP_TO_INT): Correct formatting. + 2014-09-16 Joseph Myers [BZ #6652] 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) \ { \ -- 2.7.4