https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101602

--- Comment #10 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Thomas Schwinge <tschwi...@gcc.gnu.org>:

https://gcc.gnu.org/g:f417af3f9f94538c2600e78e6c60b61c29fdbf99

commit r15-9393-gf417af3f9f94538c2600e78e6c60b61c29fdbf99
Author: Thomas Schwinge <tschwi...@baylibre.com>
Date:   Sat Apr 12 10:53:14 2025 +0200

    Fortran: Add code gen for do,concurrent's LOCAL/LOCAL_INIT: Fix
'static_assert' [PR101602]

    Fix-up for commit 2d7e1d6e40a13a5f160b584336795b80f193ec3b
    "Fortran: Add code gen for do,concurrent's LOCAL/LOCAL_INIT [PR101602]":

        ../../source-gcc/gcc/fortran/trans-stmt.cc: In function âvoid
gfc_trans_concurrent_locality_spec(bool, stmtblock_t*,
std::vector<symbol_and_tree_t>*, gfc_expr_list**)â:
        ../../source-gcc/gcc/fortran/trans-stmt.cc:5157:59: error: expected
â,â before â)â token
           static_assert (LOCALITY_LOCAL_INIT - LOCALITY_LOCAL == 1);
                                                                   ^
        ../../source-gcc/gcc/fortran/trans-stmt.cc:5157:59: error: expected
string-literal before â)â token
        make[2]: *** [Makefile:1210: fortran/trans-stmt.o] Error 1

            PR fortran/101602
            gcc/fortran/
            * trans-stmt.cc (gfc_trans_concurrent_locality_spec): Fix
            'static_assert'.

Reply via email to