diff options
author | Sandra Loosemore <sloosemore@baylibre.com> | 2025-02-09 21:34:35 +0000 |
---|---|---|
committer | Sandra Loosemore <sloosemore@baylibre.com> | 2025-02-11 17:04:48 +0000 |
commit | 9a2116f91150cf872e7d4a66036a81ecd2526b48 (patch) | |
tree | 6f67cd867fa8f9be7e664983b4345197ec61c00d /libjava/testsuite/libjava.lang/indirect.java | |
parent | 84854ce5b84c86aed23016de5ca05372bc7fa7cf (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
The OpenMP "begin declare variant" directive has slightly different
requirements for context selectors than regular "declare variant", so
something more than a bool is required to tell the error-checking routine
what to check.
gcc/ChangeLog
* omp-general.cc (omp_check_context_selector): Change
metadirective_p argument to a 3-way flag. Add extra check for
OMP_CTX_BEGIN_DECLARE_VARIANT.
* omp-general.h (enum omp_ctx_directive): New.
(omp_check_context_selector): Adjust declaration.
gcc/c/ChangeLog
* c-parser.cc (c_finish_omp_declare_variant): Update call to
omp_check_context_selector.
(c_parser_omp_metadirective): Likewise.
gcc/cp/ChangeLog
* parser.cc (cp_finish_omp_declare_variant): Update call to
omp_check_context_selector.
(cp_parser_omp_metadirective): Likewise.
gcc/fortran/ChangeLog
* trans-openmp.cc (gfc_trans_omp_declare_variant): Update call to
omp_check_context_selector.
(gfc_trans_omp_metadirective): Likewise.
Diffstat (limited to 'libjava/testsuite/libjava.lang/indirect.java')
0 files changed, 0 insertions, 0 deletions