From 0d0a1710d97a7eff97667caa55f83cc7bbe948de Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Tue, 1 Jul 2003 12:01:44 +0000 Subject: [PATCH] vbase1.C: Fix comment typos. * g++.old-deja/g++.abi/vbase1.C: Fix comment typos. * g++.old-deja/g++.abi/vtable3.h: Likewise. * g++.old-deja/g++.law/code-gen5.C: Likewise. * g++.old-deja/g++.other/union2.C: Likewise. * gcc.dg/c90-const-expr-2.c: Likewise. * gcc.dg/c90-const-expr-3.c: Likewise. * gcc.dg/c99-const-expr-2.c: Likewise. * gcc.dg/c99-const-expr-3.c: Likewise. * gcc.dg/concat.c: Likewise. From-SVN: r68769 --- gcc/testsuite/ChangeLog | 12 ++++++++++++ gcc/testsuite/g++.old-deja/g++.abi/vbase1.C | 2 +- gcc/testsuite/g++.old-deja/g++.abi/vtable3.h | 2 +- gcc/testsuite/g++.old-deja/g++.law/code-gen5.C | 2 +- gcc/testsuite/g++.old-deja/g++.other/union2.C | 2 +- gcc/testsuite/gcc.dg/c90-const-expr-2.c | 2 +- gcc/testsuite/gcc.dg/c90-const-expr-3.c | 2 +- gcc/testsuite/gcc.dg/c99-const-expr-2.c | 2 +- gcc/testsuite/gcc.dg/c99-const-expr-3.c | 2 +- gcc/testsuite/gcc.dg/concat.c | 2 +- 10 files changed, 21 insertions(+), 9 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index cf664e4dd955..271f4617730d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,15 @@ +2003-07-01 Kazu Hirata + + * g++.old-deja/g++.abi/vbase1.C: Fix comment typos. + * g++.old-deja/g++.abi/vtable3.h: Likewise. + * g++.old-deja/g++.law/code-gen5.C: Likewise. + * g++.old-deja/g++.other/union2.C: Likewise. + * gcc.dg/c90-const-expr-2.c: Likewise. + * gcc.dg/c90-const-expr-3.c: Likewise. + * gcc.dg/c99-const-expr-2.c: Likewise. + * gcc.dg/c99-const-expr-3.c: Likewise. + * gcc.dg/concat.c: Likewise. + 2003-07-01 Mark Mitchell PR c++/9559 diff --git a/gcc/testsuite/g++.old-deja/g++.abi/vbase1.C b/gcc/testsuite/g++.old-deja/g++.abi/vbase1.C index 8713394626c0..680bec7378a3 100644 --- a/gcc/testsuite/g++.old-deja/g++.abi/vbase1.C +++ b/gcc/testsuite/g++.old-deja/g++.abi/vbase1.C @@ -2,7 +2,7 @@ // Copyright (C) 2000 Free Software Foundation, Inc. // Contributed by Nathan Sidwell 16 Jan 2001 -// Bug 1611. Under the new ABI, the vtable can be clobered during dtoring our +// Bug 1611. Under the new ABI, the vtable can be clobbered during dtoring our // primary vbase. We mustn't use the vtable after that to locate our vbases. #if defined (__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100 diff --git a/gcc/testsuite/g++.old-deja/g++.abi/vtable3.h b/gcc/testsuite/g++.old-deja/g++.abi/vtable3.h index 4327b5f5ac46..ef02456f20be 100644 --- a/gcc/testsuite/g++.old-deja/g++.abi/vtable3.h +++ b/gcc/testsuite/g++.old-deja/g++.abi/vtable3.h @@ -2,7 +2,7 @@ // Contributed by Nathan Sidwell 4 February 2001 // Check constructor vtables work. This is included from numerous test -// files, which set the #defines necessary to specify the heirarchy. +// files, which set the #defines necessary to specify the hierarchy. #include #include diff --git a/gcc/testsuite/g++.old-deja/g++.law/code-gen5.C b/gcc/testsuite/g++.old-deja/g++.law/code-gen5.C index d3a8d2b209f4..9ac3060173bf 100644 --- a/gcc/testsuite/g++.old-deja/g++.law/code-gen5.C +++ b/gcc/testsuite/g++.old-deja/g++.law/code-gen5.C @@ -34,7 +34,7 @@ class VectorInt VectorInt *refer(); void unrefer(); - int count; /* Number of Vector's refering to me */ + int count; /* Number of Vector's referring to me */ VEC *vec; diff --git a/gcc/testsuite/g++.old-deja/g++.other/union2.C b/gcc/testsuite/g++.old-deja/g++.other/union2.C index cfa9896a6896..5c2d7dcac723 100644 --- a/gcc/testsuite/g++.old-deja/g++.other/union2.C +++ b/gcc/testsuite/g++.old-deja/g++.other/union2.C @@ -1,5 +1,5 @@ // { dg-do run } -// Bug: g++ crashed on empty intializers for unions. +// Bug: g++ crashed on empty initializers for unions. // Bug: gcc and g++ didn't zero unions with empty initializers. // Submitted by J"orn Rennecke diff --git a/gcc/testsuite/gcc.dg/c90-const-expr-2.c b/gcc/testsuite/gcc.dg/c90-const-expr-2.c index e69e367dadf5..746093bebcf1 100644 --- a/gcc/testsuite/gcc.dg/c90-const-expr-2.c +++ b/gcc/testsuite/gcc.dg/c90-const-expr-2.c @@ -19,7 +19,7 @@ long *c; */ #define ASSERT_NPC(n) (b = *(1 ? a : (n))) /* Assertion that n is not a null pointer constant: so the conditional - expresions has type 'void *' instead of 'int *'. + expressions has type 'void *' instead of 'int *'. */ #define ASSERT_NOT_NPC(n) (c = (1 ? a : (n))) diff --git a/gcc/testsuite/gcc.dg/c90-const-expr-3.c b/gcc/testsuite/gcc.dg/c90-const-expr-3.c index 4a0eb105ef50..84c662c62a7f 100644 --- a/gcc/testsuite/gcc.dg/c90-const-expr-3.c +++ b/gcc/testsuite/gcc.dg/c90-const-expr-3.c @@ -17,7 +17,7 @@ long *c; */ #define ASSERT_NPC(n) (b = *(1 ? a : (n))) /* Assertion that n is not a constant zero: so the conditional - expresions has type 'void *' instead of 'int *'. + expressions has type 'void *' instead of 'int *'. */ #define ASSERT_NOT_NPC(n) (c = (1 ? a : (void *)(__SIZE_TYPE__)(n))) diff --git a/gcc/testsuite/gcc.dg/c99-const-expr-2.c b/gcc/testsuite/gcc.dg/c99-const-expr-2.c index 00606b6054e8..c9f8e0ffbc8c 100644 --- a/gcc/testsuite/gcc.dg/c99-const-expr-2.c +++ b/gcc/testsuite/gcc.dg/c99-const-expr-2.c @@ -19,7 +19,7 @@ long *c; */ #define ASSERT_NPC(n) (b = *(1 ? a : (n))) /* Assertion that n is not a null pointer constant: so the conditional - expresions has type 'void *' instead of 'int *'. + expressions has type 'void *' instead of 'int *'. */ #define ASSERT_NOT_NPC(n) (c = (1 ? a : (n))) diff --git a/gcc/testsuite/gcc.dg/c99-const-expr-3.c b/gcc/testsuite/gcc.dg/c99-const-expr-3.c index 096825eb8f57..f230603332be 100644 --- a/gcc/testsuite/gcc.dg/c99-const-expr-3.c +++ b/gcc/testsuite/gcc.dg/c99-const-expr-3.c @@ -17,7 +17,7 @@ long *c; */ #define ASSERT_NPC(n) (b = *(1 ? a : (n))) /* Assertion that n is not a constant zero: so the conditional - expresions has type 'void *' instead of 'int *'. + expressions has type 'void *' instead of 'int *'. */ #define ASSERT_NOT_NPC(n) (c = (1 ? a : (void *)(__SIZE_TYPE__)(n))) diff --git a/gcc/testsuite/gcc.dg/concat.c b/gcc/testsuite/gcc.dg/concat.c index 4f4f8d7b08b6..0a77b99bb1f6 100644 --- a/gcc/testsuite/gcc.dg/concat.c +++ b/gcc/testsuite/gcc.dg/concat.c @@ -2,7 +2,7 @@ /* { dg-do compile } */ -/* Test we output a warning for concatenation of artifical strings. +/* Test we output a warning for concatenation of artificial strings. Neil Booth, 10 Dec 2001. */ -- 2.47.3