Hi! When building with GCC 8, I see ../../gcc/fortran/check.cc:2505:2: warning: extra ‘;’ [-Wpedantic] The following patch fixes that.
Tested on x86_64-linux, committed to trunk as obvious. 2026-07-01 Jakub Jelinek <[email protected]> * check.cc (get_ul_from_cst_cl): Remove spurious semicolon. --- gcc/fortran/check.cc.jj 2026-05-30 17:45:09.408109483 +0200 +++ gcc/fortran/check.cc 2026-07-01 12:37:12.311064618 +0200 @@ -2502,7 +2502,7 @@ get_ul_from_cst_cl (const gfc_charlen *c { return cl && cl->length && cl->length->expr_type == EXPR_CONSTANT ? mpz_get_ui (cl->length->value.integer) : 0; -}; +} /* Checks shared between co_reduce and reduce. */ Jakub
