This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix PR 25886. Convert OMP_CLAUSE_* into sub-codes.


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]