]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Add missing ChangeLog.omp entries for previous patch
authorKwok Cheung Yeung <kcy@codesourcery.com>
Fri, 28 Jan 2022 16:57:05 +0000 (16:57 +0000)
committerKwok Cheung Yeung <kcy@codesourcery.com>
Fri, 28 Jan 2022 16:58:06 +0000 (16:58 +0000)
gcc/
* ChangeLog.omp: Update.

gcc/testsuite
* ChangeLog.omp: Update.

libgomp/
* ChangeLog.omp: Update.

gcc/ChangeLog.omp
gcc/testsuite/ChangeLog.omp
libgomp/ChangeLog.omp

index 02bb6db6ce6084ff8b6097c93a248a96db813b26..ade76f06a443bbaf37b303b6890739eae493020a 100644 (file)
@@ -1,3 +1,12 @@
+2022-01-28  Kwok Cheung Yeung  <kcy@codesourcery.com>
+
+       * gimplify.c (gimplify_omp_metadirective): Mark offloadable functions
+       containing metadirectives with 'construct={target}' in the selector.
+       * omp-general.c (omp_has_target_constructor_p): New.
+       * omp-general.h (omp_has_target_constructor_p): New prototype.
+       * omp-low.c (lower_omp_1): Emit warning if marked functions called
+       outside of a target context.
+
 2022-01-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
 
        * builtin-types.def (BT_FN_BOOL_INT_CONST_PTR_CONST_PTR_CONST_PTR): New
index 173a35353924bd68336ee503325e053a105ff9f8..b91936e1de1f5e2aa6a62e686c561c48980a62a1 100644 (file)
@@ -1,3 +1,8 @@
+2022-01-28  Kwok Cheung Yeung  <kcy@codesourcery.com>
+
+       * c-c++-common/gomp/metadirective-4.c (main): Add expected warning.
+       * gfortran.dg/gomp/metadirective-4.f90 (test): Likewise.
+
 2022-01-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
 
        * c-c++-common/gomp/metadirective-7.c: New.
index e7d058fbf731ba211ec70b4ece0b84b51fe1434b..a3de02f445f4bb7993b62e25c29d5fb4230f7109 100644 (file)
@@ -1,3 +1,9 @@
+2022-01-28  Kwok Cheung Yeung  <kcy@codesourcery.com>
+
+       * testsuite/libgomp.c-c++-common/metadirective-2.c (main): Add
+       expected warning.
+       * testsuite/libgomp.fortran/metadirective-2.f90 (test): Likewise.
+
 2022-01-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
 
        * Makefile.am (libgomp_la_SOURCES): Add selector.c.