This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] testsuite: Follow spelling conventions.


Hi,

Attached is a patch to follow spelling conventions.  Committed as
obvious.

Kazu Hirata

2002-09-15  Kazu Hirata  <kazu@cs.umass.edu>

	* ChangeLog: Follow spelling conventions.
	* g++.dg/template/friend4.C: Likewise.
	* g++.old-deja/g++.pt/crash67.C: Likewise.
	* gcc.c-torture/execute/20000801-4.c: Likewise.
	* gcc.dg/c90-digraph-1.c: Likewise.
	* gcc.dg/c94-digraph-1.c: Likewise.
	* gcc.dg/c99-digraph-1.c: Likewise.
	* gcc.dg/cpp/line5.c: Likewise.
	* gcc.dg/cpp/multiline.c: Likewise.
	* gcc.dg/cpp/trad/literals-1.c: Likewise.
	* gcc.dg/format/attr-3.c: Likewise.
	* gcc.dg/format/c90-scanf-3.c: Likewise.
	* gcc.dg/format/ext-4.c: Likewise.

Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/ChangeLog,v
retrieving revision 1.2070
diff -u -r1.2070 ChangeLog
--- ChangeLog	14 Sep 2002 23:19:47 -0000	1.2070
+++ ChangeLog	15 Sep 2002 17:48:33 -0000
@@ -2057,7 +2057,7 @@
 	* lib/prune.exp: Remove "In (program|subroutine"block-data)"
 	message from g77
 	* lib/g77-dg.exp: Trim g77 error messages so that they are
-	recognised by dg.exp.
+	recognized by dg.exp.
 
 2002-02-07  David Billinghurst <David.Billinghurst@riotinto.com>
 
Index: g++.dg/template/friend4.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.dg/template/friend4.C,v
retrieving revision 1.1
diff -u -r1.1 friend4.C
--- g++.dg/template/friend4.C	7 Feb 2002 19:49:05 -0000	1.1
+++ g++.dg/template/friend4.C	15 Sep 2002 17:48:37 -0000
@@ -3,7 +3,7 @@
 // Copyright (C) 2002 Free Software Foundation, Inc.
 // Contributed by Nathan Sidwell 18 Dec 2001 <nathan@codesourcery.com>
 
