From 7d05cebb32c106e7a35716d0148329ad2662a278 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Fri, 11 Oct 2013 12:42:17 +0200 Subject: [PATCH] gimple.c: GIMPLE statements have subcodes, not sub-codes. gcc/ * gimple.c: GIMPLE statements have subcodes, not sub-codes. * gimple.h: Likewise. From-SVN: r203415 --- gcc/ChangeLog | 3 +++ gcc/gimple.c | 4 ++-- gcc/gimple.h | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5f4b0ae24990..21c603ed5257 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2013-10-11 Thomas Schwinge + * gimple.c: GIMPLE statements have subcodes, not sub-codes. + * gimple.h: Likewise. + * doc/generic.texi (OpenMP): OMP_CLAUSE_* are subcodes, not sub-codes. diff --git a/gcc/gimple.c b/gcc/gimple.c index 37a8123ada19..f3191aa749a8 100644 --- a/gcc/gimple.c +++ b/gcc/gimple.c @@ -157,7 +157,7 @@ gimple_set_subcode (gimple g, unsigned subcode) /* Build a tuple with operands. CODE is the statement to build (which - must be one of the GIMPLE_WITH_OPS tuples). SUBCODE is the sub-code + must be one of the GIMPLE_WITH_OPS tuples). SUBCODE is the subcode for the new tuple. NUM_OPS is the number of operands to allocate. */ #define gimple_build_with_ops(c, s, n) \ @@ -429,7 +429,7 @@ gimple_build_assign_stat (tree lhs, tree rhs MEM_STAT_DECL) } -/* Build a GIMPLE_ASSIGN statement with sub-code SUBCODE and operands +/* Build a GIMPLE_ASSIGN statement with subcode SUBCODE and operands OP1 and OP2. If OP2 is NULL then SUBCODE must be of class GIMPLE_UNARY_RHS or GIMPLE_SINGLE_RHS. */ diff --git a/gcc/gimple.h b/gcc/gimple.h index 2af4ff932a82..822274a29f06 100644 --- a/gcc/gimple.h +++ b/gcc/gimple.h @@ -82,7 +82,7 @@ enum gimple_rhs_class /* Specific flags for individual GIMPLE statements. These flags are always stored in gimple_statement_base.subcode and they may only be - defined for statement codes that do not use sub-codes. + defined for statement codes that do not use subcodes. Values for the masks can overlap as long as the overlapping values are never used in the same statement class. -- 2.47.2