Fix PR 25886. Convert OMP_CLAUSE_* into sub-codes.
Richard Henderson
rth@gcc.gnu.org
Wed Jan 25 18:26:00 GMT 2006
On Wed, Jan 25, 2006 at 12:41:14PM -0500, Diego Novillo wrote:
> +unsigned char omp_clause_num_ops[] =
const
> +const char *omp_clause_code_name[] =
const char * const
> + return (sizeof (struct tree_omp_clause)
> + + (omp_clause_num_ops[OMP_CLAUSE_CODE (node)] - 1)
> + * sizeof (char *));
char *? should be tree, surely.
> +#ifdef GATHER_STATISTICS
> + tree_node_counts[(int) x_kind]++;
> + tree_node_sizes[(int) x_kind] += size;
> +#endif
x_kind undefined.
Otherwise ok.
r~
More information about the Gcc-patches
mailing list