about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/ieee754/dbl-64/s_sin.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index dec058d7a6..ae5677695c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
 
+	* sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
+	fall through comment.
+	(do_sincos_1): Likewise.
+
 	* sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
 	Consolidate switch cases 0 and 2.
 
diff --git a/sysdeps/ieee754/dbl-64/s_sin.c b/sysdeps/ieee754/dbl-64/s_sin.c
index e1ee7a980b..a7f612aced 100644
--- a/sysdeps/ieee754/dbl-64/s_sin.c
+++ b/sysdeps/ieee754/dbl-64/s_sin.c
@@ -252,6 +252,7 @@ reduce_and_compute (double x, unsigned int k)
     case 2:
       a = -a;
       da = -da;
+      /* Fall through.  */
     case 0:
       if (a * a < 0.01588)
 	retval = bsloww (a, da, x, n);
@@ -305,6 +306,7 @@ do_sincos_1 (double a, double da, double x, int4 n, int4 k)
     case 2:
       a = -a;
       da = -da;
+      /* Fall through.  */
     case 0:
       xx = a * a;
       if (xx < 0.01588)