From 1d5f3021c1cd6565f62bf7fb47ad5b60aea3ccf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20B=C3=ADlka?= Date: Sun, 21 Jul 2013 16:17:52 +0000 Subject: [PATCH] pr41779.c: Fix typos. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2013-07-21 Ondřej Bílka * c-c++-common/pr41779.c: Fix typos. * gcc.c-torture/compile/20031125-2.c: Likewise. * gcc.c-torture/compile/20040621-1.c: Likewise. * gcc.c-torture/execute/20020418-1.c: Likewise. * gcc.dg/20020108-1.c: Likewise. * gcc.dg/atomic-generic-aux.c: Likewise. * gcc.dg/builtin-complex-err-2.c: Likewise. * gcc.dg/decl-1.c: Likewise. * gcc.dg/di-sync-multithread.c: Likewise. * gcc.dg/format/c90-printf-1.c: Likewise. * gcc.dg/format/ms_c90-printf-1.c: Likewise. * gcc.dg/long-long-compare-1.c: Likewise. * gcc.dg/plugin/start_unit_plugin.c: Likewise. * gcc.dg/pr17055-1.c: Likewise. * gcc.dg/pr27095.c: Likewise. * gcc.dg/torture/fp-int-convert.h: Likewise. * gcc.dg/tree-prof/inliner-1.c: Likewise. * gcc.dg/tree-ssa/20030731-1.c: Likewise. * gcc.dg/tree-ssa/forwprop-6.c: Likewise. * gcc.dg/tree-ssa/ipa-cp-1.c: Likewise. * gcc.dg/tree-ssa/loop-19.c: Likewise. * gcc.dg/tree-ssa/loop-1.c: Likewise. * gcc.dg/tree-ssa/pr21001.c: Likewise. * gcc.dg/tree-ssa/pr42585.c: Likewise. * gcc.dg/tree-ssa/ssa-dse-5.c: Likewise. * gcc.dg/vect/vect-cond-5.c: Likewise. * gcc.dg/weak/typeof-2.c: Likewise. * gcc.target/aarch64/aapcs64/abitest-common.h: Likewise. * gcc.target/arm/naked-1.c: Likewise. * gcc.target/i386/pr9771-1.c: Likewise. * gcc.target/sparc/sparc-constant-1.c: Likewise. * gcc.target/sparc/struct-ret-check.c: Likewise. * gcc.target/x86_64/abi/test_struct_returning.c: Likewise. * gfortran.dg/c_ptr_tests_8_funcs.c: Likewise. * objc-obj-c++-shared/objc-test-suite-next-encode-assist-impl.h: Likewise. From-SVN: r201098 --- gcc/testsuite/ChangeLog | 38 +++++++++++++++++++ gcc/testsuite/c-c++-common/pr41779.c | 2 +- .../gcc.c-torture/compile/20031125-2.c | 2 +- .../gcc.c-torture/compile/20040621-1.c | 2 +- .../gcc.c-torture/execute/20020418-1.c | 2 +- gcc/testsuite/gcc.dg/20020108-1.c | 2 +- gcc/testsuite/gcc.dg/atomic-generic-aux.c | 2 +- gcc/testsuite/gcc.dg/builtin-complex-err-2.c | 2 +- gcc/testsuite/gcc.dg/decl-1.c | 2 +- gcc/testsuite/gcc.dg/di-sync-multithread.c | 4 +- gcc/testsuite/gcc.dg/format/c90-printf-1.c | 2 +- gcc/testsuite/gcc.dg/format/ms_c90-printf-1.c | 2 +- gcc/testsuite/gcc.dg/long-long-compare-1.c | 2 +- .../gcc.dg/plugin/start_unit_plugin.c | 2 +- gcc/testsuite/gcc.dg/pr17055-1.c | 2 +- gcc/testsuite/gcc.dg/pr27095.c | 2 +- gcc/testsuite/gcc.dg/torture/fp-int-convert.h | 2 +- gcc/testsuite/gcc.dg/tree-prof/inliner-1.c | 2 +- gcc/testsuite/gcc.dg/tree-ssa/20030731-1.c | 2 +- gcc/testsuite/gcc.dg/tree-ssa/forwprop-6.c | 2 +- gcc/testsuite/gcc.dg/tree-ssa/ipa-cp-1.c | 2 +- gcc/testsuite/gcc.dg/tree-ssa/loop-1.c | 2 +- gcc/testsuite/gcc.dg/tree-ssa/loop-19.c | 2 +- gcc/testsuite/gcc.dg/tree-ssa/pr21001.c | 2 +- gcc/testsuite/gcc.dg/tree-ssa/pr42585.c | 2 +- gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-5.c | 2 +- gcc/testsuite/gcc.dg/vect/vect-cond-5.c | 2 +- gcc/testsuite/gcc.dg/weak/typeof-2.c | 2 +- .../aarch64/aapcs64/abitest-common.h | 2 +- gcc/testsuite/gcc.target/arm/naked-1.c | 2 +- gcc/testsuite/gcc.target/i386/pr9771-1.c | 2 +- .../gcc.target/sparc/sparc-constant-1.c | 2 +- .../gcc.target/sparc/struct-ret-check.c | 2 +- .../x86_64/abi/test_struct_returning.c | 2 +- .../gfortran.dg/c_ptr_tests_8_funcs.c | 2 +- 35 files changed, 73 insertions(+), 35 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3580ff389bc..4d4ba1d5ccf 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,41 @@ +2013-07-21 Ondřej Bílka + + * c-c++-common/pr41779.c: Fix typos. + * gcc.c-torture/compile/20031125-2.c: Likewise. + * gcc.c-torture/compile/20040621-1.c: Likewise. + * gcc.c-torture/execute/20020418-1.c: Likewise. + * gcc.dg/20020108-1.c: Likewise. + * gcc.dg/atomic-generic-aux.c: Likewise. + * gcc.dg/builtin-complex-err-2.c: Likewise. + * gcc.dg/decl-1.c: Likewise. + * gcc.dg/di-sync-multithread.c: Likewise. + * gcc.dg/format/c90-printf-1.c: Likewise. + * gcc.dg/format/ms_c90-printf-1.c: Likewise. + * gcc.dg/long-long-compare-1.c: Likewise. + * gcc.dg/plugin/start_unit_plugin.c: Likewise. + * gcc.dg/pr17055-1.c: Likewise. + * gcc.dg/pr27095.c: Likewise. + * gcc.dg/torture/fp-int-convert.h: Likewise. + * gcc.dg/tree-prof/inliner-1.c: Likewise. + * gcc.dg/tree-ssa/20030731-1.c: Likewise. + * gcc.dg/tree-ssa/forwprop-6.c: Likewise. + * gcc.dg/tree-ssa/ipa-cp-1.c: Likewise. + * gcc.dg/tree-ssa/loop-19.c: Likewise. + * gcc.dg/tree-ssa/loop-1.c: Likewise. + * gcc.dg/tree-ssa/pr21001.c: Likewise. + * gcc.dg/tree-ssa/pr42585.c: Likewise. + * gcc.dg/tree-ssa/ssa-dse-5.c: Likewise. + * gcc.dg/vect/vect-cond-5.c: Likewise. + * gcc.dg/weak/typeof-2.c: Likewise. + * gcc.target/aarch64/aapcs64/abitest-common.h: Likewise. + * gcc.target/arm/naked-1.c: Likewise. + * gcc.target/i386/pr9771-1.c: Likewise. + * gcc.target/sparc/sparc-constant-1.c: Likewise. + * gcc.target/sparc/struct-ret-check.c: Likewise. + * gcc.target/x86_64/abi/test_struct_returning.c: Likewise. + * gfortran.dg/c_ptr_tests_8_funcs.c: Likewise. + * objc-obj-c++-shared/objc-test-suite-next-encode-assist-impl.h: Likewise. + 2013-07-21 Thomas Koenig PR fortran/56937 diff --git a/gcc/testsuite/c-c++-common/pr41779.c b/gcc/testsuite/c-c++-common/pr41779.c index 80c8e6b1ddd..f80412c3a9f 100644 --- a/gcc/testsuite/c-c++-common/pr41779.c +++ b/gcc/testsuite/c-c++-common/pr41779.c @@ -1,4 +1,4 @@ -/* PR41779: Wconversion cannot see throught real*integer promotions. */ +/* PR41779: Wconversion cannot see thought real*integer promotions. */ /* { dg-do compile } */ /* { dg-skip-if "doubles are floats" { "avr-*-*" } { "*" } { "" } } */ /* { dg-options "-std=c99 -Wconversion" { target c } } */ diff --git a/gcc/testsuite/gcc.c-torture/compile/20031125-2.c b/gcc/testsuite/gcc.c-torture/compile/20031125-2.c index 42b72480e6a..fc16051a2d0 100644 --- a/gcc/testsuite/gcc.c-torture/compile/20031125-2.c +++ b/gcc/testsuite/gcc.c-torture/compile/20031125-2.c @@ -1,7 +1,7 @@ struct BlobSpan { int right; }; -/* This test makes sure we don't accidently cause a bad insertion to occur +/* This test makes sure we don't accidentally cause a bad insertion to occur by choosing the wrong variable name so that we end up with a use not dominated by a def. */ void render_blob_line(struct BlobSpan blobdata) { diff --git a/gcc/testsuite/gcc.c-torture/compile/20040621-1.c b/gcc/testsuite/gcc.c-torture/compile/20040621-1.c index 8a2ebb07ecd..cefa9cedf68 100644 --- a/gcc/testsuite/gcc.c-torture/compile/20040621-1.c +++ b/gcc/testsuite/gcc.c-torture/compile/20040621-1.c @@ -1,4 +1,4 @@ -/* This test woudl cause partial redundancies too complex for PRE +/* This test would cause partial redundancies too complex for PRE to insert using a single temporary due to them not being GIMPLE expressions. */ int ssbgst (int c, int k) diff --git a/gcc/testsuite/gcc.c-torture/execute/20020418-1.c b/gcc/testsuite/gcc.c-torture/execute/20020418-1.c index 953f96e86ae..4826ca88664 100644 --- a/gcc/testsuite/gcc.c-torture/execute/20020418-1.c +++ b/gcc/testsuite/gcc.c-torture/execute/20020418-1.c @@ -1,4 +1,4 @@ -/* ifcvt accidently deletes a referenced label while generating +/* ifcvt accidentally deletes a referenced label while generating conditional traps on machines having such patterns */ struct foo { int a; }; diff --git a/gcc/testsuite/gcc.dg/20020108-1.c b/gcc/testsuite/gcc.dg/20020108-1.c index 579a2285296..89ffcaa12b9 100644 --- a/gcc/testsuite/gcc.dg/20020108-1.c +++ b/gcc/testsuite/gcc.dg/20020108-1.c @@ -1,7 +1,7 @@ /* This testcase failed on i686 because (const_int -1) was changed into (const_int 0xffff) when storing it into SImode pseudo, but was not converted back to (const_int -1) when returning from store_expr, - eventhough target was (subreg:HI (reg/v:SI indx)). But (const_int 0xffff) + even though target was (subreg:HI (reg/v:SI indx)). But (const_int 0xffff) is not valid general_operand in HImode. */ /* { dg-do compile } */ /* { dg-options "-O2" } */ diff --git a/gcc/testsuite/gcc.dg/atomic-generic-aux.c b/gcc/testsuite/gcc.dg/atomic-generic-aux.c index 2f4cb2a88f7..73e1ed85393 100644 --- a/gcc/testsuite/gcc.dg/atomic-generic-aux.c +++ b/gcc/testsuite/gcc.dg/atomic-generic-aux.c @@ -20,7 +20,7 @@ __atomic_exchange (size_t size, void *obj, void *val, void *ret, int model) /* Note that the external version of this routine has the boolean weak/strong - parameter removed. This is required by teh external library. */ + parameter removed. This is required by the external library. */ bool __atomic_compare_exchange (size_t size, void *obj, void *expected, void *desired, int model1, int model2) diff --git a/gcc/testsuite/gcc.dg/builtin-complex-err-2.c b/gcc/testsuite/gcc.dg/builtin-complex-err-2.c index c285b2a0aa3..be5ff65fdab 100644 --- a/gcc/testsuite/gcc.dg/builtin-complex-err-2.c +++ b/gcc/testsuite/gcc.dg/builtin-complex-err-2.c @@ -1,4 +1,4 @@ -/* Test __builtin_complex errors. Verify it does nto allow quiet +/* Test __builtin_complex errors. Verify it does not allow quiet creation of complex types in C90. */ /* { dg-do compile } */ /* { dg-options "-std=c90 -pedantic-errors" } */ diff --git a/gcc/testsuite/gcc.dg/decl-1.c b/gcc/testsuite/gcc.dg/decl-1.c index bfbc9fb5326..348bb92eb81 100644 --- a/gcc/testsuite/gcc.dg/decl-1.c +++ b/gcc/testsuite/gcc.dg/decl-1.c @@ -3,7 +3,7 @@ Source: Neil Booth, 12 Feb 2002. In the declaration of proc, x must be parsed as a typedef name (C99 - 6.7.5.3 p11. Also see C89 DR #009, which was erroneously ommitted + 6.7.5.3 p11. Also see C89 DR #009, which was erroneously omitted from C99, and resubmitted as DR #249: if in a parameter declaration, an identifier can be read as a typedef name or a paramter name, it is read as a typedef name). */ diff --git a/gcc/testsuite/gcc.dg/di-sync-multithread.c b/gcc/testsuite/gcc.dg/di-sync-multithread.c index c786ff1df5f..493f1e27201 100644 --- a/gcc/testsuite/gcc.dg/di-sync-multithread.c +++ b/gcc/testsuite/gcc.dg/di-sync-multithread.c @@ -66,8 +66,8 @@ worker (void* data) /* OK, lets try and do some stuff to the workspace - by the end of the main loop our area should be the same as it is now - i.e. 0. */ - /* Push the arithmetic section upto 128 - one of the threads will - case this to carry accross the 32bit boundary. */ + /* Push the arithmetic section up to 128 - one of the threads will + case this to carry across the 32bit boundary. */ for (tmp2 = 0; tmp2 < 64; tmp2++) { /* Add 2 using the two different adds. */ diff --git a/gcc/testsuite/gcc.dg/format/c90-printf-1.c b/gcc/testsuite/gcc.dg/format/c90-printf-1.c index 586e4af6a54..93b7f80a162 100644 --- a/gcc/testsuite/gcc.dg/format/c90-printf-1.c +++ b/gcc/testsuite/gcc.dg/format/c90-printf-1.c @@ -209,7 +209,7 @@ foo (int i, int i1, int i2, unsigned int u, double d, char *s, void *p, */ printf ("%s", p); /* { dg-warning "format" "bad argument types" } */ /* The historical behavior is to allow signed / unsigned types - interchangably as arguments. For values representable in both types, + interchangeably as arguments. For values representable in both types, such usage may be correct. For now preserve the behavior of GCC in such cases. */ diff --git a/gcc/testsuite/gcc.dg/format/ms_c90-printf-1.c b/gcc/testsuite/gcc.dg/format/ms_c90-printf-1.c index cce2342a565..d2c839f615a 100644 --- a/gcc/testsuite/gcc.dg/format/ms_c90-printf-1.c +++ b/gcc/testsuite/gcc.dg/format/ms_c90-printf-1.c @@ -161,7 +161,7 @@ foo (int i, int i1, int i2, unsigned int u, double d, char *s, void *p, */ printf ("%s", p); /* { dg-warning "format" "bad argument types" } */ /* The historical behavior is to allow signed / unsigned types - interchangably as arguments. For values representable in both types, + interchangeably as arguments. For values representable in both types, such usage may be correct. For now preserve the behavior of GCC in such cases. */ diff --git a/gcc/testsuite/gcc.dg/long-long-compare-1.c b/gcc/testsuite/gcc.dg/long-long-compare-1.c index c650cb18d2b..2c378602072 100644 --- a/gcc/testsuite/gcc.dg/long-long-compare-1.c +++ b/gcc/testsuite/gcc.dg/long-long-compare-1.c @@ -1,5 +1,5 @@ /* Problem only noticed on SH for -mcbranchdi DImode comparison with constants. - * Target dependant failure but test valid for alls. */ + * Target dependent failure but test valid for alls. */ /* { dg-do run } */ /* { dg-options "-O0" } */ /* { dg-options "-O0 -mcbranchdi" { target sh4-*-* } } */ diff --git a/gcc/testsuite/gcc.dg/plugin/start_unit_plugin.c b/gcc/testsuite/gcc.dg/plugin/start_unit_plugin.c index 5b16e84a432..852ab88bfc7 100644 --- a/gcc/testsuite/gcc.dg/plugin/start_unit_plugin.c +++ b/gcc/testsuite/gcc.dg/plugin/start_unit_plugin.c @@ -1,7 +1,7 @@ /* This plugin tests the correct operation of a PLUGIN_START_UNIT callback. * By the time a PLUGIN_START_UNIT callback is invoked, the frontend * initialization should have completed. At least the different *_type_nodes - * should have been created. This plugin creates an artifical global + * should have been created. This plugin creates an artificial global * interger variable. * */ diff --git a/gcc/testsuite/gcc.dg/pr17055-1.c b/gcc/testsuite/gcc.dg/pr17055-1.c index d550076d6bd..31037ab2663 100644 --- a/gcc/testsuite/gcc.dg/pr17055-1.c +++ b/gcc/testsuite/gcc.dg/pr17055-1.c @@ -3,7 +3,7 @@ /* { dg-options "-O2 -ffast-math" } */ /* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */ -/* This test used to abort, beacuse we do an "integer" fold to zero, i.e. +/* This test used to abort, because we do an "integer" fold to zero, i.e. x - x = (T)0 where T is the type of x. Unfortunately, fold_convert was unable to convert integer_zero_node to the appropriate vector type. */ diff --git a/gcc/testsuite/gcc.dg/pr27095.c b/gcc/testsuite/gcc.dg/pr27095.c index b88d390731e..3fb490924a8 100644 --- a/gcc/testsuite/gcc.dg/pr27095.c +++ b/gcc/testsuite/gcc.dg/pr27095.c @@ -2,7 +2,7 @@ /* { dg-options "-O2" } */ /* On MIPS, disable generating hints (R_MIPS_JALR) for PIC calls. In addition - to the load from the GOT this also contains the name of the funtion so for + to the load from the GOT this also contains the name of the function so for each call the function name would appear twice. */ /* { dg-options "-O2 -mno-relax-pic-calls" { target mips*-*-* } } */ diff --git a/gcc/testsuite/gcc.dg/torture/fp-int-convert.h b/gcc/testsuite/gcc.dg/torture/fp-int-convert.h index 61d2c0199f2..8ac9c3de1ac 100644 --- a/gcc/testsuite/gcc.dg/torture/fp-int-convert.h +++ b/gcc/testsuite/gcc.dg/torture/fp-int-convert.h @@ -19,7 +19,7 @@ typedef unsigned long UTItype; and unsigned integer types I and U and the floating-point type F, where P is the binary precision of the floating point type. We test conversions of the values 0, 1, 0x7...f, 0x8...0, 0xf...f. We - also test conversions of values half way inbetween two + also test conversions of values half way between two representable values (rounding both ways), just above half way, and just below half way. */ #define TEST_I_F(I, U, F, P) \ diff --git a/gcc/testsuite/gcc.dg/tree-prof/inliner-1.c b/gcc/testsuite/gcc.dg/tree-prof/inliner-1.c index b5340b56d74..e44887b529e 100644 --- a/gcc/testsuite/gcc.dg/tree-prof/inliner-1.c +++ b/gcc/testsuite/gcc.dg/tree-prof/inliner-1.c @@ -36,7 +36,7 @@ main () /* cold function should be inlined, while hot function should not. Look for "cold_function () [tail call];" call statement not for the - declaration or other apperances of the string in dump. */ + declaration or other appearances of the string in dump. */ /* { dg-final-use { scan-tree-dump "cold_function ..;" "optimized"} } */ /* { dg-final-use { scan-tree-dump-not "hot_function ..;" "optimized"} } */ /* { dg-final-use { cleanup-tree-dump "optimized" } } */ diff --git a/gcc/testsuite/gcc.dg/tree-ssa/20030731-1.c b/gcc/testsuite/gcc.dg/tree-ssa/20030731-1.c index a16f49dbb21..f90acd078ec 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/20030731-1.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/20030731-1.c @@ -56,7 +56,7 @@ store_expr (exp, target, want_value) ; } -/* All paths to the test "target != 0" occuring in the final IF statement +/* All paths to the test "target != 0" occurring in the final IF statement dereference target. Thus target can not have the value zero at that point and the test should have been eliminated. */ /* ??? The dominator walker (A) doesn't merge this data at joins and diff --git a/gcc/testsuite/gcc.dg/tree-ssa/forwprop-6.c b/gcc/testsuite/gcc.dg/tree-ssa/forwprop-6.c index a7a4a41d876..4106b33162e 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/forwprop-6.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/forwprop-6.c @@ -22,7 +22,7 @@ void f(void) particular situation before doing this transformation we have to assure that a is killed by a dominating store via type float for it to be valid. Then we might as well handle the situation by - value-numbering, removing the load alltogether. + value-numbering, removing the load altogether. ??? We now do this after CPP re-writes a into SSA form. */ /* { dg-final { scan-tree-dump-times "VIEW_CONVERT_EXPR" 1 "forwprop1" } } */ /* { dg-final { cleanup-tree-dump "forwprop1" } } */ diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ipa-cp-1.c b/gcc/testsuite/gcc.dg/tree-ssa/ipa-cp-1.c index 26b433823ac..5d087aa45dd 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/ipa-cp-1.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/ipa-cp-1.c @@ -15,6 +15,6 @@ blah () { very_long_function (1); } -/* One appereance for dump, one self recursive call and one call from main. */ +/* One appearance for dump, one self recursive call and one call from main. */ /* { dg-final { scan-tree-dump-times "very_long_function.constprop.0 \\(\\)" 3 "optimized"} } */ /* { dg-final { cleanup-tree-dump "optimized" } } */ diff --git a/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c b/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c index 81178ae4c6e..91220d80cea 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c @@ -14,7 +14,7 @@ /* { dg-options "-O1 -ftree-loop-ivcanon -funroll-loops -fdump-tree-ivcanon-details -fdump-tree-cunroll-details -fdump-tree-optimized -static" { target *-*-darwin* } } */ /* On MIPS, disable generating hints (R_MIPS_JALR) for PIC calls. In addition - to the load from the GOT this also contains the name of the funtion so for + to the load from the GOT this also contains the name of the function so for each call the function name would appear twice. */ /* { dg-options "-O1 -ftree-loop-ivcanon -funroll-loops -fdump-tree-ivcanon-details -fdump-tree-cunroll-details -fdump-tree-optimized -mno-relax-pic-calls" { target mips*-*-* } } */ __attribute__ ((pure)) diff --git a/gcc/testsuite/gcc.dg/tree-ssa/loop-19.c b/gcc/testsuite/gcc.dg/tree-ssa/loop-19.c index d2be166539a..74b60a054b7 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/loop-19.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/loop-19.c @@ -20,7 +20,7 @@ void tuned_STREAM_Copy() /* Check that the memory references are based on &a and &c, with appropriate offsets. Ideally, we would want each of them to appear once in the output. However, due to a bug in jump threading, we end up peeling one iteration from - the loop, which creates an additional occurence. */ + the loop, which creates an additional occurrence. */ /* { dg-final { scan-tree-dump-times "MEM.(base: &|symbol: )a," 2 "optimized" } } */ /* { dg-final { scan-tree-dump-times "MEM.(base: &|symbol: )c," 2 "optimized" } } */ diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr21001.c b/gcc/testsuite/gcc.dg/tree-ssa/pr21001.c index 84280b39ccb..888d609aea4 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/pr21001.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/pr21001.c @@ -2,7 +2,7 @@ VRP did not insert ASSERT_EXPRs when the variable tested in a COND_EXPR is a single-use variable. By propagating the definition of the single-use variable into the COND_EXPR, we can get useful - range infomation out of the conditional. */ + range information out of the conditional. */ /* { dg-do compile } */ /* { dg-options "-O2 -fno-tree-dominator-opts -fdump-tree-vrp1-details" } */ diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr42585.c b/gcc/testsuite/gcc.dg/tree-ssa/pr42585.c index 520c357a3ad..f3d8459cc7d 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/pr42585.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/pr42585.c @@ -33,7 +33,7 @@ Cyc_string_ungetc (int ignore, struct _fat_ptr *sptr) /* The local aggregates . */ /* Whether the structs are totally scalarized or not depends on the - MOVE_RATIO macro defintion in the back end. The scalarization will + MOVE_RATIO macro definition in the back end. The scalarization will not take place when using small values for MOVE_RATIO. */ /* { dg-final { scan-tree-dump-times "struct _fat_ptr _ans" 0 "optimized" { target { ! "arm*-*-* powerpc*-*-* s390*-*-* sh*-*-*" } } } } */ /* { dg-final { scan-tree-dump-times "struct _fat_ptr _T2" 0 "optimized" { target { ! "arm*-*-* powerpc*-*-* s390*-*-* sh*-*-*" } } } } */ diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-5.c b/gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-5.c index 537a5e57b84..76e2004b0eb 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-5.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-5.c @@ -12,7 +12,7 @@ f1 (int i, int j, int k) x = j; } -/* The assignment "i = 3" is partialy dead. Our DSE pass doesn't handle +/* The assignment "i = 3" is partially dead. Our DSE pass doesn't handle detection of partially dead assignments. There's two outputs which would indicate that the optimization was diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-5.c b/gcc/testsuite/gcc.dg/vect/vect-cond-5.c index 8d28a45ce4c..e8adedbe411 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-5.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-5.c @@ -53,7 +53,7 @@ int main () return 0; } -/* Double reduction with cond_expr is not supported, since eventhough the order +/* Double reduction with cond_expr is not supported, since even though the order of computation is the same, but vector results should be reduced to scalar result, which can'be done for cond_expr. */ /* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 1 "vect" { xfail *-*-* } } } */ diff --git a/gcc/testsuite/gcc.dg/weak/typeof-2.c b/gcc/testsuite/gcc.dg/weak/typeof-2.c index d13235fd972..45a12ebf918 100644 --- a/gcc/testsuite/gcc.dg/weak/typeof-2.c +++ b/gcc/testsuite/gcc.dg/weak/typeof-2.c @@ -33,7 +33,7 @@ int bar3 (int x) // { dg-final { scan-assembler "baz2" } } // { dg-final { scan-assembler-not "baz2.*baz2.*baz2.*baz2.*baz2.*baz2" } } // { dg-final { scan-assembler-not "foo3" } } -// SH targets put the funtion address into a constant pool and / or register, +// SH targets put the function address into a constant pool and / or register, // so it does not appear repeated (as much as expected) in the assembler. // { dg-final { global target_triplet } } // { dg-final { if [string match sh-*-* $target_triplet ] {return} } } diff --git a/gcc/testsuite/gcc.target/aarch64/aapcs64/abitest-common.h b/gcc/testsuite/gcc.target/aarch64/aapcs64/abitest-common.h index c749a42a2e4..4e2ef0dace8 100644 --- a/gcc/testsuite/gcc.target/aarch64/aapcs64/abitest-common.h +++ b/gcc/testsuite/gcc.target/aarch64/aapcs64/abitest-common.h @@ -86,7 +86,7 @@ extern void dumpregs () __asm("myfunc"); #ifdef RUNTIME_ENDIANNESS_CHECK #ifndef RUNTIME_ENDIANNESS_CHECK_FUNCTION_DEFINED -/* This helper funtion defined to detect whether there is any incompatibility +/* This helper function defined to detect whether there is any incompatibility issue on endianness between compilation time and run-time environments. TODO: review the implementation when the work of big-endian support in A64 GCC starts. diff --git a/gcc/testsuite/gcc.target/arm/naked-1.c b/gcc/testsuite/gcc.target/arm/naked-1.c index 8f9ff711a5e..fefffae8123 100644 --- a/gcc/testsuite/gcc.target/arm/naked-1.c +++ b/gcc/testsuite/gcc.target/arm/naked-1.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-O0" } */ /* Check that function arguments aren't assigned and copied to stack slots - in naked functions. This ususally happens at -O0 (presumably for + in naked functions. This usually happens at -O0 (presumably for better debugging), but is highly undesirable if we haven't created a stack frame. */ void __attribute__((naked)) diff --git a/gcc/testsuite/gcc.target/i386/pr9771-1.c b/gcc/testsuite/gcc.target/i386/pr9771-1.c index 38586fe9725..520259c965c 100644 --- a/gcc/testsuite/gcc.target/i386/pr9771-1.c +++ b/gcc/testsuite/gcc.target/i386/pr9771-1.c @@ -28,7 +28,7 @@ void foo() *adr = save; } -/* This must not be inlined becuase main() requires the frame pointer +/* This must not be inlined because main() requires the frame pointer for stack alignment. */ void test(void) __attribute__((noinline)); void test(void) diff --git a/gcc/testsuite/gcc.target/sparc/sparc-constant-1.c b/gcc/testsuite/gcc.target/sparc/sparc-constant-1.c index 491f9d3f8b0..a882ffbf372 100644 --- a/gcc/testsuite/gcc.target/sparc/sparc-constant-1.c +++ b/gcc/testsuite/gcc.target/sparc/sparc-constant-1.c @@ -3,7 +3,7 @@ /* { dg-do compile } */ /* Verify that adding the constant 4096 is turned - into substracting the constant -4096. */ + into subtracting the constant -4096. */ int foo(int a) { diff --git a/gcc/testsuite/gcc.target/sparc/struct-ret-check.c b/gcc/testsuite/gcc.target/sparc/struct-ret-check.c index 350224eb667..00307fe2978 100644 --- a/gcc/testsuite/gcc.target/sparc/struct-ret-check.c +++ b/gcc/testsuite/gcc.target/sparc/struct-ret-check.c @@ -96,7 +96,7 @@ int main (void) /* If the caller does an unconditional adjustment it will skip the mov, and then we can fail the test based on check's value We pass a valid pointer to a save area in order to check if - caller incorrectly wrote to the save area aswell. There may + caller incorrectly wrote to the save area as well. There may be a case where the unimp check and skip is correct, but the write to the save area still occurs. */ diff --git a/gcc/testsuite/gcc.target/x86_64/abi/test_struct_returning.c b/gcc/testsuite/gcc.target/x86_64/abi/test_struct_returning.c index ef8d3290483..2881f8ec856 100644 --- a/gcc/testsuite/gcc.target/x86_64/abi/test_struct_returning.c +++ b/gcc/testsuite/gcc.target/x86_64/abi/test_struct_returning.c @@ -190,7 +190,7 @@ void check_all (Type class, unsigned long size) is given to the f_* functions, otherwise a conforming program could notice the struct changing already before the function returns. This temporary struct could be anywhere. For GCC it will be on - stack, but noone is forbidding that it could be a static variable + stack, but no one is forbidding that it could be a static variable if there's no threading or proper locking. Nobody in his right mind will not use the stack for that. */ case MEM: assert (*(unsigned char*)struct_addr == 42 && rdi == rax); break; diff --git a/gcc/testsuite/gfortran.dg/c_ptr_tests_8_funcs.c b/gcc/testsuite/gfortran.dg/c_ptr_tests_8_funcs.c index 2ad01211658..dceec33063c 100644 --- a/gcc/testsuite/gfortran.dg/c_ptr_tests_8_funcs.c +++ b/gcc/testsuite/gfortran.dg/c_ptr_tests_8_funcs.c @@ -1,4 +1,4 @@ -/* This file provides auxilliary functions for c_ptr_tests_8. */ +/* This file provides auxiliary functions for c_ptr_tests_8. */ #include #include