diff options
author | dominiq <dominiq@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-03-27 18:51:58 +0000 |
---|---|---|
committer | dominiq <dominiq@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-03-27 18:51:58 +0000 |
commit | 0cdc8a46270f6907fa10c9f591e2408f6cd162b9 (patch) | |
tree | 0529a66440b49ccabdb13e19221ceb064122cb1f /libgfortran | |
parent | f252630d594bebef9575a6f1a4ac13df9ece96df (diff) |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@246507 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran')
-rw-r--r-- | libgfortran/ChangeLog | 5 | ||||
-rw-r--r-- | libgfortran/io/list_read.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 12e3f1fa696..d585b214833 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 39805baaeab..5514d19edae 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. */ |