]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
soft-fp: Correct _FP_TO_INT formatting.
authorJoseph Myers <joseph@codesourcery.com>
Wed, 17 Sep 2014 21:37:14 +0000 (21:37 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 17 Sep 2014 21:37:14 +0000 (21:37 +0000)
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
soft-fp/op-common.h

index 0d96ac4e39a1a5ea814d236b10ea8370636e5811..6618eb7f05b09c4e260340ae61302d1a60a4e9c3 100644 (file)
--- 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]
index 5f37a3296c54092902b7c6d0c608116f7b819b40..5852a86a1b0ac2a882d3d4d7f1f37725a15ddcdf 100644 (file)
              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) \
            {                                                           \