This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix PR 25886. Convert OMP_CLAUSE_* into sub-codes.
- From: Richard Henderson <rth at gcc dot gnu dot org>
- To: Diego Novillo <dnovillo at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 25 Jan 2006 10:08:17 -0800
- Subject: Re: Fix PR 25886. Convert OMP_CLAUSE_* into sub-codes.
- References: <43D7B83A.3060802@redhat.com>
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~