On 11/19/23 02:21, Sandra Loosemore wrote:
This patch introduces enumerators to represent trait-set names and
trait names, which makes it easier to use tables to control other
behavior and for switch statements to dispatch on the tags.  The tags
are stored in the same place in the TREE_LIST structure (OMP_TSS_ID or
OMP_TS_ID) and are encoded there as integer constants.

This patch has only been lightly tested and still has at least one bug
that causes an ICE.  :-(

Update: I've tracked down the ICE to me having introduced an incorrect variable initialization in omp_context_compute_score. I'm now looking at fixing interfaces to avoid the separate bug in omp_mark_declare_variant that Julian reported, and I'll post a revised part 3 in the next day or two.

-Sandra

Reply via email to