summaryrefslogtreecommitdiff
path: root/libjava/classpath/gnu/java/security/util/ByteArray.java
diff options
context:
space:
mode:
authorSandra Loosemore <sloosemore@baylibre.com>2025-11-20 21:45:08 +0000
committerSandra Loosemore <sloosemore@baylibre.com>2025-11-22 17:05:21 +0000
commit77b8221af8fc827a95b08a381bf5b2a43b3b2ba5 (patch)
tree94d472170ef3a0427e1f7ff6e86a5dddc660edfe /libjava/classpath/gnu/java/security/util/ByteArray.java
parentcf865c811be1b83e960b3e661123cb19105d3181 (diff)
OpenMP: Support functions for nested "begin declare variant"
This patch adds functions for variant name mangling and context selector merging that are shared by the C and C++ front ends. The OpenMP specification says that name mangling is supposed to encode the context selector for the variant, but also provides for no way to reference these functions directly by name or from a different compilation unit. It also gives no guidance on how dynamic selectors might be encoded across compilation units. The GCC implementation of this feature instead treats variant functions as if they have no linkage and uses a simple counter to generate names. The exception is variants declared in a module interface, which are given module linkage. gcc/ChangeLog * omp-general.cc (omp_mangle_variant_name): New. (omp_check_for_duplicate_variant): New. (omp_copy_trait_set): New. (omp_trait_selectors_equivalent): New. (omp_combine_trait_sets): New. (omp_merge_context_selectors): New. * omp-general.h (omp_mangle_variant_name): Declare. (omp_check_for_duplicate_variant): Declare. (omp_merge_context_selectors): Declare.
Diffstat (limited to 'libjava/classpath/gnu/java/security/util/ByteArray.java')
0 files changed, 0 insertions, 0 deletions