-// PR 109, dependant member friends
+// PR 109, dependent member friends
 
 struct B
 {
Index: g++.old-deja/g++.pt/crash67.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.old-deja/g++.pt/crash67.C,v
retrieving revision 1.1
diff -u -r1.1 crash67.C
--- g++.old-deja/g++.pt/crash67.C	18 May 2001 15:00:29 -0000	1.1
+++ g++.old-deja/g++.pt/crash67.C	15 Sep 2002 17:48:40 -0000
@@ -4,7 +4,7 @@
 // Copyright (C) 2001 Free Software Foundation, Inc.
 // Contributed by Nathan Sidwell 6 May 2001 <nathan@codesourcery.com>
 
-// Bug 2526. We ICE'd after diagnosing dependant name confusion in
+// Bug 2526. We ICE'd after diagnosing dependent name confusion in
 // friendliness when not being pedantic.
 
 template<typename T>
Index: gcc.c-torture/execute/20000801-4.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/20000801-4.c,v
retrieving revision 1.2
diff -u -r1.2 20000801-4.c
--- gcc.c-torture/execute/20000801-4.c	14 Nov 2000 17:37:19 -0000	1.2
+++ gcc.c-torture/execute/20000801-4.c	15 Sep 2002 17:48:42 -0000
@@ -1,8 +1,8 @@
 /* Origin: PR c/128 from Martin Sebor <sebor@roguewave.com>, adapted
    as a testcase by Joseph Myers <jsm28@cam.ac.uk>.
 */
-/* Character arrays initialised by a string literal must have
-   uninitialised elements zeroed.  This isn't clear in the 1990
+/* Character arrays initialized by a string literal must have
+   uninitialized elements zeroed.  This isn't clear in the 1990
    standard, but was fixed in TC2 and C99; see DRs #060, #092.
 */
 extern void abort (void);
Index: gcc.dg/c90-digraph-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/c90-digraph-1.c,v
retrieving revision 1.3
diff -u -r1.3 c90-digraph-1.c
--- gcc.dg/c90-digraph-1.c	31 Jul 2000 18:19:28 -0000	1.3
+++ gcc.dg/c90-digraph-1.c	15 Sep 2002 17:48:43 -0000
@@ -1,4 +1,4 @@
-/* Test for recognition of digraphs: should be recognised in C94 and C99
+/* Test for recognition of digraphs: should be recognized in C94 and C99
    mode, but not in C90 mode.  Also check correct stringizing.
 */
 /* Origin: Joseph Myers <jsm28@cam.ac.uk> */
Index: gcc.dg/c94-digraph-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/c94-digraph-1.c,v
retrieving revision 1.1
diff -u -r1.1 c94-digraph-1.c
--- gcc.dg/c94-digraph-1.c	17 Jul 2000 08:34:27 -0000	1.1
+++ gcc.dg/c94-digraph-1.c	15 Sep 2002 17:48:43 -0000
@@ -1,4 +1,4 @@
-/* Test for recognition of digraphs: should be recognised in C94 and C99
+/* Test for recognition of digraphs: should be recognized in C94 and C99
    mode, but not in C90 mode.  Also check correct stringizing.
 */
 /* Origin: Joseph Myers <jsm28@cam.ac.uk> */
Index: gcc.dg/c99-digraph-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/c99-digraph-1.c,v
retrieving revision 1.1
diff -u -r1.1 c99-digraph-1.c
--- gcc.dg/c99-digraph-1.c	17 Jul 2000 08:34:27 -0000	1.1
+++ gcc.dg/c99-digraph-1.c	15 Sep 2002 17:48:43 -0000
@@ -1,4 +1,4 @@
-/* Test for recognition of digraphs: should be recognised in C94 and C99
+/* Test for recognition of digraphs: should be recognized in C94 and C99
    mode, but not in C90 mode.  Also check correct stringizing.
 */
 /* Origin: Joseph Myers <jsm28@cam.ac.uk> */
Index: gcc.dg/cpp/line5.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/cpp/line5.c,v
retrieving revision 1.1
diff -u -r1.1 line5.c
--- gcc.dg/cpp/line5.c	16 Sep 2001 11:23:56 -0000	1.1
+++ gcc.dg/cpp/line5.c	15 Sep 2002 17:48:44 -0000
@@ -10,6 +10,6 @@
    -fpreprocessed on raw source.  Nevertheless, we should not
    segfault.  This is a test that we don't back up two tokens in
    cpplib.c - one to back up over the number, and one when we
-   recognise that it's not a valid directive in preprocessed input.  */
+   recognize that it's not a valid directive in preprocessed input.  */
 
  # 1 "foo.c"
Index: gcc.dg/cpp/multiline.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/cpp/multiline.c,v
retrieving revision 1.3
diff -u -r1.3 multiline.c
--- gcc.dg/cpp/multiline.c	22 Mar 2002 22:29:07 -0000	1.3
+++ gcc.dg/cpp/multiline.c	15 Sep 2002 17:48:44 -0000
@@ -1,7 +1,7 @@
 /* Copyright (C) 2000 Free Software Foundation, Inc.  */
 /* { dg-do preprocess } */
 /* { dg-options "-C" } */
-/* Test that multi-line tokens are recognised by cpp0 as being
+/* Test that multi-line tokens are recognized by cpp0 as being
    multiline .  Source: Neil Booth, 17 Dec 2000.  */
 /* Line 1
    Line 2
Index: gcc.dg/cpp/trad/literals-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/cpp/trad/literals-1.c,v
retrieving revision 1.1
diff -u -r1.1 literals-1.c
--- gcc.dg/cpp/trad/literals-1.c	22 Jun 2002 11:08:20 -0000	1.1
+++ gcc.dg/cpp/trad/literals-1.c	15 Sep 2002 17:48:44 -0000
@@ -1,4 +1,4 @@
-/* Test that (what looks like) comments are not recognised in literals
+/* Test that (what looks like) comments are not recognized in literals
    and that quotes within quotes do not confused the preprocessor.  */
 
 /* { dg-do run } */
Index: gcc.dg/format/attr-3.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/format/attr-3.c,v
retrieving revision 1.2
diff -u -r1.2 attr-3.c
--- gcc.dg/format/attr-3.c	2 Oct 2001 07:19:47 -0000	1.2
+++ gcc.dg/format/attr-3.c	15 Sep 2002 17:48:44 -0000
@@ -33,7 +33,7 @@
 union u1 { int i; } __attribute__((format_arg(1))); /* { dg-error "does not apply|only applies" "format_arg on union" } */
 enum e1 { E1V0 } __attribute__((format_arg(1))); /* { dg-error "does not apply|only applies" "format_arg on enum" } */
 
-/* The format type must be an identifier, one of those recognised.  */
+/* The format type must be an identifier, one of those recognized.  */
 extern void fe0 (const char *, ...) __attribute__((format(12345, 1, 2))); /* { dg-error "format specifier" "non-id format" } */
 extern void fe1 (const char *, ...) __attribute__((format(nosuch, 1, 2))); /* { dg-warning "format function type" "unknown format" } */
 
Index: gcc.dg/format/c90-scanf-3.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/format/c90-scanf-3.c,v
retrieving revision 1.2
diff -u -r1.2 c90-scanf-3.c
--- gcc.dg/format/c90-scanf-3.c	7 Jan 2001 10:44:59 -0000	1.2
+++ gcc.dg/format/c90-scanf-3.c	15 Sep 2002 17:48:44 -0000
@@ -10,7 +10,7 @@
 void
 foo (char **sp, wchar_t **lsp)
 {
-  /* %a formats for allocation, only recognised in C90 mode, are a
+  /* %a formats for allocation, only recognized in C90 mode, are a
      GNU extension.
   */
   scanf ("%as", sp); /* { dg-warning "C" "%as" } */
Index: gcc.dg/format/ext-4.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/format/ext-4.c,v
retrieving revision 1.2
diff -u -r1.2 ext-4.c
--- gcc.dg/format/ext-4.c	7 Jan 2001 10:44:59 -0000	1.2
+++ gcc.dg/format/ext-4.c	15 Sep 2002 17:48:44 -0000
@@ -8,7 +8,7 @@
 void
 foo (char **sp, wchar_t **lsp)
 {
-  /* %a formats for allocation, only recognised in C90 mode, are a
+  /* %a formats for allocation, only recognized in C90 mode, are a
      GNU extension.  Followed by other characters, %a is not treated
      specially.
   */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]