From: Tobias Burnus Date: Sun, 26 Jan 2025 23:35:17 +0000 (+0100) Subject: Fortran: In openmp.cc, uncomment unroll/tile lines of gfc_omp_directives X-Git-Tag: basepoints/gcc-16~2333 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7cd133a6e4b04262620489dbf4b4e3ae5e96c95f;p=thirdparty%2Fgcc.git Fortran: In openmp.cc, uncomment unroll/tile lines of gfc_omp_directives Enable unroll and tile for assume's contains/absent clauses as both directives are implemented since r15-1037-g804c0f35a6b1d7. gcc/fortran/ChangeLog: * openmp.cc (gfc_omp_directives): Uncomment unroll and tile lines as the directives are by now implemented. --- diff --git a/gcc/fortran/openmp.cc b/gcc/fortran/openmp.cc index 7875341b2cf..35661d88f1e 100644 --- a/gcc/fortran/openmp.cc +++ b/gcc/fortran/openmp.cc @@ -109,8 +109,8 @@ static const struct gfc_omp_directive gfc_omp_directives[] = { {"task", GFC_OMP_DIR_EXECUTABLE, ST_OMP_TASK}, {"teams", GFC_OMP_DIR_EXECUTABLE, ST_OMP_TEAMS}, {"threadprivate", GFC_OMP_DIR_DECLARATIVE, ST_OMP_THREADPRIVATE}, - /* {"tile", GFC_OMP_DIR_EXECUTABLE, ST_OMP_TILE}, */ - /* {"unroll", GFC_OMP_DIR_EXECUTABLE, ST_OMP_UNROLL}, */ + {"tile", GFC_OMP_DIR_EXECUTABLE, ST_OMP_TILE}, + {"unroll", GFC_OMP_DIR_EXECUTABLE, ST_OMP_UNROLL}, {"workshare", GFC_OMP_DIR_EXECUTABLE, ST_OMP_WORKSHARE}, };