aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-family
diff options
context:
space:
mode:
authorOndřej Bílka <neleai@seznam.cz>2013-07-21 18:31:07 +0000
committerMike Stump <mrs@gcc.gnu.org>2013-07-21 18:31:07 +0000
commit688010bad0375a275466ac1adb98aff80c0e77ac (patch)
treea89618804e203ad97b7210fd17da195393f4631f /gcc/c-family
parent1aa95df74202a50ca17f06e738c8fae303450fdd (diff)
downloadgcc-688010bad0375a275466ac1adb98aff80c0e77ac.zip
gcc-688010bad0375a275466ac1adb98aff80c0e77ac.tar.gz
gcc-688010bad0375a275466ac1adb98aff80c0e77ac.tar.bz2
Fix typos.
2013-07-21 Ondřej Bílka <neleai@seznam.cz> * c-common.c: Fix typos. * c-common.h: Likewise. From-SVN: r201110
Diffstat (limited to 'gcc/c-family')
-rw-r--r--gcc/c-family/ChangeLog5
-rw-r--r--gcc/c-family/c-common.c2
-rw-r--r--gcc/c-family/c-common.h2
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 27b22a1..6695206 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,8 @@
+2013-07-21 Ondřej Bílka <neleai@seznam.cz>
+
+ * c-common.c: Fix typos.
+ * c-common.h: Likewise.
+
2013-07-13 Lubos Lunak <l.lunak@suse.cz>
PR c++/55203
diff --git a/gcc/c-family/c-common.c b/gcc/c-family/c-common.c
index 970f9f2..04d1bd5 100644
--- a/gcc/c-family/c-common.c
+++ b/gcc/c-family/c-common.c
@@ -10163,7 +10163,7 @@ get_atomic_generic_size (location_t loc, tree function,
{
int size;
tree type = TREE_TYPE ((*params)[x]);
- /* __atomic_compare_exchange has a bool in the 4th postion, skip it. */
+ /* __atomic_compare_exchange has a bool in the 4th position, skip it. */
if (n_param == 6 && x == 3)
continue;
if (!POINTER_TYPE_P (type))
diff --git a/gcc/c-family/c-common.h b/gcc/c-family/c-common.h
index 6dfcffd..915887cf 100644
--- a/gcc/c-family/c-common.h
+++ b/gcc/c-family/c-common.h
@@ -1127,7 +1127,7 @@ extern void convert_vector_to_pointer_for_subscript (location_t, tree*, tree);
/* Possibe cases of scalar_to_vector conversion. */
enum stv_conv {
- stv_error, /* Error occured. */
+ stv_error, /* Error occurred. */
stv_nothing, /* Nothing happened. */
stv_firstarg, /* First argument must be expanded. */
stv_secondarg /* Second argument must be expanded. */