aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominique d'Humieres <dominiq@lps.ens.fr>2017-03-27 20:51:58 +0200
committerDominique d'Humieres <dominiq@gcc.gnu.org>2017-03-27 20:51:58 +0200
commitb6749273120e7354f33d60f6974c55c7e1328387 (patch)
tree0529a66440b49ccabdb13e19221ceb064122cb1f
parent34c66326b3a97e7b8f28f259775cb3cc4f523075 (diff)
downloadgcc-b6749273120e7354f33d60f6974c55c7e1328387.zip
gcc-b6749273120e7354f33d60f6974c55c7e1328387.tar.gz
gcc-b6749273120e7354f33d60f6974c55c7e1328387.tar.bz2
list_read.c: Insert /* Fall through.
2017-03-27 Dominique d'Humieres <dominiq@lps.ens.fr> * io/list_read.c: Insert /* Fall through. */ in the macro CASE_SEPARATORS in order to silence warnings. From-SVN: r246507
-rw-r--r--libgfortran/ChangeLog5
-rw-r--r--libgfortran/io/list_read.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index 12e3f1f..d585b21 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,8 @@
+2017-03-27 Dominique d'Humieres <dominiq@lps.ens.fr>
+
+ * io/list_read.c: Insert /* Fall through. */ in the macro
+ CASE_SEPARATORS in order to silence warnings.
+
2017-03-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/78881
diff --git a/libgfortran/io/list_read.c b/libgfortran/io/list_read.c
index 39805ba..5514d19 100644
--- a/libgfortran/io/list_read.c
+++ b/libgfortran/io/list_read.c
@@ -51,7 +51,8 @@ typedef unsigned char uchar;
#define CASE_DIGITS case '0': case '1': case '2': case '3': case '4': \
case '5': case '6': case '7': case '8': case '9'
-#define CASE_SEPARATORS case ' ': case ',': case '/': case '\n': \
+#define CASE_SEPARATORS /* Fall through. */ \
+ case ' ': case ',': case '/': case '\n': \
case '\t': case '\r': case ';'
/* This macro assumes that we're operating on a variable. */