]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
cgraph.c: Spelling fixes - behaviour -> behavior and neighbour -> neighbor.
authorJakub Jelinek <jakub@redhat.com>
Thu, 11 Feb 2016 23:53:54 +0000 (00:53 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 11 Feb 2016 23:53:54 +0000 (00:53 +0100)
* cgraph.c: Spelling fixes - behaviour -> behavior and
neighbour -> neighbor.
* target.def: Likewise.
* sel-sched.c: Likewise.
* config/mips/mips.c: Likewise.
* config/arc/arc.md: Likewise.
* config/arm/cortex-a57.md: Likewise.
* config/arm/arm.c: Likewise.
* config/arm/neon.md: Likewise.
* config/arm/arm-c.c: Likewise.
* config/vms/vms-c.c: Likewise.
* config/s390/s390.c: Likewise.
* config/i386/znver1.md: Likewise.
* config/i386/i386.c: Likewise.
* config/ia64/hpux-unix2003.h: Likewise.
* config/msp430/msp430.md: Likewise.
* config/rx/rx.c: Likewise.
* config/rx/rx.md: Likewise.
* config/aarch64/aarch64-simd.md: Likewise.
* config/aarch64/aarch64.c: Likewise.
* config/nvptx/nvptx.c: Likewise.
* config/bfin/bfin.c: Likewise.
* config/cris/cris.opt: Likewise.
* config/rs6000/rs6000.c: Likewise.
* target.h: Likewise.
* spellcheck.c: Likewise.
* ira-build.c: Likewise.
* tree-inline.c: Likewise.
* builtins.c: Likewise.
* lra-constraints.c: Likewise.
* explow.c: Likewise.
* hwint.h: Likewise.
* targhooks.c: Likewise.
* tree-vect-data-refs.c: Likewise.
* expr.c: Likewise.
* doc/tm.texi: Likewise.
* doc/extend.texi: Likewise.
* doc/install.texi: Likewise.
* doc/md.texi: Likewise.
* tree-ssa-tail-merge.c: Likewise.
* sched-int.h: Likewise.
* match.pd: Likewise.
* sched-ebb.c: Likewise.
* target.def (omit_struct_return_reg): Likewise.
* gimple-ssa-isolate-paths.c: Likewise.
(find_implicit_erroneous_behaviour): Renamed to...
(find_implicit_erroneous_behavior): ... this.
(find_explicit_erroneous_behaviour): Renamed to...
(find_explicit_erroneous_behavior): ... this.
(gimple_ssa_isolate_erroneous_paths): Adjust caller.
gcc/cp/
* error.c: Spelling fixes - behaviour -> behavior and
neighbour -> neighbor.
* decl.c: Likewise.
* typeck.c (cp_build_binary_op): Fix up behavior spelling in
diagnostics.
* init.c (build_delete): Likewise.
gcc/objc/
* objc-act.c: Spelling fixes - behaviour -> behavior and
neighbour -> neighbor.
* objc-map.h: Likewise.
gcc/go/
* gofrontend/lex.cc: Spelling fixes - behaviour -> behavior and
neighbour -> neighbor.
* gccgo.texi: Likewise.
gcc/ada/
* prj-tree.ads: Spelling fixes - behaviour -> behavior and
neighbour -> neighbor.
* prep.adb: Likewise.
* prj.ads: Likewise.
* prepcomp.adb: Likewise.
* g-socket.ads: Likewise.
* s-imgrea.adb: Likewise.
* a-calend.adb: Likewise.
* exp_disp.adb: Likewise.
* doc/gnat_ugn/gnat_utility_programs.rst: Likewise.
* g-socket.adb: Likewise.
* sem_ch12.adb: Likewise.
* terminals.c: Likewise.
gcc/testsuite/
* objc.dg/gnu-api-2-method.m: Spelling fixes - behaviour -> behavior
and neighbour -> neighbor.
* objc.dg/attributes/method-nonnull-1.m: Likewise.
* objc.dg/gnu-api-2-class-meta.m: Likewise.
* c-c++-common/Wvarargs.c: Likewise.
* c-c++-common/goacc/host_data-5.c: Likewise.
* obj-c++.dg/gnu-api-2-class-meta.mm: Likewise.
* obj-c++.dg/attributes/method-nonnull-1.mm: Likewise.
* obj-c++.dg/gnu-api-2-method.mm: Likewise.
* gcc.target/aarch64/pr60697.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vldX_lane.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqshl.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vshuffle.inc: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vrshl.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vldX_dup.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vstX_lane.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqrshl.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vldX.c: Likewise.
* gcc.target/aarch64/aapcs64/ice_2.c: Likewise.
* gcc.target/aarch64/aapcs64/test_23.c: Likewise.
* gcc.target/aarch64/vrnd_f64_1.c: Likewise.
* g++.dg/warn/Wconversion-real-integer-3.C: Likewise.
* g++.dg/lookup/koenig5.C: Likewise.
* g++.dg/ext/no-asm-2.C: Likewise.
* gfortran.dg/bounds_check_array_ctor_3.f90: Likewise.
* gfortran.dg/bounds_check_array_ctor_7.f90: Likewise.
* gfortran.dg/used_types_16.f90: Likewise.
* gfortran.dg/assumed_rank_bounds_1.f90: Likewise.
* gfortran.dg/bounds_check_array_ctor_1.f90: Likewise.
* gfortran.dg/assumed_rank_bounds_2.f90: Likewise.
* gfortran.dg/bounds_check_array_ctor_4.f90: Likewise.
* gfortran.dg/abstract_type_6.f03: Likewise.
* gfortran.dg/bounds_check_array_ctor_5.f90: Likewise.
* gfortran.dg/used_types_15.f90: Likewise.
* gfortran.dg/bounds_check_array_ctor_8.f90: Likewise.
* gfortran.dg/exit_3.f08: Likewise.
* gfortran.dg/open_status_2.f90: Likewise.
* gfortran.dg/derived_pointer_recursion_2.f90: Likewise.
* gfortran.dg/intrinsic_std_1.f90: Likewise.
* gfortran.dg/associate_1.f03: Likewise.
* gfortran.dg/bounds_check_array_ctor_2.f90: Likewise.
* gfortran.dg/intrinsic_std_6.f90: Likewise.
* gfortran.dg/bounds_check_array_ctor_6.f90: Likewise.
* gcc.dg/builtin-object-size-1.c: Likewise.
* gcc.dg/noreturn-6.c: Likewise.
* gcc.dg/builtin-stringop-chk-1.c: Likewise.
* gcc.dg/globalalias.c: Likewise.
* gcc.dg/builtins-config.h: Likewise.
* gcc.dg/pr30457.c: Likewise.
* gcc.c-torture/compile/volatile-1.c: Likewise.
* gcc.c-torture/execute/20101011-1.c: Likewise.
* c-c++-common/Waddress-1.c: Likewise.

From-SVN: r233358

120 files changed:
gcc/ChangeLog
gcc/ada/ChangeLog
gcc/ada/a-calend.adb
gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst
gcc/ada/exp_disp.adb
gcc/ada/g-socket.adb
gcc/ada/g-socket.ads
gcc/ada/prep.adb
gcc/ada/prepcomp.adb
gcc/ada/prj-tree.ads
gcc/ada/prj.ads
gcc/ada/s-imgrea.adb
gcc/ada/sem_ch12.adb
gcc/ada/terminals.c
gcc/builtins.c
gcc/cgraph.c
gcc/config/aarch64/aarch64-simd.md
gcc/config/aarch64/aarch64.c
gcc/config/arc/arc.md
gcc/config/arm/arm-c.c
gcc/config/arm/arm.c
gcc/config/arm/cortex-a57.md
gcc/config/arm/neon.md
gcc/config/bfin/bfin.c
gcc/config/cris/cris.opt
gcc/config/i386/i386.c
gcc/config/i386/znver1.md
gcc/config/ia64/hpux-unix2003.h
gcc/config/mips/mips.c
gcc/config/msp430/msp430.md
gcc/config/nvptx/nvptx.c
gcc/config/rs6000/rs6000.c
gcc/config/rx/rx.c
gcc/config/rx/rx.md
gcc/config/s390/s390.c
gcc/config/vms/vms-c.c
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/error.c
gcc/cp/init.c
gcc/cp/typeck.c
gcc/doc/extend.texi
gcc/doc/install.texi
gcc/doc/md.texi
gcc/doc/tm.texi
gcc/explow.c
gcc/expr.c
gcc/gimple-ssa-isolate-paths.c
gcc/go/ChangeLog
gcc/go/gccgo.texi
gcc/go/gofrontend/lex.cc
gcc/hwint.h
gcc/ira-build.c
gcc/lra-constraints.c
gcc/match.pd
gcc/objc/ChangeLog
gcc/objc/objc-act.c
gcc/objc/objc-map.h
gcc/sched-ebb.c
gcc/sched-int.h
gcc/sel-sched.c
gcc/spellcheck.c
gcc/target.def
gcc/target.h
gcc/targhooks.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/Waddress-1.c
gcc/testsuite/c-c++-common/Wvarargs.c
gcc/testsuite/c-c++-common/goacc/host_data-5.c
gcc/testsuite/g++.dg/ext/no-asm-2.C
gcc/testsuite/g++.dg/lookup/koenig5.C
gcc/testsuite/g++.dg/warn/Wconversion-real-integer-3.C
gcc/testsuite/gcc.c-torture/compile/volatile-1.c
gcc/testsuite/gcc.c-torture/execute/20101011-1.c
gcc/testsuite/gcc.dg/builtin-object-size-1.c
gcc/testsuite/gcc.dg/builtin-stringop-chk-1.c
gcc/testsuite/gcc.dg/builtins-config.h
gcc/testsuite/gcc.dg/globalalias.c
gcc/testsuite/gcc.dg/noreturn-6.c
gcc/testsuite/gcc.dg/pr30457.c
gcc/testsuite/gcc.target/aarch64/aapcs64/ice_2.c
gcc/testsuite/gcc.target/aarch64/aapcs64/test_23.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vldX.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vldX_dup.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vldX_lane.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqrshl.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqshl.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vrshl.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vshuffle.inc
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vstX_lane.c
gcc/testsuite/gcc.target/aarch64/pr60697.c
gcc/testsuite/gcc.target/aarch64/vrnd_f64_1.c
gcc/testsuite/gfortran.dg/abstract_type_6.f03
gcc/testsuite/gfortran.dg/associate_1.f03
gcc/testsuite/gfortran.dg/assumed_rank_bounds_1.f90
gcc/testsuite/gfortran.dg/assumed_rank_bounds_2.f90
gcc/testsuite/gfortran.dg/bounds_check_array_ctor_1.f90
gcc/testsuite/gfortran.dg/bounds_check_array_ctor_2.f90
gcc/testsuite/gfortran.dg/bounds_check_array_ctor_3.f90
gcc/testsuite/gfortran.dg/bounds_check_array_ctor_4.f90
gcc/testsuite/gfortran.dg/bounds_check_array_ctor_5.f90
gcc/testsuite/gfortran.dg/bounds_check_array_ctor_6.f90
gcc/testsuite/gfortran.dg/bounds_check_array_ctor_7.f90
gcc/testsuite/gfortran.dg/bounds_check_array_ctor_8.f90
gcc/testsuite/gfortran.dg/derived_pointer_recursion_2.f90
gcc/testsuite/gfortran.dg/exit_3.f08
gcc/testsuite/gfortran.dg/intrinsic_std_1.f90
gcc/testsuite/gfortran.dg/intrinsic_std_6.f90
gcc/testsuite/gfortran.dg/open_status_2.f90
gcc/testsuite/gfortran.dg/used_types_15.f90
gcc/testsuite/gfortran.dg/used_types_16.f90
gcc/testsuite/obj-c++.dg/attributes/method-nonnull-1.mm
gcc/testsuite/obj-c++.dg/gnu-api-2-class-meta.mm
gcc/testsuite/obj-c++.dg/gnu-api-2-method.mm
gcc/testsuite/objc.dg/attributes/method-nonnull-1.m
gcc/testsuite/objc.dg/gnu-api-2-class-meta.m
gcc/testsuite/objc.dg/gnu-api-2-method.m
gcc/tree-inline.c
gcc/tree-ssa-tail-merge.c
gcc/tree-vect-data-refs.c

index 35f8865d5485d49dbac0532eedf5cb3fb074ba40..a3b18ae1e424bd276adc92cd11e8478c4b34ab50 100644 (file)
@@ -1,3 +1,56 @@
+2016-02-12  Jakub Jelinek  <jakub@redhat.com>
+
+       * cgraph.c: Spelling fixes - behaviour -> behavior and
+       neighbour -> neighbor.
+       * target.def: Likewise.
+       * sel-sched.c: Likewise.
+       * config/mips/mips.c: Likewise.
+       * config/arc/arc.md: Likewise.
+       * config/arm/cortex-a57.md: Likewise.
+       * config/arm/arm.c: Likewise.
+       * config/arm/neon.md: Likewise.
+       * config/arm/arm-c.c: Likewise.
+       * config/vms/vms-c.c: Likewise.
+       * config/s390/s390.c: Likewise.
+       * config/i386/znver1.md: Likewise.
+       * config/i386/i386.c: Likewise.
+       * config/ia64/hpux-unix2003.h: Likewise.
+       * config/msp430/msp430.md: Likewise.
+       * config/rx/rx.c: Likewise.
+       * config/rx/rx.md: Likewise.
+       * config/aarch64/aarch64-simd.md: Likewise.
+       * config/aarch64/aarch64.c: Likewise.
+       * config/nvptx/nvptx.c: Likewise.
+       * config/bfin/bfin.c: Likewise.
+       * config/cris/cris.opt: Likewise.
+       * config/rs6000/rs6000.c: Likewise.
+       * target.h: Likewise.
+       * spellcheck.c: Likewise.
+       * ira-build.c: Likewise.
+       * tree-inline.c: Likewise.
+       * builtins.c: Likewise.
+       * lra-constraints.c: Likewise.
+       * explow.c: Likewise.
+       * hwint.h: Likewise.
+       * targhooks.c: Likewise.
+       * tree-vect-data-refs.c: Likewise.
+       * expr.c: Likewise.
+       * doc/tm.texi: Likewise.
+       * doc/extend.texi: Likewise.
+       * doc/install.texi: Likewise.
+       * doc/md.texi: Likewise.
+       * tree-ssa-tail-merge.c: Likewise.
+       * sched-int.h: Likewise.
+       * match.pd: Likewise.
+       * sched-ebb.c: Likewise.
+       * target.def (omit_struct_return_reg): Likewise.
+       * gimple-ssa-isolate-paths.c: Likewise.
+       (find_implicit_erroneous_behaviour): Renamed to...
+       (find_implicit_erroneous_behavior): ... this.
+       (find_explicit_erroneous_behaviour): Renamed to...
+       (find_explicit_erroneous_behavior): ... this.
+       (gimple_ssa_isolate_erroneous_paths): Adjust caller.
+
 2016-02-11  Segher Boessenkool  <segher@kernel.crashing.org>
 
        PR rtl-optimization/64682
index 38486f10660eb3417fcf1362ca46cee4e2993727..ec6a8c464b20fd10d75e8a37d7c89ff380150e37 100644 (file)
@@ -1,3 +1,19 @@
+2016-02-12  Jakub Jelinek  <jakub@redhat.com>
+
+       * prj-tree.ads: Spelling fixes - behaviour -> behavior and
+       neighbour -> neighbor.
+       * prep.adb: Likewise.
+       * prj.ads: Likewise.
+       * prepcomp.adb: Likewise.
+       * g-socket.ads: Likewise.
+       * s-imgrea.adb: Likewise.
+       * a-calend.adb: Likewise.
+       * exp_disp.adb: Likewise.
+       * doc/gnat_ugn/gnat_utility_programs.rst: Likewise.
+       * g-socket.adb: Likewise.
+       * sem_ch12.adb: Likewise.
+       * terminals.c: Likewise.
+
 2016-02-08  Bernd Schmidt  <bschmidt@redhat.com>
 
        * gcc-interface/misc.c (gnat_init): Remove second argument in call to
index 7c582ade3a0263cd5a800cc7fe281922fea81bc4..9fcc2996702c3007b8be9eb705673e208f441d95 100644 (file)
@@ -63,7 +63,7 @@ package body Ada.Calendar is
    --        procedure Split (9 or 10 parameters) -+
    --     end Ada.Calendar.Formatting
 
-   --  The behaviour of the interfacing routines is controlled via various
+   --  The behavior of the interfacing routines is controlled via various
    --  flags. All new Ada 2005 types from children of Ada.Calendar are
    --  emulated by a similar type. For instance, type Day_Number is replaced
    --  by Integer in various routines. One ramification of this model is that
index 2a92500021b2ffc5bad126cf5e0323b00527500d..2ee90d3dc9f7a2f76293f527eb589f405c99c5df 100644 (file)
@@ -4527,7 +4527,7 @@ Alternatively, you may run the script using the following command line:
        ``--additional-tests`` switch.
 
   * ``Skeletons_Default``
-       is used to specify the default behaviour of test skeletons, otherwise
+       is used to specify the default behavior of test skeletons, otherwise
        specified by ``--skeleton-default`` option. The value of this attribute
        should be either ``pass`` or ``fail``.
 
index 7abc0b543a5a65051ddd5b7d1d4aac18b57daca9..578f000bd77ae6e2bcc1a67e562369d020528850 100644 (file)
@@ -2668,7 +2668,7 @@ package body Exp_Disp is
             --    F := not Cancelled (Bnn);
 
             --  where F is the success flag. The status of Cancelled is negated
-            --  in order to match the behaviour of the version for task types.
+            --  in order to match the behavior of the version for task types.
 
             Append_To (Stmts,
               Make_Assignment_Statement (Loc,
index 3a10c9cb9290cfa0cf413b9c14df8d8c31ba9f45..59430081c2cb0705b9100a86fe47f108279bee96 100644 (file)
@@ -481,7 +481,7 @@ package body GNAT.Sockets is
          return;
 
       --  On other platforms, fd_set is an FD_SETSIZE bitmap: check
-      --  that Fd is within range (otherwise behaviour is undefined).
+      --  that Fd is within range (otherwise behavior is undefined).
 
       elsif Fd < 0 or else Fd >= SOSC.FD_SETSIZE then
          raise Constraint_Error
index 517dd4f510ad86aa6c2de081874fd1b1cbea55fb..ff293decd018d1c6706e7eda57b708cbc208aa69 100644 (file)
@@ -1066,10 +1066,10 @@ package GNAT.Sockets is
    --  blocks until an event occurs. On some platforms, the select(2) system
    --  can block the full process (not just the calling thread).
    --
-   --  Check_Selector provides the very same behaviour. The only difference is
+   --  Check_Selector provides the very same behavior. The only difference is
    --  that it does not watch for exception events. Note that on some platforms
    --  it is kept process blocking on purpose. The timeout parameter allows the
-   --  user to have the behaviour he wants. Abort_Selector allows the safe
+   --  user to have the behavior he wants. Abort_Selector allows the safe
    --  abort of a blocked Check_Selector call. A special socket is opened by
    --  Create_Selector and included in each call to Check_Selector.
    --
index bb215c3b2c227f653fac4e8bfa191c5ce8c1f300..d5672bafb9d96a91ba50dd4f62c19676a131e65d 100644 (file)
@@ -120,9 +120,9 @@ package body Prep is
    String_False : String_Id;
    --  "false", as a string_id
 
-   ---------------
-   -- Behaviour --
-   ---------------
+   --------------
+   -- Behavior --
+   --------------
 
    --  Accesses to procedure specified by procedure Initialize
 
index 737ebf25e51f1b71fd3c098fe7259f16f6de1c38..549d7f87ba92facd0624b65bf296c3b3e57fc0df 100644 (file)
@@ -661,7 +661,7 @@ package body Prepcomp is
             Scn.Scanner.Initialize_Scanner (Deffile);
             Prep.Parse_Def_File;
 
-            --  Reset the behaviour of the scanner to the default
+            --  Reset the behavior of the scanner to the default
 
             Scn.Scanner.Set_End_Of_Line_As_Token (False);
 
index e012d3736dc81bf27e16a8d0098da829f29ee4a2..a36e9f919d56016be3efad3b2fa174e3fdbe86ee 100644 (file)
@@ -260,7 +260,7 @@ package Prj.Tree is
    --  For each function the condition of validity is specified. If an access
    --  function is called with invalid arguments, then exception
    --  Assertion_Error is raised if assertions are enabled, otherwise the
-   --  behaviour is not defined and may result in a crash.
+   --  behavior is not defined and may result in a crash.
 
    function Name_Of
      (Node    : Project_Node_Id;
@@ -733,7 +733,7 @@ package Prj.Tree is
    --  Foe each Set_* procedure the condition of validity is specified. If an
    --  access function is called with invalid arguments, then exception
    --  Assertion_Error is raised if assertions are enabled, otherwise the
-   --  behaviour is not defined and may result in a crash.
+   --  behavior is not defined and may result in a crash.
 
    --  These are very low-level, and manipulate the tree itself directly. You
    --  should look at the Create_* procedure instead if you want to use higher
index 4af4f3cfb886fca90def1cfe8c67d9c122cff838..2b20f6ad10d498374fabbd4d0acf19e9937d979d 100644 (file)
@@ -1828,7 +1828,7 @@ package Prj is
    --  Severity of some situations, such as: no Ada sources in a project where
    --  Ada is one of the language.
    --
-   --  When the situation occurs, the behaviour depends on the setting:
+   --  When the situation occurs, the behavior depends on the setting:
    --
    --    - Silent:  no action
    --    - Warning: issue a warning, does not cause the tool to fail
index 827b5f578fb25b9e2a01d5b7646d12916d530ad4..3847c54d234db5e3aca0d2a21af83ac67e608915 100644 (file)
@@ -482,7 +482,7 @@ package body System.Img_Real is
          --  an invalid bit pattern resulting from erroneous execution
          --  (caused by using uninitialized variables for example).
 
-         --  No matter what, we'll at least get reasonable behaviour,
+         --  No matter what, we'll at least get reasonable behavior,
          --  converting to infinity or some other value, or causing an
          --  exception to be raised is fine.
 
index aa19cd5a5eb1e33a47fd99617598aebdad712faf..8fdd7006599bf260d82f8c936af77c1597d8c746 100644 (file)
@@ -7969,7 +7969,7 @@ package body Sem_Ch12 is
       end if;
 
       --  At this point either both nodes came from source or we approximated
-      --  their source locations through neighbouring source statements.
+      --  their source locations through neighboring source statements.
 
       T1 := Top_Level_Location (Sloc (P1));
       T2 := Top_Level_Location (Sloc (P2));
index 69fe358c21d81ae4c219a4d25723355346eb0550..d72eb098850a916eeb6b3f181a48fdce4cc671ff 100644 (file)
@@ -170,7 +170,7 @@ static int Vw32_start_process_inherit_error_mode = 1;
 
 /* Control whether spawnve quotes arguments as necessary to ensure
    correct parsing by child process.  Because not all uses of spawnve
-   are careful about constructing argv arrays, we make this behaviour
+   are careful about constructing argv arrays, we make this behavior
    conditional (off by default, since a similar operation is already done
    in g-expect.adb by calling Normalize_Argument). */
 static int Vw32_quote_process_args = 0;
index eec4a587943f0ff6a214dc9cf3fd92c25460a004..058ecc39aab205099713e503861103ce6ba5ee6d 100644 (file)
@@ -8908,7 +8908,7 @@ fold_builtin_next_arg (tree exp, bool va_start_p)
        {
          warning_at (current_location,
                      OPT_Wvarargs,
-                     "undefined behaviour when second parameter of "
+                     "undefined behavior when second parameter of "
                      "%<va_start%> is declared with %<register%> storage");
        }
 
index 5331f7f373b23569a8f02fd32eb314fda7e201e8..77273139369d3e81896b5cf8ff8751c1b4a6f9f9 100644 (file)
@@ -2220,7 +2220,7 @@ cgraph_node::get_availability (void)
     avail = AVAIL_AVAILABLE;
   /* Inline functions are safe to be analyzed even if their symbol can
      be overwritten at runtime.  It is not meaningful to enforce any sane
-     behaviour on replacing inline function by different body.  */
+     behavior on replacing inline function by different body.  */
   else if (DECL_DECLARED_INLINE_P (decl))
     avail = AVAIL_AVAILABLE;
 
@@ -2784,7 +2784,7 @@ cgraph_edge::verify_corresponds_to_fndecl (tree decl)
   node = node->ultimate_alias_target ();
 
   /* Optimizers can redirect unreachable calls or calls triggering undefined
-     behaviour to builtin_unreachable.  */
+     behavior to builtin_unreachable.  */
   if (DECL_BUILT_IN_CLASS (callee->decl) == BUILT_IN_NORMAL
       && DECL_FUNCTION_CODE (callee->decl) == BUILT_IN_UNREACHABLE)
     return false;
index e1f5682165cd22ca7d31643b8f4e7f631d99c2d8..304784153115357505ca3fb3478f3ebb04b6701d 100644 (file)
 ;; the lower architectural lanes of the vector, for these patterns we want
 ;; to always treat "hi" as referring to the higher architectural lanes.
 ;; Consequently, while the patterns below look inconsistent with our
-;; other big-endian patterns their behaviour is as required.
+;; other big-endian patterns their behavior is as required.
 
 (define_expand "vec_unpacks_lo_<mode>"
   [(match_operand:<VWIDE> 0 "register_operand" "")
index a2d880de9ac75619e25d4f17e3039a823b3040ab..8326a4c13abb9416c1bd4eecf52d3ee6b9cdcacb 100644 (file)
@@ -8632,14 +8632,14 @@ enum aarch64_attr_opt_type
 
 /* All the information needed to handle a target attribute.
    NAME is the name of the attribute.
-   ATTR_TYPE specifies the type of behaviour of the attribute as described
+   ATTR_TYPE specifies the type of behavior of the attribute as described
    in the definition of enum aarch64_attr_opt_type.
    ALLOW_NEG is true if the attribute supports a "no-" form.
    HANDLER is the function that takes the attribute string and whether
    it is a pragma or attribute and handles the option.  It is needed only
    when the ATTR_TYPE is aarch64_attr_custom.
    OPT_NUM is the enum specifying the option that the attribute modifies.
-   This is needed for attributes that mirror the behaviour of a command-line
+   This is needed for attributes that mirror the behavior of a command-line
    option, that is it has ATTR_TYPE aarch64_attr_mask, aarch64_attr_bool or
    aarch64_attr_enum.  */
 
index 602cf0b72c751623b64d6924276f7545bcfbbc6b..6a8ec83b2863f3d7f4d75335fc8895ce1f9978a8 100644 (file)
  ;; Comment in final.c (insn_current_reference_address) says
  ;; forward branch addresses are calculated from the next insn after branch
  ;; and for backward branches, it is calculated from the branch insn start.
- ;; The shortening logic here is tuned to accomodate this behaviour
+ ;; The shortening logic here is tuned to accomodate this behavior
 ;; ??? This should be grokked by the ccfsm machinery.
 (define_insn "cbranchsi4_scratch"
   [(set (pc)
index 2f1035b4ac2b758618a783732888dafdb9436216..982a606ece174180caa5f616c62a4b3d6473abdf 100644 (file)
@@ -164,7 +164,7 @@ arm_cpu_builtins (struct cpp_reader* pfile)
   if (arm_arch_iwmmxt2)
     builtin_define ("__IWMMXT2__");
   /* ARMv6KZ was originally identified as the misspelled __ARM_ARCH_6ZK__.  To
-     preserve the existing behaviour, the misspelled feature macro must still be
+     preserve the existing behavior, the misspelled feature macro must still be
      defined.  */
   if (arm_arch6kz)
     builtin_define ("__ARM_ARCH_6ZK__");
index 82becef22308e036bbf7b0de2df4801146a627e4..6b737714d5e09f0ce92cf85c342bf88f59d95dbf 100644 (file)
@@ -28899,7 +28899,7 @@ arm_emit_coreregs_64bit_shift (enum rtx_code code, rtx out, rtx in,
         shift-by-register would give.  This helps reduce execution
         differences between optimization levels, but it won't stop other
          parts of the compiler doing different things.  This is "undefined
-         behaviour, in any case.  */
+         behavior, in any case.  */
       if (INTVAL (amount) <= 0)
        emit_insn (gen_movdi (out, in));
       else if (INTVAL (amount) >= 64)
index 758d382f9930f4222ebbacc9fc8eea2b49cb03d9..ca6cfc029a256109c97d11fc63f34316f96921e8 100644 (file)
    "ca57_mx")
 
 ;; All multiplies
-;; TODO: AArch32 and AArch64 have different behaviour
+;; TODO: AArch32 and AArch64 have different behavior
 (define_insn_reservation "cortex_a57_mult32" 3
   (and (eq_attr "tune" "cortexa57")
        (ior (eq_attr "mul32" "yes")
index f495d40ae1669435cf7637d3e10972e1d102b0a1..879c07c13b6aa20c46828d08f5a4f413a5722eca 100644 (file)
 ; particular, denormal values are flushed to zero.  This means that GCC cannot
 ; use those instructions for autovectorization, etc. unless
 ; -funsafe-math-optimizations is in effect (in which case flush-to-zero
-; behaviour is permissible).  Intrinsic operations (provided by the arm_neon.h
+; behavior is permissible).  Intrinsic operations (provided by the arm_neon.h
 ; header) must work in either case: if -funsafe-math-optimizations is given,
 ; intrinsics expand to "canonical" RTL where possible, otherwise intrinsics
 ; expand to unspecs (which may potentially limit the extent to which they might
index 120cd791927e24e725dbca19257b29c9322cc818..75ddcf0472522e31e8ca55e21995ca4de638a97a 100644 (file)
@@ -4092,7 +4092,7 @@ reorder_var_tracking_notes (void)
 }
 \f
 /* On some silicon revisions, functions shorter than a certain number of cycles
-   can cause unpredictable behaviour.  Work around this by adding NOPs as
+   can cause unpredictable behavior.  Work around this by adding NOPs as
    needed.  */
 static void
 workaround_rts_anomaly (void)
index 918c824368ba7e7bf4c931e029c349fbb225f63f..1b663eb1540bcf8b2f300293378b83af68c91630 100644 (file)
@@ -21,7 +21,7 @@
 ; TARGET_MUL_BUG: Whether or not to work around multiplication
 ; instruction hardware bug when generating code for models where
 ; it may be present.  From the trouble report for Etrax 100 LX:
-; "A multiply operation may cause incorrect cache behaviour
+; "A multiply operation may cause incorrect cache behavior
 ; under some specific circumstances. The problem can occur if
 ; the instruction following the multiply instruction causes a
 ; cache miss, and multiply operand 1 (source operand) bits
index 1215ae45a4b58162516d9505479ed84126cab2c5..a1c87ab31269e8a2ba74a3edee342fa02d86f9df 100644 (file)
@@ -19705,7 +19705,7 @@ distance_non_agu_define_in_bb (unsigned int regno1, unsigned int regno2,
 /* Search backward for non-agu definition of register number REGNO1
    or register number REGNO2 in INSN's basic block until
    1. Pass LEA_SEARCH_THRESHOLD instructions, or
-   2. Reach neighbour BBs boundary, or
+   2. Reach neighbor BBs boundary, or
    3. Reach agu definition.
    Returns the distance between the non-agu definition point and INSN.
    If no definition point, returns -1.  */
index b7fcf6c7a1e1e56164b676c19f7f9e554f795dc8..6e231889430ddb49446242a563f8340b89cf420b 100644 (file)
@@ -40,7 +40,7 @@
 ;; Direct instructions can be issued to any of the four decoders.
 (define_reservation "znver1-direct" "znver1-decode0|znver1-decode1|znver1-decode2|znver1-decode3")
 
-;; Fix me: Need to revisit this later to simulate fast path double behaviour.
+;; Fix me: Need to revisit this later to simulate fast path double behavior.
 (define_reservation "znver1-double" "znver1-direct")
 
 
index 36418be000e916c1830318899ffc4731074829c4..0997723092ca90a2077ebaa7e0b91eaf86d93a06 100644 (file)
@@ -1,6 +1,6 @@
 
 /* For HP-UX 11.31 and greater, use unix2003.o instead of unix98.o to
-   get correct C99 snprintf behaviour with buffer overflow.  */
+   get correct C99 snprintf behavior with buffer overflow.  */
 
 #undef STARTFILE_SPEC
 #define STARTFILE_SPEC "%{!shared:%{static:crt0%O%s} \
index 697abc2b7743b2e710b73447f03589607dbdbfdc..5af3d1e6505d23c856cde896d475f280993e9276 100644 (file)
@@ -13519,7 +13519,7 @@ mips_process_sync_loop (rtx_insn *insn, rtx *operands)
   /* When using branch likely (-mfix-r10000), the delay slot instruction
      will be annulled on false.  The normal delay slot instructions
      calculate the overall result of the atomic operation and must not
-     be annulled.  To ensure this behaviour unconditionally use a NOP
+     be annulled.  To ensure this behavior unconditionally use a NOP
      in the delay slot for the branch likely case.  */
 
   if (TARGET_CB_MAYBE)
@@ -19121,7 +19121,7 @@ void mips_function_profiler (FILE *file)
 }
 
 /* Implement TARGET_SHIFT_TRUNCATION_MASK.  We want to keep the default
-   behaviour of TARGET_SHIFT_TRUNCATION_MASK for non-vector modes even
+   behavior of TARGET_SHIFT_TRUNCATION_MASK for non-vector modes even
    when TARGET_LOONGSON_VECTORS is true.  */
 
 static unsigned HOST_WIDE_INT
index bcf5dac1ad32e7ab5f6247f321cad3325c882e3f..4df49708adb19a893ab7163170b5760cc0c5a81a 100644 (file)
 ;;
 ;; Note - we ignore shift counts of less than one or more than 15.
 ;; This is permitted by the ISO C99 standard as such shifts result
-;; in "undefined" behaviour.  [6.5.7 (3)]
+;; in "undefined" behavior.  [6.5.7 (3)]
 
 ;; signed A << C
 
index 78614f8a2d77bb32561d47d43ffc7fb6c5b540c1..a955c041aedc151db8870d4e5d27397e419562f3 100644 (file)
@@ -600,7 +600,7 @@ write_arg_mode (std::stringstream &s, int for_reg, int argno,
    is true, if this is a prototyped function, rather than an old-style
    C declaration.  Returns the next argument number to use.
 
-   The promotion behaviour here must match the regular GCC function
+   The promotion behavior here must match the regular GCC function
    parameter marshalling machinery.  */
 
 static int
@@ -652,7 +652,7 @@ write_return_mode (std::stringstream &s, bool for_proto, machine_mode mode)
 
 /* Process a function return TYPE to emit a PTX return as a prototype
    or function prologue declaration.  Returns true if return is via an
-   additional pointer parameter.  The promotion behaviour here must
+   additional pointer parameter.  The promotion behavior here must
    match the regular GCC function return mashalling.  */
 
 static bool
@@ -1620,7 +1620,7 @@ nvptx_assemble_decl_begin (FILE *file, const char *name, const char *section,
   elt_size &= -elt_size; /* Extract LSB set.  */
 
   init_frag.size = elt_size;
-  /* Avoid undefined shift behaviour by using '2'.  */
+  /* Avoid undefined shift behavior by using '2'.  */
   init_frag.mask = ((unsigned HOST_WIDE_INT)2
                    << (elt_size * BITS_PER_UNIT - 1)) - 1;
   init_frag.val = 0;
index c7e063465edb9b88508cc3aacade7605b17782ae..eed50f43571d93be7da217529831eb2a5923fa90 100644 (file)
@@ -26060,7 +26060,7 @@ rs6000_emit_prologue (void)
      because code emitted by gcc for a (non-pointer) function call
      doesn't save and restore R2.  Instead, R2 is managed out-of-line
      by a linker generated plt call stub when the function resides in
-     a shared library.  This behaviour is costly to describe in DWARF,
+     a shared library.  This behavior is costly to describe in DWARF,
      both in terms of the size of DWARF info and the time taken in the
      unwinder to interpret it.  R2 changes, apart from the
      calls_eh_return case earlier in this function, are handled by
index 4cf840c26d1cd5f7de5a06d05cb58f20bf327cec..88cf18cf7b4c5cc134a8d36b03347c229014a18d 100644 (file)
@@ -2884,7 +2884,7 @@ rx_file_start (void)
 static bool
 rx_is_ms_bitfield_layout (const_tree record_type ATTRIBUTE_UNUSED)
 {
-  /* The packed attribute overrides the MS behaviour.  */
+  /* The packed attribute overrides the MS behavior.  */
   return ! TYPE_PACKED (record_type);
 }
 \f
index 5b79e6a3571ece1f7694a6cfb47c4d0b322bc388..787c37bc96792a831f39ab68685640990af61d85 100644 (file)
 ;; Note - the following set of patterns do not use the "memory_operand"
 ;; predicate or an "m" constraint because we do not allow symbol_refs
 ;; or label_refs as legitimate memory addresses.  This matches the
-;; behaviour of most of the RX instructions.  Only the call/branch
+;; behavior of most of the RX instructions.  Only the call/branch
 ;; instructions are allowed to refer to symbols/labels directly.
 ;; The call operands are in QImode because that is the value of
 ;; FUNCTION_MODE
index 299d9a81e1dd733fbaae1d3d3d90c480b20ef956..9facd96fa2a9a83af6575702d108c569d602bf3c 100644 (file)
@@ -13603,7 +13603,7 @@ s390_sched_init (FILE *file ATTRIBUTE_UNUSED,
    The loop is analyzed for memory accesses by calling check_dpu for
    each rtx of the loop. Depending on the loop_depth and the amount of
    memory accesses a new number <=nunroll is returned to improve the
-   behaviour of the hardware prefetch unit.  */
+   behavior of the hardware prefetch unit.  */
 static unsigned
 s390_loop_unroll_adjust (unsigned nunroll, struct loop *loop)
 {
index f2f519961b1276e7704cec4ede6a383efe6d0e39..392b2db877809d13ca155f7177b9e2cdda56cce5 100644 (file)
@@ -151,7 +151,7 @@ vms_pragma_nomember_alignment (cpp_reader *pfile ATTRIBUTE_UNUSED)
    1) extern int name;
    2) int name;
    3) int name = 5;
-   See below for the behaviour as implemented by the native compiler.
+   See below for the behavior as implemented by the native compiler.
 */
 
 enum extern_model_kind
index 1b4ebd3f495155d31b8889073e73a047b4ce5330..9e03f1884492468d3da6396f3a27ac64176c27e1 100644 (file)
@@ -1,3 +1,12 @@
+2016-02-12  Jakub Jelinek  <jakub@redhat.com>
+
+       * error.c: Spelling fixes - behaviour -> behavior and
+       neighbour -> neighbor.
+       * decl.c: Likewise.
+       * typeck.c (cp_build_binary_op): Fix up behavior spelling in
+       diagnostics.
+       * init.c (build_delete): Likewise.
+
 2016-02-11  Jakub Jelinek  <jakub@redhat.com>
 
        PR c/69768
index 09bd512313b6f70c0f12177d64bde900189634f1..30eef5ca664bc3dfb55a51b3f061ba87dedf06d6 100644 (file)
@@ -15036,7 +15036,7 @@ cxx_maybe_build_cleanup (tree decl, tsubst_flags_t complain)
   /* build_delete sets the location of the destructor call to the
      current location, even though the destructor is going to be
      called later, at the end of the current scope.  This can lead to
-     a "jumpy" behaviour for users of debuggers when they step around
+     a "jumpy" behavior for users of debuggers when they step around
      the end of the block.  So let's unset the location of the
      destructor call instead.  */
   protected_set_expr_location (cleanup, UNKNOWN_LOCATION);
index 3f9cf4a793f93dfaf4663a72a0d840c3a3ff057b..aa5fd411b28f97930e54e5688f1c2e92e99b40cc 100644 (file)
@@ -2844,7 +2844,7 @@ decl_as_dwarf_string (tree decl, int flags)
 {
   const char *name;
   /* Curiously, reinit_cxx_pp doesn't reset the flags field, so setting the flag
-     here will be adequate to get the desired behaviour.  */
+     here will be adequate to get the desired behavior.  */
   cxx_pp->flags |= pp_c_flag_gnu_v3;
   name = decl_as_string (decl, flags);
   /* Subsequent calls to the pretty printer shouldn't use this style.  */
@@ -2876,7 +2876,7 @@ lang_decl_dwarf_name (tree decl, int v, bool translate)
 {
   const char *name;
   /* Curiously, reinit_cxx_pp doesn't reset the flags field, so setting the flag
-     here will be adequate to get the desired behaviour.  */
+     here will be adequate to get the desired behavior.  */
   cxx_pp->flags |= pp_c_flag_gnu_v3;
   name = lang_decl_name (decl, v, translate);
   /* Subsequent calls to the pretty printer shouldn't use this style.  */
index 338f85e2c7de5acc5d846fbb0cc5d3b0fcba2a88..f6ceb7f431fcc08bdab1a5c949f49973f56df679 100644 (file)
@@ -4390,12 +4390,12 @@ build_delete (tree otype, tree addr, special_function_kind auto_delete,
                    warning (OPT_Wdelete_non_virtual_dtor,
                             "deleting object of abstract class type %qT"
                             " which has non-virtual destructor"
-                            " will cause undefined behaviour", type);
+                            " will cause undefined behavior", type);
                  else
                    warning (OPT_Wdelete_non_virtual_dtor,
                             "deleting object of polymorphic class type %qT"
                             " which has non-virtual destructor"
-                            " might cause undefined behaviour", type);
+                            " might cause undefined behavior", type);
                }
            }
        }
index 3a247d850c2efdaac69d2d92fc18c13d2687853f..1ffb1355f76fbabda3bd6c5f9455f00101b75f77 100644 (file)
@@ -4492,7 +4492,7 @@ cp_build_binary_op (location_t location,
              || (TREE_CODE (orig_op1) == STRING_CST
                  && !integer_zerop (cp_fully_fold (op0)))))
        warning (OPT_Waddress, "comparison with string literal results "
-                              "in unspecified behaviour");
+                              "in unspecified behavior");
 
       build_type = boolean_type_node;
       if ((code0 == INTEGER_TYPE || code0 == REAL_TYPE
@@ -4793,7 +4793,8 @@ cp_build_binary_op (location_t location,
          || TREE_CODE (orig_op1) == STRING_CST)
        {
          if (complain & tf_warning)
-           warning (OPT_Waddress, "comparison with string literal results in unspecified behaviour");
+           warning (OPT_Waddress, "comparison with string literal results "
+                                  "in unspecified behavior");
        }
 
       if (code0 == VECTOR_TYPE && code1 == VECTOR_TYPE)
index 0da5a16ef309da8c8032c6664c44687c55cff2d4..78017fe41c2e415d0133bc3e09fd6670ffbeeaf3 100644 (file)
@@ -4336,7 +4336,7 @@ interrupt controller (EIC) mode is in use, this can be explicitly set using
 Priority Level (IPL) is copied to the current IPL which has the effect of only
 enabling higher priority interrupts.  To use vectored interrupt mode use
 the argument @code{vector=[sw0|sw1|hw0|hw1|hw2|hw3|hw4|hw5]}, this will change
-the behaviour of the non-masked interrupt support and GCC will arrange to mask
+the behavior of the non-masked interrupt support and GCC will arrange to mask
 all interrupts from sw0 up to and including the specified interrupt vector.
 
 You can use the following attributes to modify the behavior
index 3df797420db9bf635fc5beb9cb09c1bbcc566400..41553709c3d8a731f40b31915c8ae360409381ce 100644 (file)
@@ -1549,7 +1549,7 @@ see ``RS/6000 and PowerPC Options'' in the main manual.
 @option{--with-aix-soname} is currently supported by @samp{libgcc_s} only, so
 this option is still experimental and not for normal use yet.
 
-Default is the traditional behaviour @option{--with-aix-soname=@samp{aix}}.
+Default is the traditional behavior @option{--with-aix-soname=@samp{aix}}.
 
 @item --enable-languages=@var{lang1},@var{lang2},@dots{}
 Specify that only a particular subset of compilers and
index 864824f2f0dbb0440317a81848d9aff0414bc6f2..f9ecfceedb02c794cad56ba876e12feb42ee34c8 100644 (file)
@@ -9426,7 +9426,7 @@ nondeterministic treatment means trying all alternatives, some of them
 may be rejected by reservations in the subsequent insns.
 
 @item
-@dfn{collapse-ndfa} modifies the behaviour of the generator when
+@dfn{collapse-ndfa} modifies the behavior of the generator when
 producing an automaton.  An additional state transition to collapse a
 nondeterministic @acronym{NDFA} state to a deterministic @acronym{DFA}
 state is generated.  It can be triggered by passing @code{const0_rtx} to
index faf8bcb122bc4e750fa7fb87e2cb3fc4d321f159..8b3bccda9673c1f8ae31fb7ff431f2b935d58bc3 100644 (file)
@@ -4422,7 +4422,7 @@ saving and restoring an arbitrary return value.
 Normally, when a function returns a structure by memory, the address
 is passed as an invisible pointer argument, but the compiler also
 arranges to return the address from the function like it would a normal
-pointer return value.  Define this to true if that behaviour is
+pointer return value.  Define this to true if that behavior is
 undesirable on your target.
 @end deftypevr
 
index 496e02ab8b3f11a6e9f42e67108141c8ed56e086..cd7c56813f30e7734b31f6597d7fb4a9f45a3dfc 100644 (file)
@@ -875,7 +875,7 @@ promote_ssa_mode (const_tree name, int *punsignedp)
 
 
 \f
-/* Controls the behaviour of {anti_,}adjust_stack.  */
+/* Controls the behavior of {anti_,}adjust_stack.  */
 static bool suppress_reg_args_size;
 
 /* A helper for adjust_stack and anti_adjust_stack.  */
index f4bac362ed79352ccf9034fca6e51729ab41d652..29e9356a31e804610e77f01f52c3be2c4a015295 100644 (file)
@@ -8238,7 +8238,7 @@ expand_expr_real_2 (sepops ops, rtx target, machine_mode tmode,
         else
           {
            /* For disjoint address spaces, converting anything but a null
-              pointer invokes undefined behaviour.  We truncate or extend the
+              pointer invokes undefined behavior.  We truncate or extend the
               value as if we'd converted via integers, which handles 0 as
               required, and all others as the programmer likely expects.  */
 #ifndef POINTERS_EXTEND_UNSIGNED
index 92a36b607208c068f594c7397c809aa7fbfe7262..bee3f9a4b3eeee616750220b98cf4ed353fa9fcf 100644 (file)
@@ -114,9 +114,9 @@ insert_trap (gimple_stmt_iterator *si_p, tree op)
   *si_p = gsi_for_stmt (stmt);
 }
 
-/* BB when reached via incoming edge E will exhibit undefined behaviour
+/* BB when reached via incoming edge E will exhibit undefined behavior
    at STMT.  Isolate and optimize the path which exhibits undefined
-   behaviour.
+   behavior.
 
    Isolation is simple.  Duplicate BB and redirect E to BB'.
 
@@ -156,14 +156,14 @@ isolate_path (basic_block bb, basic_block duplicate,
 
 
   /* There may be more than one statement in DUPLICATE which exhibits
-     undefined behaviour.  Ultimately we want the first such statement in
+     undefined behavior.  Ultimately we want the first such statement in
      DUPLCIATE so that we're able to delete as much code as possible.
 
-     So each time we discover undefined behaviour in DUPLICATE, search for
-     the statement which triggers undefined behaviour.  If found, then
+     So each time we discover undefined behavior in DUPLICATE, search for
+     the statement which triggers undefined behavior.  If found, then
      transform the statement into a trap and delete everything after the
      statement.  If not found, then this particular instance was subsumed by
-     an earlier instance of undefined behaviour and there's nothing to do.
+     an earlier instance of undefined behavior and there's nothing to do.
 
      This is made more complicated by the fact that we have STMT, which is in
      BB rather than in DUPLICATE.  So we set up two iterators, one for each
@@ -215,7 +215,7 @@ isolate_path (basic_block bb, basic_block duplicate,
    When found isolate and optimize the path associated with the PHI
    argument feeding the erroneous statement.  */
 static void
-find_implicit_erroneous_behaviour (void)
+find_implicit_erroneous_behavior (void)
 {
   basic_block bb;
 
@@ -353,12 +353,12 @@ find_implicit_erroneous_behaviour (void)
     }
 }
 
-/* Look for statements which exhibit erroneous behaviour.  For example
+/* Look for statements which exhibit erroneous behavior.  For example
    a NULL pointer dereference.
 
-   When found, optimize the block containing the erroneous behaviour.  */
+   When found, optimize the block containing the erroneous behavior.  */
 static void
-find_explicit_erroneous_behaviour (void)
+find_explicit_erroneous_behavior (void)
 {
   basic_block bb;
 
@@ -485,11 +485,11 @@ gimple_ssa_isolate_erroneous_paths (void)
   initialize_original_copy_tables ();
 
   /* Search all the blocks for edges which, if traversed, will
-     result in undefined behaviour.  */
+     result in undefined behavior.  */
   cfg_altered = false;
 
   /* First handle cases where traversal of a particular edge
-     triggers undefined behaviour.  These cases require creating
+     triggers undefined behavior.  These cases require creating
      duplicate blocks and thus new SSA_NAMEs.
 
      We want that process complete prior to the phase where we start
@@ -501,8 +501,8 @@ gimple_ssa_isolate_erroneous_paths (void)
      back to the manager but we could still have dangling references
      to the released SSA_NAME in unreachable blocks.
      that any released names not have dangling references in the IL.  */
-  find_implicit_erroneous_behaviour ();
-  find_explicit_erroneous_behaviour ();
+  find_implicit_erroneous_behavior ();
+  find_explicit_erroneous_behavior ();
 
   free_original_copy_tables ();
 
index c0a6ddac23c6cdb4b03709028620b1f1c891e6a0..6c6ed9dcf6d2234e859950a5eefd05619733ca03 100644 (file)
@@ -1,3 +1,9 @@
+2016-02-12  Jakub Jelinek  <jakub@redhat.com>
+
+       * gofrontend/lex.cc: Spelling fixes - behaviour -> behavior and
+       neighbour -> neighbor.
+       * gccgo.texi: Likewise.
+
 2016-01-27  Ian Lance Taylor  <iant@google.com>
 
        * go-lang.c (go_langhook_init_options_struct): Default to
index 0c58a1e3d1b8315050371f9ce543c693e41d40bc..88eb46ad0bad99d9c9849b1c89ff107c1326463f 100644 (file)
@@ -284,7 +284,7 @@ package object files together into a single shared library or archive.
 
 At link time you must explicitly tell @command{gccgo} which files to
 link together into the executable, as is usual with @command{gcc}.
-This is different from the behaviour of other Go compilers.
+This is different from the behavior of other Go compilers.
 
 @node C Interoperability
 @chapter C Interoperability
index 30167e581ac0959d164df6b333029174ff7a87eb..34a0811abef3f6e0e78c16f639ed370863fdb39e 100644 (file)
@@ -881,7 +881,7 @@ Lex::gather_identifier()
              && (cc < '0' || cc > '9'))
            {
              // Check for an invalid character here, as we get better
-             // error behaviour if we swallow them as part of the
+             // error behavior if we swallow them as part of the
              // identifier we are building.
              if ((cc >= ' ' && cc < 0x7f)
                  || cc == '\t'
@@ -922,7 +922,7 @@ Lex::gather_identifier()
            {
              // There is no valid place for a non-ASCII character
              // other than an identifier, so we get better error
-             // handling behaviour if we swallow this character after
+             // handling behavior if we swallow this character after
              // giving an error.
              if (!issued_error)
                error_at(this->location(),
index fea0bb5de0a75723ed5f0e51de15dfc4f2953099..14740ccc939a4e7d9fa18ff422c4b83451c12866 100644 (file)
@@ -251,7 +251,7 @@ sext_hwi (HOST_WIDE_INT src, unsigned int prec)
         from unsigned to signed preserves bit pattern, and right shift of
         a signed value propagates the sign bit.
         We have to convert from signed to unsigned and back, because when left
-        shifting signed values, any overflow is undefined behaviour.  */
+        shifting signed values, any overflow is undefined behavior.  */
       gcc_checking_assert (prec < HOST_BITS_PER_WIDE_INT);
       int shift = HOST_BITS_PER_WIDE_INT - prec;
       return ((HOST_WIDE_INT) ((unsigned HOST_WIDE_INT) src << shift)) >> shift;
index 6c6ef9444e9950a956e52d5949e84b1ddb754167..37aa18548a6e7bee014679e2b18955490628ac52 100644 (file)
@@ -1672,7 +1672,7 @@ finish_cost_vectors (void)
    minimizes the number of chain elements per allocno live range.  If the
    blocks would be visited in a different order, we would still compute a
    correct post-ordering but it would be less likely that two nodes
-   connected by an edge in the CFG are neighbours in the topsort.  */
+   connected by an edge in the CFG are neighbors in the topsort.  */
 
 static vec<ira_loop_tree_node_t>
 ira_loop_tree_body_rev_postorder (ira_loop_tree_node_t loop_node ATTRIBUTE_UNUSED,
index 751ec3ef28aa243f33a488ec466c45464eb1c707..17b58bdfc3d1b9ad8e72d7591dcfaab5f37e57da 100644 (file)
@@ -2140,7 +2140,7 @@ process_alt_operands (int only_alternative)
                          reject++;
                        }
                    }
-                 /* We simulate the behaviour of old reload here.
+                 /* We simulate the behavior of old reload here.
                     Although scratches need hard registers and it
                     might result in spilling other pseudos, no reload
                     insns are generated for the scratches.  So it
@@ -3027,7 +3027,7 @@ process_address_1 (int nop, bool check_only_p,
              if (insn != NULL_RTX)
                {
                  /* Do nothing if we cannot generate right insns.
-                    This is analogous to reload pass behaviour.  */
+                    This is analogous to reload pass behavior.  */
                  delete_insns_since (last);
                  end_sequence ();
                  return false;
index 298e835236975566ab20ccff577591e2f3d46838..ebd2eed1985aba74dd0aff2cc62bca46f2274192 100644 (file)
@@ -2969,7 +2969,7 @@ DEFINE_INT_AND_FLOAT_ROUND_FN (RINT)
 /* If we have a narrowing conversion of an arithmetic operation where
    both operands are widening conversions from the same type as the outer
    narrowing conversion.  Then convert the innermost operands to a suitable
-   unsigned type (to avoid introducing undefined behaviour), perform the
+   unsigned type (to avoid introducing undefined behavior), perform the
    operation and convert the result to the desired type.  */
 (for op (plus minus)
   (simplify
@@ -2999,7 +2999,7 @@ DEFINE_INT_AND_FLOAT_ROUND_FN (RINT)
 /* This is another case of narrowing, specifically when there's an outer
    BIT_AND_EXPR which masks off bits outside the type of the innermost
    operands.   Like the previous case we have to convert the operands
-   to unsigned types to avoid introducing undefined behaviour for the
+   to unsigned types to avoid introducing undefined behavior for the
    arithmetic operation.  */
 (for op (minus plus)
  (simplify
index b6ce01fc27fa2ae0ab61f30c1ea119a2994f1bf6..c940f202baea1a1592a850078d542afb021b1a4b 100644 (file)
@@ -1,3 +1,9 @@
+2016-02-12  Jakub Jelinek  <jakub@redhat.com>
+
+       * objc-act.c: Spelling fixes - behaviour -> behavior and
+       neighbour -> neighbor.
+       * objc-map.h: Likewise.
+
 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
 
        Update copyright years.
index 304a8ee920f6b04de8979c50213739ff84c76371..8109507c05e08eca1358eb18bfa7cf72335938a7 100644 (file)
@@ -5168,7 +5168,7 @@ receiver_is_class_object (tree receiver, int self, int super)
      (due to the code below) and so will know that +alloc is called on
      the 'NSObject' class, and can perform the corresponding checks.
 
-     Programmers can disable this behaviour by casting the results of
+     Programmers can disable this behavior by casting the results of
      objc_getClass() to 'Class' (this may seem weird because
      objc_getClass() is already declared to return 'Class', but the
      compiler treats it as a special function).  This may be useful if
@@ -5880,7 +5880,7 @@ lookup_method (tree mchain, tree method)
    OBJC_LOOKUP_NO_SUPER is clear, and no suitable class method could
    be found in INTERFACE or any of its superclasses, look for an
    _instance_ method of the same name in the root class as a last
-   resort.  This behaviour can be turned off by using
+   resort.  This behavior can be turned off by using
    OBJC_LOOKUP_NO_INSTANCE_METHODS_OF_ROOT_CLASS.
 
    If a suitable method cannot be found, return NULL_TREE.  */
index 9cc9f3ac217fc1563a929f404b75f1fd93b77434..aa88b552d265f9ffa30d4dab2d6732739b11f676 100644 (file)
@@ -283,7 +283,7 @@ objc_map_iterator_move_to_next (objc_map_t map, objc_map_iterator_t *i)
 /* Return the current key.  You can only call it after you have called
    objc_map_iterator_move_to_next() at least once (to move to the
    first element), and only if the last call returned
-   OBJC_MAP_SUCCESS.  The behaviour is otherwise undefined, probably a
+   OBJC_MAP_SUCCESS.  The behavior is otherwise undefined, probably a
    segmentation fault.  */
 static inline
 tree
@@ -296,7 +296,7 @@ objc_map_iterator_current_key (objc_map_t map, objc_map_iterator_t i)
 /* Return the current value.  You can only call it after you have
    called objc_map_iterator_move_to_next() at least once (to move to
    the first element), and only if the last call returned
-   OBJC_MAP_SUCCESS.  The behaviour is otherwise undefined, probably a
+   OBJC_MAP_SUCCESS.  The behavior is otherwise undefined, probably a
    segmentation fault.  */
 static inline
 tree
index b966e7942329cd49fd81220f137b8c587b5fffc1..89dd823901ad67d4490c17a4795ad76c81671682 100644 (file)
@@ -464,7 +464,7 @@ add_deps_for_risky_insns (rtx_insn *head, rtx_insn *tail)
 /* Schedule a single extended basic block, defined by the boundaries
    HEAD and TAIL.
 
-   We change our expectations about scheduler behaviour depending on
+   We change our expectations about scheduler behavior depending on
    whether MODULO_SCHEDULING is true.  If it is, we expect that the
    caller has already called set_modulo_params and created delay pairs
    as appropriate.  If the modulo schedule failed, we return
index 378c3aa91dd9213c2f5102e9eb7a9ca3786fbe62..2a457033306f42c32733dd592ca36b3617366045 100644 (file)
@@ -100,7 +100,7 @@ extern int get_rgn_sched_max_insns_priority (void);
 extern void sel_add_to_insn_priority (rtx, int);
 
 /* True if during selective scheduling we need to emulate some of haifa
-   scheduler behaviour.  */
+   scheduler behavior.  */
 extern int sched_emulate_haifa_p;
 
 /* Mapping from INSN_UID to INSN_LUID.  In the end all other per insn data
index c79893509079f7ac5ee93a9a404fe3e84251b91c..bd32ab5c154bec19fa6d3555dad29988843f1632 100644 (file)
@@ -396,7 +396,7 @@ typedef struct fur_static_params *fur_static_params_p;
 typedef struct cmpd_local_params *cmpd_local_params_p;
 typedef struct moveop_static_params *moveop_static_params_p;
 
-/* Set of hooks and parameters that determine behaviour specific to
+/* Set of hooks and parameters that determine behavior specific to
    move_op or find_used_regs functions.  */
 struct code_motion_path_driver_info_def
 {
@@ -6450,7 +6450,7 @@ code_motion_path_driver (insn_t insn, av_set_t orig_ops, ilist_t path,
         {
           /* We have already found an original operation on this branch, do not
              go any further and just return TRUE here.  If we don't stop here,
-             function can have exponential behaviour even on the small code
+             function can have exponential behavior even on the small code
              with many different paths (e.g. with data speculation and
              recovery blocks).  */
           if (sched_verbose >= 6)
index e641a56bc023ae37d538172b46115957dc9abb44..bf74015509daaa08d2130ff475c203bba875c56e 100644 (file)
@@ -80,7 +80,7 @@ levenshtein_distance (const char *s, int len_s,
         by inserting i characters.  */
       v1[0] = i + 1;
 
-      /* Build the rest of the row by considering neighbours to
+      /* Build the rest of the row by considering neighbors to
         the north, west and northwest.  */
       for (int j = 0; j < len_s; j++)
        {
index f139ef9212973f33d4c53f35ea6786d8b164af7b..5c8e4e16cc107d9c66557457f60b5530888fd3ab 100644 (file)
@@ -4100,7 +4100,7 @@ DEFHOOKPOD
  "Normally, when a function returns a structure by memory, the address\n\
 is passed as an invisible pointer argument, but the compiler also\n\
 arranges to return the address from the function like it would a normal\n\
-pointer return value.  Define this to true if that behaviour is\n\
+pointer return value.  Define this to true if that behavior is\n\
 undesirable on your target.",
  bool, false)
 
index 35734b1cc61fad57bebeb3c283dc7798fedb46f6..43022bd92c3121fbe0412d4350a4fc036c6fad71 100644 (file)
@@ -101,7 +101,7 @@ extern int elf_record_gcc_switches (print_switch_type type, const char *);
 extern bool target_default_pointer_address_modes_p (void);
 
 /* For hooks which use the MOVE_RATIO macro, this gives the legacy default
-   behaviour.  */
+   behavior.  */
 extern unsigned int get_move_ratio (bool);
 
 struct stdarg_info;
index fa6a43d5b615bb1df948192dd949b013a050c09a..74af91a6b1dd50e02bde85cf9fc8975c1487a984 100644 (file)
@@ -1446,7 +1446,7 @@ default_register_move_cost (machine_mode mode ATTRIBUTE_UNUSED,
 }
 
 /* For hooks which use the MOVE_RATIO macro, this gives the legacy default
-   behaviour.  SPEED_P is true if we are compiling for speed.  */
+   behavior.  SPEED_P is true if we are compiling for speed.  */
 
 unsigned int
 get_move_ratio (bool speed_p ATTRIBUTE_UNUSED)
index baf28f5339f32e3b090aff9d927a0c68bfb6a4aa..8d05fea69dec198a601cf1f1f7e73da62b911d57 100644 (file)
@@ -1,3 +1,58 @@
+2016-02-12  Jakub Jelinek  <jakub@redhat.com>
+
+       * objc.dg/gnu-api-2-method.m: Spelling fixes - behaviour -> behavior
+       and neighbour -> neighbor.
+       * objc.dg/attributes/method-nonnull-1.m: Likewise.
+       * objc.dg/gnu-api-2-class-meta.m: Likewise.
+       * c-c++-common/Wvarargs.c: Likewise.
+       * c-c++-common/goacc/host_data-5.c: Likewise.
+       * obj-c++.dg/gnu-api-2-class-meta.mm: Likewise.
+       * obj-c++.dg/attributes/method-nonnull-1.mm: Likewise.
+       * obj-c++.dg/gnu-api-2-method.mm: Likewise.
+       * gcc.target/aarch64/pr60697.c: Likewise.
+       * gcc.target/aarch64/advsimd-intrinsics/vldX_lane.c: Likewise.
+       * gcc.target/aarch64/advsimd-intrinsics/vqshl.c: Likewise.
+       * gcc.target/aarch64/advsimd-intrinsics/vshuffle.inc: Likewise.
+       * gcc.target/aarch64/advsimd-intrinsics/vrshl.c: Likewise.
+       * gcc.target/aarch64/advsimd-intrinsics/vldX_dup.c: Likewise.
+       * gcc.target/aarch64/advsimd-intrinsics/vstX_lane.c: Likewise.
+       * gcc.target/aarch64/advsimd-intrinsics/vqrshl.c: Likewise.
+       * gcc.target/aarch64/advsimd-intrinsics/vldX.c: Likewise.
+       * gcc.target/aarch64/aapcs64/ice_2.c: Likewise.
+       * gcc.target/aarch64/aapcs64/test_23.c: Likewise.
+       * gcc.target/aarch64/vrnd_f64_1.c: Likewise.
+       * g++.dg/warn/Wconversion-real-integer-3.C: Likewise.
+       * g++.dg/lookup/koenig5.C: Likewise.
+       * g++.dg/ext/no-asm-2.C: Likewise.
+       * gfortran.dg/bounds_check_array_ctor_3.f90: Likewise.
+       * gfortran.dg/bounds_check_array_ctor_7.f90: Likewise.
+       * gfortran.dg/used_types_16.f90: Likewise.
+       * gfortran.dg/assumed_rank_bounds_1.f90: Likewise.
+       * gfortran.dg/bounds_check_array_ctor_1.f90: Likewise.
+       * gfortran.dg/assumed_rank_bounds_2.f90: Likewise.
+       * gfortran.dg/bounds_check_array_ctor_4.f90: Likewise.
+       * gfortran.dg/abstract_type_6.f03: Likewise.
+       * gfortran.dg/bounds_check_array_ctor_5.f90: Likewise.
+       * gfortran.dg/used_types_15.f90: Likewise.
+       * gfortran.dg/bounds_check_array_ctor_8.f90: Likewise.
+       * gfortran.dg/exit_3.f08: Likewise.
+       * gfortran.dg/open_status_2.f90: Likewise.
+       * gfortran.dg/derived_pointer_recursion_2.f90: Likewise.
+       * gfortran.dg/intrinsic_std_1.f90: Likewise.
+       * gfortran.dg/associate_1.f03: Likewise.
+       * gfortran.dg/bounds_check_array_ctor_2.f90: Likewise.
+       * gfortran.dg/intrinsic_std_6.f90: Likewise.
+       * gfortran.dg/bounds_check_array_ctor_6.f90: Likewise.
+       * gcc.dg/builtin-object-size-1.c: Likewise.
+       * gcc.dg/noreturn-6.c: Likewise.
+       * gcc.dg/builtin-stringop-chk-1.c: Likewise.
+       * gcc.dg/globalalias.c: Likewise.
+       * gcc.dg/builtins-config.h: Likewise.
+       * gcc.dg/pr30457.c: Likewise.
+       * gcc.c-torture/compile/volatile-1.c: Likewise.
+       * gcc.c-torture/execute/20101011-1.c: Likewise.
+       * c-c++-common/Waddress-1.c: Likewise.
+
 2016-02-11  Jakub Jelinek  <jakub@redhat.com>
 
        PR c/69768
index a5d128fd531f06b7f64ed7f4b6f75f6ce2240b05..8df5d2f6fecd5065456f094e2f234197b933957e 100644 (file)
@@ -7,9 +7,9 @@ static int e;
 int
 foo ()
 {
-  return "foo1" != (void *) 0  /* { dg-bogus "comparison with string literal results in unspecified behaviou?r" } */
-        && "foo2" != (const char *) ((void *) 0)       /* { dg-bogus "comparison with string literal results in unspecified behaviou?r" } */
-        && "foo3" != (const char *) ((void *) (10 - 10))       /* { dg-bogus "comparison with string literal results in unspecified behaviou?r" } */
-        && "foo4" != (const char *) ((void *) (&e - &e))       /* { dg-warning "comparison with string literal results in unspecified behaviou?r" "" { target c } } */
-        && "foo5" != "foo6";   /* { dg-warning "comparison with string literal results in unspecified behaviou?r" } */
+  return "foo1" != (void *) 0  /* { dg-bogus "comparison with string literal results in unspecified behavior" } */
+        && "foo2" != (const char *) ((void *) 0)       /* { dg-bogus "comparison with string literal results in unspecified behavior" } */
+        && "foo3" != (const char *) ((void *) (10 - 10))       /* { dg-bogus "comparison with string literal results in unspecified behavior" } */
+        && "foo4" != (const char *) ((void *) (&e - &e))       /* { dg-warning "comparison with string literal results in unspecified behavior" "" { target c } } */
+        && "foo5" != "foo6";   /* { dg-warning "comparison with string literal results in unspecified behavior" } */
 }
index 408f427b5c458221df63634a1d066e4d4effef9c..0f90cb3bfce1685d10cd7feb2bf16b06bdccff6d 100644 (file)
@@ -49,6 +49,6 @@ foo3 (int a, register int b, ...)
 {
     va_list vp;
     /* 'b' is declared with register storage, so warn.  */
-    va_start (vp, b); /* { dg-warning "undefined behaviour" } */
+    va_start (vp, b); /* { dg-warning "undefined behavior" } */
     va_end (vp);
 }
index f372fbdc4376fa45dc50ea8ea7c2162f1581253f..a4206c8b93095e7b1caa3e685d742049c279cf92 100644 (file)
@@ -11,7 +11,7 @@ int main (int argc, char* argv[])
     int *xp;
 #pragma acc host_data use_device (x)
     {
-      /* This use of the present clause is undefined behaviour for OpenACC.  */
+      /* This use of the present clause is undefined behavior for OpenACC.  */
 #pragma acc parallel present (x) copyout (xp) /* { dg-error "variable 'x' declared in enclosing 'host_data' region" } */
       {
         xp = x;
index fa614d8e24e7415a414c346e7e97654b655864ab..2befc26e7e3977e65c04c4f31978fe61e167f1ec 100644 (file)
@@ -4,7 +4,7 @@
 // Verify that the keyword asm and the GNU extension typeof are not
 // recognized as keywords when using -fno-asm.  Having -fno-asm affect
 // a standard C++ keyword seems strange, but that is existing
-// behaviour.  If that behaviour changes, this test should change.
+// behavior.  If that behavior changes, this test should change.
 
 int asm;       // { dg-bogus "before .asm." }
 int typeof;    // { dg-bogus "before .typeof." }
index c44543bd52fe3a2ef8986d89e9276495f8a4f56f..15fb6cc90a9f69dd8f39b9f48557a4972a18034c 100644 (file)
@@ -1,6 +1,6 @@
 // Koenig lookup is not defined as intended in the std.  DR 218 gives
 // an indication of what is meant.  This test case encapsulates the
-// current conservative behaviour
+// current conservative behavior
 
 // Copyright (C) 2006 Free Software Foundation, Inc.
 // Contributed by Nathan Sidwell 27 Aug 2006 <nathan@codesourcery.com>
index a4df0100a712d80c83f00f7a86f555fb6988ca37..775c88c3fade76b087a7f08b42ba8555dc255593 100644 (file)
@@ -12,7 +12,7 @@ void h (void)
     // a macro that expands to the built-in __INT_MAX__.  Furthermore,
     // INT_MAX is defined inside a system header.
     //
-    // The behaviour we want is that the diagnostic should point to
+    // The behavior we want is that the diagnostic should point to
     // the locus that inside the source code here, at the relevant
     // line below, even with -ftrack-macro-expansion.  We don't want
     // it to point to the any locus that is inside the system header.
index cb81274c0d12f15795d3b7da6a373b0347e11307..2017309646d15450faa76eb7354ad9f01710077b 100644 (file)
@@ -1,6 +1,6 @@
 /* The problem here was that the statements that
    loaded from exception.reason where not being
-   marked as having volatile behaviour which
+   marked as having volatile behavior which
    caused load PRE on the tree level to go
    into an infinite loop. */
 
index 639d12de6832d49e35b199d06e9ebf3e5cf909a1..e7157c591683888f61b1e1476da878082d024359 100644 (file)
@@ -45,7 +45,7 @@
 # define DO_TEST 0
 #elif defined (__epiphany__)
   /* Epiphany does not have hardware division, and the software implementation
-     has truly undefined behaviour for division by 0.  */
+     has truly undefined behavior for division by 0.  */
 # define DO_TEST 0
 #elif defined (__m68k__) && !defined(__linux__)
   /* Attempting to trap division-by-zero in this way isn't likely to work on 
@@ -68,9 +68,9 @@
 #  define DO_TEST 0
 # else
 #  include <signal.h>
-  /* ARM division-by-zero behaviour is to call a helper function, which
+  /* ARM division-by-zero behavior is to call a helper function, which
      can do several different things, depending on requirements.  Emulate
-     the behaviour of other targets here by raising SIGFPE.  */
+     the behavior of other targets here by raising SIGFPE.  */
 int __attribute__((used))
 __aeabi_idiv0 (int return_value)
 {
index 264ef75518995105bd302efd56457307c96cca51..8cdae49a6b1180aa6f93a0edb62e68120334388b 100644 (file)
@@ -361,7 +361,7 @@ test5 (size_t x)
   /* My understanding of ISO C99 6.5.6 is that a conforming
      program will not end up with p equal to &buf[0]
      through &buf[7], i.e. calling this function with say
-     UINTPTR_MAX / 4 results in undefined behaviour.
+     UINTPTR_MAX / 4 results in undefined behavior.
      If that's true, then the maximum number of remaining
      bytes from p until end of the object is 56, otherwise
      it would be 64 (or conservative (size_t) -1 == unknown).  */
index bb727da28e4d9132d8d22839326f3f6ea0eb6048..6e71aeeec28d1ed04b10c88fddd9afa709cfd78e 100644 (file)
@@ -70,7 +70,7 @@ test (int arg, ...)
   memset (p, 'd', 0);
   q = strcpy (p, ""); /* { dg-warning "will always overflow" "strcpy" } */
 
-  /* This invokes undefined behaviour, since we are past the end of buf1.  */
+  /* This invokes undefined behavior, since we are past the end of buf1.  */
   p = p + 10;
   memset (p, 'd', 1); /* { dg-warning "will always overflow" "memset" } */
 
index 8d5a10d3f16ca1a7e3bd8475e46b9344def01072..f00e91a750f0b235d54e6be9f8f7f6a3d889d9fa 100644 (file)
@@ -26,7 +26,7 @@
        && ! defined (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__))
 /* MacOS versions before 10.3 don't have many C99 functions.  
    But, if you're including this file, you probably want to test the
-   newer behaviour, so: */
+   newer behavior, so: */
 #error forgot to set -mmacosx-version-min.
 #elif (defined(__APPLE__) && defined(__ppc__) \
        && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1030)
@@ -47,7 +47,7 @@
 #if defined(_NEWLIB_VERSION) || defined(__UCLIBC__)
 #elif defined(__sun) && __STDC_VERSION__ - 0 < 199901L
 /* If you're including this file, you probably want to test the newer
-   behaviour, so ensure the right flags were used for each test: */
+   behavior, so ensure the right flags were used for each test: */
 #error forgot to set -std=c99.
 #elif defined(__sun) && ! defined (_STDC_C99)
 /* Solaris up to 9 doesn't have the entire C99 runtime.
index fc6c7aabe6715b0354ba910da164644a8644f184..69cd4abf86a096ec231f82d145bf05aeed3b63ce 100644 (file)
@@ -1,7 +1,7 @@
 /* This test checks that local aliases behave sanely.  This is necessary for code correctness
    of aliases introduced by ipa-visibility pass.
 
-   This test expose weird behaviour of AIX's .set pseudo-op where the global symbol is created,
+   This test expose weird behavior of AIX's .set pseudo-op where the global symbol is created,
    but all uses of the alias are syntactically replaced by uses of the target.  This means that
    both counters are increased to 2.  */
 
index eb1fd243773c47c9674ae3f9f02f3720e4a097ef..b4badd41b9e9360088498303801343f540de4ac7 100644 (file)
@@ -1,4 +1,4 @@
 /* { dg-do compile } */
-/* Check for volatile behaviour.  */
+/* Check for volatile behavior.  */
 extern int xxx (void);
 volatile extern int xxx (void);  /* { dg-error "not compatible" } */
index d72f47c1eda1f044b6f81e03f4063550e40b5350..6a49d7c99e487e055d14b48126d1b86e56bdc313 100644 (file)
@@ -14,7 +14,7 @@ void foo(register short paramN, ...)
 {
   va_list ap;
 
-  va_start(ap, paramN); /* { dg-warning "undefined behaviour when second parameter of 'va_start' is declared with 'register' storage" } */
+  va_start(ap, paramN); /* { dg-warning "undefined behavior when second parameter of 'va_start' is declared with 'register' storage" } */
   
   /* Undefined by C99 7.15.1.1p2:  */
   (void) va_arg(ap, char); /* { dg-warning "'char' is promoted to 'int' when passed through '...'" "promoted" } */
index 8d34f270d486b95d3a2b9313992bb165504b249c..be5b7025d12865759f5e7e6ceecb96c4a20f9686 100644 (file)
@@ -1,6 +1,6 @@
 /* Test AAPCS layout
 
-   Larger than machine-supported vector size.  The behaviour is unspecified by
+   Larger than machine-supported vector size.  The behavior is unspecified by
    the AAPCS64 document; the implementation opts for pass by reference.  */
 
 /* { dg-do compile { target aarch64*-*-* } } */
index 6993884c0e71cd30e3e2f080b59fe66855ccdcfa..fd45cc509e1e6060eafb6b5efd11209da4d1516a 100644 (file)
@@ -1,6 +1,6 @@
 /* Test AAPCS64 layout.
 
-   Larger than machine-supported vector size.  The behaviour is unspecified by
+   Larger than machine-supported vector size.  The behavior is unspecified by
    the AAPCS64 document; the implementation opts for pass by reference.  */
 
 /* { dg-do run { target aarch64*-*-* } } */
index 1e02dc3fa103ca6f71325f668eb04f0b88b594a3..e1e8562ac6be424e638d11a90aeb406116abca24 100644 (file)
@@ -406,7 +406,7 @@ void exec_vldX (void)
   /* We need to use a temporary result buffer (result_bis), because
      the one used for other tests is not large enough. A subset of the
      result data is moved from result_bis to result, and it is this
-     subset which is used to check the actual behaviour. The next
+     subset which is used to check the actual behavior. The next
      macro enables to move another chunk of data from result_bis to
      result.  */
 #define TEST_VLDX(Q, T1, T2, W, N, X)                                  \
index e4cde46725fff839dc6e7b81ef60f045949a368a..b44a987cb5d2f169b633d9c1e862fb782bd65d39 100644 (file)
@@ -178,7 +178,7 @@ void exec_vldX_dup (void)
   /* We need to use a temporary result buffer (result_bis), because
      the one used for other tests is not large enough. A subset of the
      result data is moved from result_bis to result, and it is this
-     subset which is used to check the actual behaviour. The next
+     subset which is used to check the actual behavior. The next
      macro enables to move another chunk of data from result_bis to
      result.  */
 #define TEST_VLDX_DUP(Q, T1, T2, W, N, X)                              \
index 33b0eafbadb475c6cfe7702205bcd88e0e344b0c..cda76abfe0a18f648331ec9cffc030368b2a7c70 100644 (file)
@@ -327,7 +327,7 @@ void exec_vldX_lane (void)
   /* We need to use a temporary result buffer (result_bis), because
      the one used for other tests is not large enough. A subset of the
      result data is moved from result_bis to result, and it is this
-     subset which is used to check the actual behaviour. The next
+     subset which is used to check the actual behavior. The next
      macro enables to move another chunk of data from result_bis to
      result.  */
   /* We also use another extra input buffer (buffer_src), which we
index 3f0cb37707291ac3488e4476172f4c210fe831cd..0e194fa46cb2567a740b93dc0be102c4b8e32799 100644 (file)
@@ -557,7 +557,7 @@ FNNAME (INSN)
 
   /* Choose init value arbitrarily, will be used as shift amount */
   /* Use values equal to or one-less-than the type width to check
-     behaviour on limits.  */
+     behavior on limits.  */
   VDUP(vector_shift, , int, s, 8, 8, 7);
   VDUP(vector_shift, , int, s, 16, 4, 15);
   VDUP(vector_shift, , int, s, 32, 2, 31);
index a1cccc2df28f40efdb0f5ea746ff8d5c32d95c12..5999b12498bacd55952177ce902f1baaddf5275a 100644 (file)
@@ -429,7 +429,7 @@ FNNAME (INSN)
 
   /* Choose init value arbitrarily, will be used as shift amount */
   /* Use values equal or one-less-than the type width to check
-     behaviour on limits.  */
+     behavior on limits.  */
 
   /* 64-bits vectors first.  */
   /* Shift 8-bits lanes by 7...  */
index d970fbda3f7fb3e2716c278467ab770906d444dc..1efa211d22e04cdd69612734d6b6717aeafbcee5 100644 (file)
@@ -314,7 +314,7 @@ void exec_vrshl (void)
 
   /* Choose init value arbitrarily, will be used as shift amount.  */
   /* Use values equal to one-less-than the type width to check
-     behaviour on limits.  */
+     behavior on limits.  */
   VDUP(vector_shift, , int, s, 8, 8, 7);
   VDUP(vector_shift, , int, s, 16, 4, 15);
   VDUP(vector_shift, , int, s, 32, 2, 31);
index ad0b4ff9faeda87117bb469eb2bc3b91012b71f3..b55a205d7ac4dfd09961e05b6eba6ab383cb0fd7 100644 (file)
@@ -11,7 +11,7 @@ void FNNAME (INSN_NAME) (void)
   /* We need to use a temporary result buffer (result_bis), because
      the one used for other tests is not large enough. A subset of the
      result data is moved from result_bis to result, and it is this
-     subset which is used to check the actual behaviour. The next
+     subset which is used to check the actual behavior. The next
      macro enables to move another chunk of data from result_bis to
      result.  */
 #define TEST_VSHUFFLE(INSN, Q, T1, T2, W, N)                           \
index 680e5bdd5f7443e254b7849678f9fdb8fae0a9e9..b923b64412488fc022fc66b7862e310053a7f678 100644 (file)
@@ -268,7 +268,7 @@ void exec_vstX_lane (void)
   /* We need to use a temporary result buffer (result_bis), because
      the one used for other tests is not large enough. A subset of the
      result data is moved from result_bis to result, and it is this
-     subset which is used to check the actual behaviour. The next
+     subset which is used to check the actual behavior. The next
      macro enables to move another chunk of data from result_bis to
      result.  */
   /* We also use another extra input buffer (buffer_src), which we
index 57ccecb1dadbae45af4720eb766bc98214fe3692..1b5857c1fbf342f731a648832f4104d31cfdc79d 100644 (file)
@@ -618,7 +618,7 @@ static int ns5_core(FILE *log,t_commrec *cr,t_forcerec *fr,int cg_index[],
     }
   }
 }
-int search_neighbours(FILE *log,t_forcerec *fr,
+int search_neighbors(FILE *log,t_forcerec *fr,
         rvec x[],matrix box,
         t_topology *top,t_groups *grps,
         t_commrec *cr,t_nsborder *nsb,
index 5bc34e28377bb680fbb87d87090faaebcd647a05..d1cff7b7b3045808458fd7bfcf6459b50d1af4f9 100644 (file)
@@ -87,7 +87,7 @@ main (int argc, char **argv)
   };
 
   /* Set floating point control register
-     to have predictable vrndx and vrndi behaviour.  */
+     to have predictable vrndx and vrndi behavior.  */
   set_rounding_mode (FPROUNDING_ZERO);
 
   run_round_tests (tests, expectations);
index 5eefcb836176a828eb2c8081b4c0fe68a65007e6..9dd0a37c56454cdcacf93ec15c13bbbdefd34f96 100644 (file)
@@ -11,16 +11,16 @@ module m
 TYPE, ABSTRACT :: top
 CONTAINS
    PROCEDURE(xxx), DEFERRED :: proc_a ! { dg-error "must be explicit" }
-   ! some useful default behaviour
+   ! some useful default behavior
    PROCEDURE :: proc_c => top_c ! { dg-error "must be a module procedure" }
 END TYPE top
 
-! Concrete middle class with useful behaviour
+! Concrete middle class with useful behavior
 TYPE, EXTENDS(top) :: middle
 CONTAINS
    ! do nothing, empty proc just to make middle concrete
    PROCEDURE :: proc_a => dummy_middle_a ! { dg-error "must be a module procedure" }
-   ! some useful default behaviour
+   ! some useful default behavior
    PROCEDURE :: proc_b => middle_b ! { dg-error "must be a module procedure" }
 END TYPE middle
 
@@ -32,9 +32,9 @@ CONTAINS
    ! useful proc to satisfy deferred procedure in top. Because we've
    ! extended middle we wouldn't get told off if we forgot this.
    PROCEDURE :: proc_a => bottom_a  ! { dg-error "must be a module procedure" }
-   ! calls middle%proc_b and then provides extra behaviour
+   ! calls middle%proc_b and then provides extra behavior
    PROCEDURE :: proc_b => bottom_b
-   ! calls top_c and then provides extra behaviour
+   ! calls top_c and then provides extra behavior
    PROCEDURE :: proc_c => bottom_c
 END TYPE bottom
 contains
index 61fa1ac7831566c7c8c18092a4ab3c561397639a..bb32399d6faf312f6265d84d008a41a7db02d4d6 100644 (file)
@@ -51,7 +51,7 @@ PROGRAM main
     END ASSOCIATE
   END ASSOCIATE myname ! Matching end-label.
 
-  ! Correct behaviour when shadowing already existing names.
+  ! Correct behavior when shadowing already existing names.
   ASSOCIATE (a => 1 * b, b => 1 * a, x => 1, y => 2)
     IF (ABS (a - 3.0) > 1.0e-3 .OR. ABS (b + 2.0) > 1.0e-3) CALL abort ()
     ASSOCIATE (x => 1 * y, y => 1 * x)
index 11d15f6a537c3b715e2ba24e51128682ad1e2aa0..fbca70777fc86bb3379c3c0d09d17a70a8c6dc23 100644 (file)
@@ -1,6 +1,6 @@
 ! { dg-do run }
 !
-! Test the behaviour of lbound, ubound of shape with assumed rank arguments
+! Test the behavior of lbound, ubound of shape with assumed rank arguments
 ! in an array context (without DIM argument).
 !
 
index b9c8e56f42f4e27a8695db96914cb919693e14dd..91752e5fc413be5cd4664e2d57542d8d1489f128 100644 (file)
@@ -1,6 +1,6 @@
 ! { dg-do run }
 !
-! Test the behaviour of lbound, ubound of shape with assumed rank arguments
+! Test the behavior of lbound, ubound of shape with assumed rank arguments
 ! in an array context (without DIM argument).
 !
 
index 45b21d21e70b980f11655c64c7669fec7e8f4675..78a65b412de8d9855de67709b03db002710dd941 100644 (file)
@@ -3,7 +3,7 @@
 ! { dg-shouldfail "foo" }
 !
 ! PR 36112
-! Check correct bounds-checking behaviour for character-array-constructors.
+! Check correct bounds-checking behavior for character-array-constructors.
 
   call test ("this is long")
 contains
index e0cbf1061d7d376ac53e94e92b35ce1029127103..832ecddcfc5d5c833736521ac679c8e8623a5150 100644 (file)
@@ -3,7 +3,7 @@
 ! { dg-shouldfail "foo" }
 !
 ! PR 36112
-! Check correct bounds-checking behaviour for character-array-constructors.
+! Check correct bounds-checking behavior for character-array-constructors.
 
   call test ("this is long")
 contains
index 5e566ba9bc9e5df3957ea7f10bfbd377065418bb..878a64b9ac785f57966c9c1a56375f550a702c04 100644 (file)
@@ -1,7 +1,7 @@
 ! { dg-do compile }
 !
 ! PR 36112
-! Check correct bounds-checking behaviour for character-array-constructors.
+! Check correct bounds-checking behavior for character-array-constructors.
 ! This should not need any -fbounds-check and is enabled all the time.
 
   character(len=128) :: arr(2) = (/ "abc", "foobar" /) ! { dg-error "Different CHARACTER lengths" }
index 1d3bac83a715ec2902da8308f5fac7917fe58b50..e51b5784620b8ee08220c1f1e66dfe1e84253e2c 100644 (file)
@@ -3,7 +3,7 @@
 ! { dg-shouldfail "foo" }
 !
 ! PR 36112
-! Check correct bounds-checking behaviour for character-array-constructors.
+! Check correct bounds-checking behavior for character-array-constructors.
 
   call test ("short", "this is long")
 contains
index ad7f1b05469065dbc2b30643e9bbc023276cb084..2d9a35a04e1f600c5b039bb249387cacc718bfad 100644 (file)
@@ -1,7 +1,7 @@
 ! { dg-do compile }
 !
 ! PR 36112
-! Check correct bounds-checking behaviour for character-array-constructors.
+! Check correct bounds-checking behavior for character-array-constructors.
 ! No need for -fbounds-check, enabled unconditionally.
 
   character(len=5) :: s = "hello"
index c6f89e0de92e213621ec2b1c121f3ad8c9f16f1a..5d788a99a6d8bcae831292bbfacd12979f342540 100644 (file)
@@ -3,7 +3,7 @@
 ! { dg-shouldfail "foo" }
 !
 ! PR 36112
-! Check correct bounds-checking behaviour for character-array-constructors.
+! Check correct bounds-checking behavior for character-array-constructors.
 
   call test ("short", "also5")
 contains
index 2a13be2beb00fcd1e2dbdb6ebdb39310768d0c85..ab1d5d11b52625bef224a4fc2c6a8603a5f14e31 100644 (file)
@@ -3,7 +3,7 @@
 ! { dg-shouldfail "foo" }
 !
 ! PR 36112
-! Check correct bounds-checking behaviour for character-array-constructors.
+! Check correct bounds-checking behavior for character-array-constructors.
 
   call test ("short")
 contains
index 0d4ad0cfeb449382817f22c8c80aa540a791ada4..0b2479567ff787cc11c2cc42ddcd4671eefd5933 100644 (file)
@@ -3,7 +3,7 @@
 ! { dg-shouldfail "foo" }
 !
 ! PR 36112
-! Check correct bounds-checking behaviour for character-array-constructors.
+! Check correct bounds-checking behavior for character-array-constructors.
 
   call test ("short")
 contains
index 675be1b3c0973cb7bfce7d60caa4649e378412fa..75f72d5c1e1ec79d4395dd3d88b54b551c5c11a6 100644 (file)
@@ -12,7 +12,7 @@ TYPE :: atom_list
 END TYPE
 
 TYPE :: atom_private
-  TYPE(atom_list) :: neighbours
+  TYPE(atom_list) :: neighbors
   LOGICAL         :: initialized = .true.
 END TYPE
 
index 732497b6d3667f191320e4f1c727f338db799156..301b017357e5a5c8e02d96a623bf61d6d81188ea 100644 (file)
@@ -2,7 +2,7 @@
 ! { dg-options "-std=f2008 -fall-intrinsics" }
 
 ! PR fortran/44602
-! Check for correct behaviour of EXIT / CYCLE combined with non-loop
+! Check for correct behavior of EXIT / CYCLE combined with non-loop
 ! constructs at run-time.
 
 ! Contributed by Daniel Kraft, d@domob.eu.
index ac8649bbc627465e62672514a11282dee2abd95e..0b8d8ab26138563d1f6ced7004f96e2afa5e888e 100644 (file)
@@ -6,7 +6,7 @@
 !
 
 ! PR fortran/33141
-! Check for the expected behaviour when an intrinsic function/subroutine is
+! Check for the expected behavior when an intrinsic function/subroutine is
 ! called that is not available in the defined standard or that is a GNU
 ! extension:
 ! There should be a warning emitted on the call, and the reference should be
index 24e35668d4f1e9d119657526b5e481f265004fe3..c4a7c37a687d6478df8cf7652e1fc567230506df 100644 (file)
@@ -6,7 +6,7 @@
 !
 
 ! PR fortran/33141
-! Check for the expected behaviour when an intrinsic function/subroutine is
+! Check for the expected behavior when an intrinsic function/subroutine is
 ! called that is not available in the defined standard or that is a GNU
 ! extension:
 ! There should be a warning emitted on the call, and the reference should be
index ce0e71bd36e562ea181e877aee1ed08d7b07d73c..c7e14c0ebbea39b58ba1501cc1f7b3c9ae939774 100644 (file)
@@ -2,7 +2,7 @@
 ! PR 24945
 ! Test reopening file without status specifier or with
 ! status='unknown'. The standard says that these two must behave
-! identically, but the actual behaviour is processor dependent.
+! identically, but the actual behavior is processor dependent.
 program open_status_2
   open(10, file="f", form='unformatted', status='unknown')
   open(10, file="f", form='unformatted', status='unknown')
index 885ecb1952e121e6207bca62a811133b6f3a1489..d5b56cd3957e0891b61963bb5b1cbb149f1181dc 100644 (file)
@@ -10,7 +10,7 @@ TYPE :: dummy_atom_list
 END TYPE
 
 TYPE :: dummy_atom
-  TYPE(dummy_atom_list) :: neighbours
+  TYPE(dummy_atom_list) :: neighbors
 END TYPE
 
 TYPE :: dummy_atom_model
index f5c3108f2505691af9f0d6ab3f015abd4d5bedf9..7a298adbb96137ebf6418d9cd5805e5591b56751 100644 (file)
@@ -16,7 +16,7 @@ TYPE :: dummy_atom
 END TYPE\r
 \r
 TYPE :: dummy_atom_private\r
-  TYPE(dummy_atom_list)       :: neighbours\r
+  TYPE(dummy_atom_list)       :: neighbors\r
 END TYPE\r
 END MODULE\r
 \r
index c554894b228e78d66d6d936a89395423be1d333e..58b8f367439ca5e0f6e86d71338183bbc5b794ce 100644 (file)
@@ -18,7 +18,7 @@
 + (void) insertObject: (id)object  atIndex: (size_t)index  andObject: (id)anotherObject  atIndex: (size_t)anotherIndex __attribute__ ((nonnull (1, 3)));
 - (void) insertObject: (id)object  atIndex: (size_t)index  andObject: (id)anotherObject  atIndex: (size_t)anotherIndex __attribute__ ((nonnull (1, 3)));
 
-/* Test the behaviour with invalid code.  */
+/* Test the behavior with invalid code.  */
 + (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
 - (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
 
index e7c5fc20e4340d5a65ddec5626325c1b2be23bb2..7806d6faa361696074be50439ef66b7ed5828e5c 100644 (file)
@@ -11,9 +11,9 @@
   Functions that manipulate instances, instance variables, properties
   and protocols at the moment must take a normal class as argument;
   calling them with a meta class as argument is of no particular use
-  and generally produces a behaviour that is undocumented and/or
+  and generally produces a behavior that is undocumented and/or
   undefined (and this is true with all runtimes).  As in the future
-  this behaviour may be defined or documented (for example, if class
+  this behavior may be defined or documented (for example, if class
   variables are implemented as instance variables of meta classes) we
   avoid testing it for compatibility with future runtimes.  */
 
index 4029ce73c6463468a491c7bf8765329ad114501a..97bf84b6fc401ec11f07a5d682336eee377b3886 100644 (file)
@@ -90,14 +90,14 @@ int main ()
     /* Swap the methods.  */
     method_exchangeImplementations (method_a, method_b);
 
-    /* Check that behaviour has changed.  */
+    /* Check that behavior has changed.  */
     if ([object variable] != nil  ||  [object constant] != object)
       abort ();
 
     /* Swap the methods again.  */
     method_exchangeImplementations (method_a, method_b);
     
-    /* Check that behaviour is back to normal.  */
+    /* Check that behavior is back to normal.  */
     if ([object variable] != object  ||  [object constant] != nil)
       abort ();
   }
@@ -213,7 +213,7 @@ int main ()
     if (method_setImplementation (method_a, original_imp_b) != original_imp_a)
       abort ();
 
-    /* Check that behaviour has changed.  */
+    /* Check that behavior has changed.  */
     if ([object variable] != nil  ||  [object constant] != nil)
       abort ();
 
@@ -221,7 +221,7 @@ int main ()
     if (method_setImplementation (method_a, original_imp_a) != original_imp_b)
       abort ();
     
-    /* Check that behaviour is back to normal.  */
+    /* Check that behavior is back to normal.  */
     if ([object variable] != object  ||  [object constant] != nil)
       abort ();
   }
index 49003242d761723616d81d20c3d091b7e2bf2f52..b60d5a6ba5bda52c84d6c835ee2af604c03612ec 100644 (file)
@@ -18,7 +18,7 @@
 + (void) insertObject: (id)object  atIndex: (size_t)index  andObject: (id)anotherObject  atIndex: (size_t)anotherIndex __attribute__ ((nonnull (1, 3)));
 - (void) insertObject: (id)object  atIndex: (size_t)index  andObject: (id)anotherObject  atIndex: (size_t)anotherIndex __attribute__ ((nonnull (1, 3)));
 
-/* Test the behaviour with invalid code.  */
+/* Test the behavior with invalid code.  */
 + (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
 - (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-error "out-of-range" } */
 
index ea187b6a45a46b303ce62a75c481ee866bcb2c89..07e0ba2884ad82573033b77e2921458beac5c508 100644 (file)
@@ -11,9 +11,9 @@
   Functions that manipulate instances, instance variables, properties
   and protocols at the moment must take a normal class as argument;
   calling them with a meta class as argument is of no particular use
-  and generally produces a behaviour that is undocumented and/or
+  and generally produces a behavior that is undocumented and/or
   undefined (and this is true with all runtimes).  As in the future
-  this behaviour may be defined or documented (for example, if class
+  this behavior may be defined or documented (for example, if class
   variables are implemented as instance variables of meta classes) we
   avoid testing it for compatibility with future runtimes.  */
 
index fc447b69ff6c5df9a576d763bf444ced38a94b77..0c4fe4f0c5e1e9d12c56970ed2230447570efb4e 100644 (file)
@@ -90,14 +90,14 @@ int main(int argc, void **args)
     /* Swap the methods.  */
     method_exchangeImplementations (method_a, method_b);
 
-    /* Check that behaviour has changed.  */
+    /* Check that behavior has changed.  */
     if ([object variable] != nil  ||  [object constant] != object)
       abort ();
 
     /* Swap the methods again.  */
     method_exchangeImplementations (method_a, method_b);
     
-    /* Check that behaviour is back to normal.  */
+    /* Check that behavior is back to normal.  */
     if ([object variable] != object  ||  [object constant] != nil)
       abort ();
   }
@@ -213,7 +213,7 @@ int main(int argc, void **args)
     if (method_setImplementation (method_a, original_imp_b) != original_imp_a)
       abort ();
 
-    /* Check that behaviour has changed.  */
+    /* Check that behavior has changed.  */
     if ([object variable] != nil  ||  [object constant] != nil)
       abort ();
 
@@ -221,7 +221,7 @@ int main(int argc, void **args)
     if (method_setImplementation (method_a, original_imp_a) != original_imp_b)
       abort ();
     
-    /* Check that behaviour is back to normal.  */
+    /* Check that behavior is back to normal.  */
     if ([object variable] != object  ||  [object constant] != nil)
       abort ();
   }
index 106e07a09567709276e17c585d27a2f7ff06894c..073c1c78877c7025c086572fb867fb7a23825cf7 100644 (file)
@@ -4430,7 +4430,7 @@ expand_call_inline (basic_block bb, gimple *stmt, copy_body_data *id)
 
       if (lookup_attribute ("always_inline", DECL_ATTRIBUTES (fn))
           /* For extern inline functions that get redefined we always
-            silently ignored always_inline flag. Better behaviour would
+            silently ignored always_inline flag. Better behavior would
             be to be able to keep both bodies and use extern inline body
             for inlining, but we can't do that because frontends overwrite
             the body.  */
index 20f8466f2f6c953579dfc9e66fba146deadeceaf..5d327902c537fd9594154e0f3e5a457ed6d096af 100644 (file)
@@ -1407,7 +1407,7 @@ find_clusters_1 (same_succ *same_succ)
          if (BB_CLUSTER (bb1) != NULL && BB_CLUSTER (bb1) == BB_CLUSTER (bb2))
            continue;
 
-         /* Limit quadratic behaviour.  */
+         /* Limit quadratic behavior.  */
          nr_comparisons++;
          if (nr_comparisons > max_comparisons)
            break;
index 5d830280addf6034493e0d2e5f1f19d81c696b82..765f6f7a02a5e2a09781e788793481e61bb510b2 100644 (file)
@@ -3030,7 +3030,7 @@ vect_prune_runtime_alias_test_list (loop_vec_info loop_vinfo)
   comp_alias_ddrs.qsort (comp_dr_with_seg_len_pair);
 
   /* Third, we scan the sorted dr pairs and check if we can combine
-     alias checks of two neighbouring dr pairs.  */
+     alias checks of two neighboring dr pairs.  */
   for (size_t i = 1; i < comp_alias_ddrs.length (); ++i)
     {
       /* Deal with two ddrs (dr_a1, dr_b1) and (dr_a2, dr_b2).  */