about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--NEWS2
-rw-r--r--soft-fp/op-4.h12
3 files changed, 13 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 4888b19684..ca04a70e64 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-06-22  Joseph Myers  <joseph@codesourcery.com>
+
+	[BZ #15667]
+	* soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
+	to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
+
 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
 
 	* elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
diff --git a/NEWS b/NEWS
index 28afc835d3..ea4a4651a0 100644
--- a/NEWS
+++ b/NEWS
@@ -21,7 +21,7 @@ Version 2.18
   15416, 15418, 15419, 15423, 15424, 15426, 15429, 15431, 15432, 15441,
   15442, 15448, 15465, 15480, 15485, 15488, 15490, 15492, 15493, 15497,
   15506, 15529, 15536, 15553, 15577, 15583, 15618, 15627, 15631, 15654,
-  15655.
+  15655, 15667.
 
 * CVE-2013-0242 Buffer overrun in regexp matcher has been fixed (Bugzilla
   #15078).
diff --git a/soft-fp/op-4.h b/soft-fp/op-4.h
index 007b01f36c..fd31da90f8 100644
--- a/soft-fp/op-4.h
+++ b/soft-fp/op-4.h
@@ -525,14 +525,14 @@
 #ifndef __FP_FRAC_ADD_3
 #define __FP_FRAC_ADD_3(r2,r1,r0,x2,x1,x0,y2,y1,y0)		\
   do {								\
-    _FP_W_TYPE _c1, _c2;					\
+    _FP_W_TYPE __FP_FRAC_ADD_3_c1, __FP_FRAC_ADD_3_c2;		\
     r0 = x0 + y0;						\
-    _c1 = r0 < x0;						\
+    __FP_FRAC_ADD_3_c1 = r0 < x0;				\
     r1 = x1 + y1;						\
-    _c2 = r1 < x1;						\
-    r1 += _c1;							\
-    _c2 |= r1 < _c1;						\
-    r2 = x2 + y2 + _c2;						\
+    __FP_FRAC_ADD_3_c2 = r1 < x1;				\
+    r1 += __FP_FRAC_ADD_3_c1;					\
+    __FP_FRAC_ADD_3_c2 |= r1 < __FP_FRAC_ADD_3_c1;		\
+    r2 = x2 + y2 + __FP_FRAC_ADD_3_c2;				\
   } while (0)
 #endif