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] Fix spelling of "testcase" according to codingconventions.html


The first of the following patch-sets changes "test-case" to "testcase"
according to codingconventions.html.
Committed to mainline as obvious.

Unfortunately I hosed ChangeLog and testsuite/ChangeLog,
which is fixed by the second patch-set.
Also committed as obvious.

Regards,
Volker


2003-06-30  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>

	* config/cris/cris.c: Fix spelling for "testcase".
	* config/cris/cris.h: Likewise.
	* config/cris/cris.md: Likewise.
	* config/mmix/crti.asm: Likewise.
	* config/mmix/mmix.h: Likewise.
	* config/mmix/mmix.md: Likewise.

2003-06-30  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>

	* g++.old-deja/g++.niklas/README: Fix spelling for "testcase".
	* g++.old-deja/g++.other/access2.C: Likewise.
	* g++.old-deja/g++.other/decl2.C: Likewise.
	* gcc.c-torture/execute/20020615-1.c: Likewise.


Index: config/cris/cris.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/cris/cris.c,v
retrieving revision 1.41
diff -u -p -r1.41 cris.c
--- config/cris/cris.c	19 Jun 2003 21:47:07 -0000	1.41
+++ config/cris/cris.c	30 Jun 2003 21:05:36 -0000
@@ -1789,7 +1789,7 @@ cris_notice_update_cc (exp, insn)
 {
   /* Check if user specified "-mcc-init" as a bug-workaround.  FIXME:
      TARGET_CCINIT does not work; we must set CC_REVERSED as below.
-     Several test-cases will otherwise fail, for example
+     Several testcases will otherwise fail, for example
      gcc.c-torture/execute/20000217-1.c -O0 and -O1.  */
   if (TARGET_CCINIT)
     {
Index: config/cris/cris.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/cris/cris.h,v
retrieving revision 1.55
diff -u -p -r1.55 cris.h
--- config/cris/cris.h	19 Jun 2003 21:47:07 -0000	1.55
+++ config/cris/cris.h	30 Jun 2003 21:05:36 -0000
@@ -1648,7 +1648,7 @@ call_ ## FUNC (void)						\
 #define CASE_VECTOR_PC_RELATIVE 1
 
 /* FIXME: Investigate CASE_VECTOR_SHORTEN_MODE to make sure HImode is not
-   used when broken-.word could possibly fail (plus test-case).  */
+   used when broken-.word could possibly fail (plus testcase).  */
 
 #define FIXUNS_TRUNC_LIKE_FIX_TRUNC
 
Index: config/cris/cris.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/cris/cris.md,v
retrieving revision 1.8
diff -u -p -r1.8 cris.md
--- config/cris/cris.md	14 Apr 2003 14:32:44 -0000	1.8
+++ config/cris/cris.md	30 Jun 2003 21:05:36 -0000
@@ -321,7 +321,7 @@
 ;; of zeros starting at bit 0).
 
 ;; SImode.  This mode is the only one needed, since gcc automatically
-;; extends subregs for lower-size modes.  FIXME: Add test-case.
+;; extends subregs for lower-size modes.  FIXME: Add testcase.
 (define_insn "*btst"
   [(set (cc0)
 	(zero_extract
@@ -884,7 +884,7 @@
   return \"clear.b [%2=%0%S1]\";
 }")
 
-;; To appease test-case gcc.c-torture/execute/920501-2.c (and others) at
+;; To appease testcase gcc.c-torture/execute/920501-2.c (and others) at
 ;; -O0, we need a movdi as a temporary measure.  Here's how things fail:
 ;;  A cmpdi RTX needs reloading (global):
 ;;    (insn 185 326 186 (set (cc0)
@@ -3812,7 +3812,7 @@
 
       /* It might be that code can be generated that jumps to 0 (or to a
 	 specific address).  Don't abort on that.  At least there's a
-	 test-case.  */
+	 testcase.  */
       if (CONSTANT_ADDRESS_P (op0) && GET_CODE (op0) != CONST_INT)
 	{
 	  if (no_new_pseudos)
@@ -3879,7 +3879,7 @@
 
       /* It might be that code can be generated that jumps to 0 (or to a
 	 specific address).  Don't abort on that.  At least there's a
-	 test-case.  */
+	 testcase.  */
       if (CONSTANT_ADDRESS_P (op1) && GET_CODE (op1) != CONST_INT)
 	{
 	  if (no_new_pseudos)
@@ -4673,7 +4673,7 @@
 ;; to keep changes local to their cause.
 ;;
 ;; Do not add patterns that you do not know will be matched.
-;; Please also add a self-contained test-case.
+;; Please also add a self-contained testcase.
 
 ;; We have trouble with and:s and shifts.  Maybe something is broken in
 ;; gcc?  Or it could just be that bit-field insn expansion is a bit
Index: config/mmix/crti.asm
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mmix/crti.asm,v
retrieving revision 1.3
diff -u -p -r1.3 crti.asm
--- config/mmix/crti.asm	31 Mar 2002 15:07:55 -0000	1.3
+++ config/mmix/crti.asm	30 Jun 2003 21:05:36 -0000
@@ -41,7 +41,7 @@ Boston, MA 02111-1307, USA.  */
 % segments.
 
 % This little treasure is here so the 32 lowest address bits of user data
-% will not be zero.  Because of truncation, that would cause test-case
+% will not be zero.  Because of truncation, that would cause testcase
 % gcc.c-torture/execute/980701-1.c to incorrectly fail.
 
 	.data	! mmixal:= 8H LOC Data_Segment
Index: config/mmix/mmix.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mmix/mmix.h,v
retrieving revision 1.56
diff -u -p -r1.56 mmix.h
--- config/mmix/mmix.h	19 Jun 2003 21:47:18 -0000	1.56
+++ config/mmix/mmix.h	30 Jun 2003 21:05:36 -0000
@@ -738,7 +738,7 @@ enum reg_class
    replace with a big comment.
    The definition needs to match or be a subset of
    FUNCTION_ARG_PASS_BY_REFERENCE, since not all callers check that before
-   usage.  Watch lots of C++ test-cases fail if set to 1, for example
+   usage.  Watch lots of C++ testcases fail if set to 1, for example
    g++.dg/init/byval1.C.  */
 #define FUNCTION_ARG_CALLEE_COPIES(CUM, MODE, TYPE, NAMED) \
  mmix_function_arg_pass_by_reference (&(CUM), MODE, TYPE, NAMED)
@@ -871,7 +871,7 @@ typedef struct { int regs; int lib; } CU
    comparisons with -1 to LT and GE respectively, and LT, LTU, GE or GEU
    comparisons with 256 to 255 and LE, LEU, GT and GTU has been
    ineffective; the code path for performing the changes did not trig for
-   neither the GCC test-suite nor ghostscript-6.52 nor Knuth's mmix.tar.gz
+   neither the GCC testsuite nor ghostscript-6.52 nor Knuth's mmix.tar.gz
    itself (core GCC functionality supposedly handling it) with sources
    from 2002-06-06.  */
 
Index: config/mmix/mmix.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mmix/mmix.md,v
retrieving revision 1.21
diff -u -p -r1.21 mmix.md
--- config/mmix/mmix.md	8 Mar 2003 17:29:31 -0000	1.21
+++ config/mmix/mmix.md	30 Jun 2003 21:05:36 -0000
@@ -1094,7 +1094,7 @@ DIVU %1,%1,%2\;GET %0,:rR\;NEGU %2,0,%0\
 
 ;; Don't use 'p' here.  A 'p' must stand first in constraints, or reload
 ;; messes up, not registering the address for reload.  Several C++
-;; test-cases, including g++.brendan/crash40.C.  FIXME: This is arguably a
+;; testcases, including g++.brendan/crash40.C.  FIXME: This is arguably a
 ;; bug in gcc.  Note line ~2612 in reload.c, that does things on the
 ;; condition <<else if (constraints[i][0] == 'p')>> and the comment on
 ;; ~3017 that says:
Index: testsuite/g++.old-deja/g++.niklas/README
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.old-deja/g++.niklas/README,v
retrieving revision 1.2
diff -u -p -r1.2 README
--- testsuite/g++.old-deja/g++.niklas/README	16 Dec 1998 21:49:40 -0000	1.2
+++ testsuite/g++.old-deja/g++.niklas/README	30 Jun 2003 21:05:36 -0000
@@ -3,14 +3,14 @@ From: niklas@della.appli.se (Niklas Hall
 Message-Id: <9301221420.AA18489@della.appli.se>
 Subject: g++.niklas DejaGnu sharfile
 
-These are my test-cases in DejaGnu format.
+These are my testcases in DejaGnu format.
 
 The tests which have "passed" in the groups variable do actually pass
 on my local G++ so if there is a specific "passed" test you'd like to
 see working in your version of G++ but it doesn't pass, contact me and
 I'll dig up the specific patches you'll need.
 
-I have about a hundred or so unsorted test-cases which are not
+I have about a hundred or so unsorted testcases which are not
 included in this archive, due to lack of time and boredom stemming
 from writing .exp-files.  But they will show up eventually.
 
Index: testsuite/g++.old-deja/g++.other/access2.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.old-deja/g++.other/access2.C,v
retrieving revision 1.4
diff -u -p -r1.4 access2.C
--- testsuite/g++.old-deja/g++.other/access2.C	1 May 2003 02:02:48 -0000	1.4
+++ testsuite/g++.old-deja/g++.other/access2.C	30 Jun 2003 21:05:36 -0000
@@ -1,5 +1,5 @@
 // { dg-do assemble  }
-// Based on a test-case in the Standard, submitted by several people
+// Based on a testcase in the Standard, submitted by several people
 
 class Outer {
   typedef int T;
Index: testsuite/g++.old-deja/g++.other/decl2.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.old-deja/g++.other/decl2.C,v
retrieving revision 1.5
diff -u -p -r1.5 decl2.C
--- testsuite/g++.old-deja/g++.other/decl2.C	1 May 2003 02:02:49 -0000	1.5
+++ testsuite/g++.old-deja/g++.other/decl2.C	30 Jun 2003 21:05:36 -0000
@@ -1,5 +1,5 @@
 // { dg-do assemble  }
-// Based on a test-case by Maciej Radziejewski <maciejr@iws.uni-stuttgart.de>
+// Based on a testcase by Maciej Radziejewski <maciejr@iws.uni-stuttgart.de>
 
 int i(0)(1); // { dg-error "" } multiple initialization
 int j(2) = 3; // { dg-error "" } multiple initialization
Index: testsuite/gcc.c-torture/execute/20020615-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/20020615-1.c,v
retrieving revision 1.3
diff -u -p -r1.3 20020615-1.c
--- testsuite/gcc.c-torture/execute/20020615-1.c	18 Jun 2002 15:35:36 -0000	1.3
+++ testsuite/gcc.c-torture/execute/20020615-1.c	30 Jun 2003 21:05:36 -0000
@@ -1,7 +1,7 @@
 /* PR target/7042.  When reorg.c changed branches into return insns, it
    completely forgot about any current_function_epilogue_delay_list and
    dropped those insns.  Uncovered on cris-axis-elf, where an insn in an
-   epilogue delay-slot set the return-value register with the test-case
+   epilogue delay-slot set the return-value register with the testcase
    below.  Derived from ghostscript-6.52 (GPL) by hp@axis.com.  */
 
 typedef struct font_hints_s {
===================================================================



2003-06-30  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
        
	* ChangeLog: Remove ">>>>>>>" from previous change.
	* testsuite/ChangeLog: Likewise.

Index: ChangeLog
===================================================================
--- ChangeLog	30 Jun 2003 21:11:32 -0000
+++ ChangeLog	30 Jun 2003 21:16:56 -0000
@@ -164,7 +168,6 @@ Mon Jun 30 09:52:39 CEST 2003  Jan Hubic
 	* config.gcc (sh*-*-kaos*): Put tm_file setting in separate case
 	statement from tmake_file set.
 
->>>>>>> 2.268
 2003-06-29  James E Wilson  <wilson@tuliptree.org>
 
 	* reload.c (find_reloads): Change push_reloads to push_reload in
Index: testsuite/ChangeLog
===================================================================
--- testsuite/ChangeLog	30 Jun 2003 21:11:42 -0000
+++ testsuite/ChangeLog	30 Jun 2003 21:17:05 -0000
@@ -24,7 +28,6 @@
         PR c++/11106
         * g++.dg/other/error5.C: New test.
 
->>>>>>> 1.2819
 2003-06-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
 	* gcc.dg/format/gcc_diag-1.c: New test.
===================================================================



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