aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2013-10-11 12:42:17 +0200
committerThomas Schwinge <tschwinge@gcc.gnu.org>2013-10-11 12:42:17 +0200
commit7d05cebb32c106e7a35716d0148329ad2662a278 (patch)
tree5635e04f899df8c5cc1642ae8eaaf163776ee4d3
parent6545f0b3ff7d2bf435cfa5b7c9fd1b92aa96063c (diff)
downloadgcc-7d05cebb32c106e7a35716d0148329ad2662a278.zip
gcc-7d05cebb32c106e7a35716d0148329ad2662a278.tar.gz
gcc-7d05cebb32c106e7a35716d0148329ad2662a278.tar.bz2
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
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/gimple.c4
-rw-r--r--gcc/gimple.h2
3 files changed, 6 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5f4b0ae..21c603e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
2013-10-11 Thomas Schwinge <thomas@codesourcery.com>
+ * 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 37a8123..f3191aa 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 2af4ff9..822274a 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.