aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBen Elliston <bje@redhat.com>2003-02-18 13:40:56 +0000
committerBen Elliston <bje@gcc.gnu.org>2003-02-19 00:40:56 +1100
commitbf7c02ddfe1231a07b644bc34c143532e63a2326 (patch)
tree69d347f4dd0b48fb076cc5e953cfed033b28fc48 /gcc
parent14a65f50b0f373368794a88adf2aee18db0a023a (diff)
downloadgcc-bf7c02ddfe1231a07b644bc34c143532e63a2326.zip
gcc-bf7c02ddfe1231a07b644bc34c143532e63a2326.tar.gz
gcc-bf7c02ddfe1231a07b644bc34c143532e63a2326.tar.bz2
re PR other/7350 ('shoud' typos)
* Fix for PR other/7350 [cp] * decl.c (duplicate_decls): Fix typo in comment. [ada] * 5qtaprop.adb (Sleep): Fix typo in comment. From-SVN: r63037
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/5qtaprop.adb2
-rw-r--r--gcc/ada/ChangeLog5
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/decl.c2
4 files changed, 12 insertions, 2 deletions
diff --git a/gcc/ada/5qtaprop.adb b/gcc/ada/5qtaprop.adb
index 52c09cf..988f8ba 100644
--- a/gcc/ada/5qtaprop.adb
+++ b/gcc/ada/5qtaprop.adb
@@ -945,7 +945,7 @@ package body System.Task_Primitives.Operations is
-- Arrange to unlock Self_ID's ATCB lock. The following check
-- may be unnecessary because the specification of Sleep says
- -- the caller shoud hold its own ATCB lock before calling Sleep
+ -- the caller should hold its own ATCB lock before calling Sleep
if Self_ID.Common.LL.L.Owner = To_Address (Self_ID) then
Self_ID.Common.LL.L.Owner := System.Null_Address;
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index d49ba9d..d893cff 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,8 @@
+2003-02-18 Ben Elliston <bje@redhat.com>
+
+ PR other/7350
+ * 5qtaprop.adb (Sleep): Fix typo in comment.
+
2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
* gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2.
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 623a127..c957c26 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,8 @@
+2003-02-18 Ben Elliston <bje@redhat.com>
+
+ PR other/7350
+ * decl.c (duplicate_decls): Fix typo in comment.
+
2003-02-17 Michael Elizabeth Chastain <mec@shout.net>
PR debug/9717
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index fc9051b..82ff6af 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -3543,7 +3543,7 @@ duplicate_decls (tree newdecl, tree olddecl)
{
/* If newdecl is not a specialization, then it is not a
template-related function at all. And that means that we
- shoud have exited above, returning 0. */
+ should have exited above, returning 0. */
my_friendly_assert (DECL_TEMPLATE_SPECIALIZATION (newdecl),
0);