From: Tobias Burnus Date: Thu, 9 Jan 2014 19:51:13 +0000 (+0100) Subject: cpp.c (gfc_cpp_handle_option): Add missing break. X-Git-Tag: upstream/12.2.0~65555 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2a9e9a65956bf8873e31fdcfb9e85562500f16aa;p=platform%2Fupstream%2Fgcc.git cpp.c (gfc_cpp_handle_option): Add missing break. 2014-01-09 Tobias Burnus * cpp.c (gfc_cpp_handle_option): Add missing break. * trans-io.c (transfer_expr): Silence unused value warning. From-SVN: r206487 --- diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 34b5cd8..bb8c04c 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2014-01-09 Tobias Burnus + + * cpp.c (gfc_cpp_handle_option): Add missing break. + * trans-io.c (transfer_expr): Silence unused value warning. + 2014-01-08 Janus Weil PR fortran/58182 diff --git a/gcc/fortran/cpp.c b/gcc/fortran/cpp.c index 37bc13b..68ce91f 100644 --- a/gcc/fortran/cpp.c +++ b/gcc/fortran/cpp.c @@ -363,6 +363,7 @@ gfc_cpp_handle_option (size_t scode, const char *arg, int value ATTRIBUTE_UNUSED case OPT_Wdate_time: gfc_cpp_option.warn_date_time = value; + break; case OPT_A: case OPT_D: diff --git a/gcc/fortran/trans-io.c b/gcc/fortran/trans-io.c index ba27f81..853e77d 100644 --- a/gcc/fortran/trans-io.c +++ b/gcc/fortran/trans-io.c @@ -2152,7 +2152,7 @@ transfer_expr (gfc_se * se, gfc_typespec * ts, tree addr_expr, gfc_code * code) function, if only referenced in an io statement, requires this check (see PR58771). */ if (ts->u.derived->backend_decl == NULL_TREE) - tmp = gfc_typenode_for_spec (ts); + (void) gfc_typenode_for_spec (ts); for (c = ts->u.derived->components; c; c = c->next) {