pr41779.c: Fix typos.

2013-07-21   Ondřej Bílka  <neleai@seznam.cz>

	* 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
This commit is contained in:
Ondřej Bílka 2013-07-21 16:17:52 +00:00 committed by Mike Stump
parent cad10e055f
commit 1d5f3021c1
35 changed files with 73 additions and 35 deletions

View File

@ -1,3 +1,41 @@
2013-07-21 Ondřej Bílka <neleai@seznam.cz>
* 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 <tkoenig@gcc.gnu.org>
PR fortran/56937

View File

@ -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 } } */

View File

@ -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) {

View File

@ -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)

View File

@ -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; };

View File

@ -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" } */

View File

@ -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)

View File

@ -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" } */

View File

@ -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). */

View File

@ -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. */

View File

@ -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.
*/

View File

@ -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.
*/

View File

@ -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-*-* } } */

View File

@ -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.
*
*/

View File

@ -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. */

View File

@ -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*-*-* } } */

View File

@ -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) \

View File

@ -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" } } */

View File

@ -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

View File

@ -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" } } */

View File

@ -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" } } */

View File

@ -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))

View File

@ -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" } } */

View File

@ -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" } */

View File

@ -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*-*-*" } } } } */

View File

@ -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

View File

@ -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 *-*-* } } } */

View File

@ -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} } }

View File

@ -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.

View File

@ -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))

View File

@ -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)

View File

@ -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)
{

View File

@ -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. */

View File

@ -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;

View File

@ -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 <stdio.h>
#include <stdlib.h>