Richard Henderson wrote: >> +#ifdef GATHER_STATISTICS >> + tree_node_counts[(int) x_kind]++; >> + tree_node_sizes[(int) x_kind] += size; >> +#endif >> > > x_kind undefined. > It's one of tree_node_kind values. Though I guess, adding an omp_clause_kind might be better?