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:
parent
cad10e055f
commit
1d5f3021c1
|
@ -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
|
||||
|
|
|
@ -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 } } */
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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; };
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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" } */
|
||||
|
|
|
@ -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). */
|
||||
|
|
|
@ -67,7 +67,7 @@ worker (void* data)
|
|||
of the main loop our area should be the same as it is now - i.e. 0. */
|
||||
|
||||
/* Push the arithmetic section up to 128 - one of the threads will
|
||||
case this to carry accross the 32bit boundary. */
|
||||
case this to carry across the 32bit boundary. */
|
||||
for (tmp2 = 0; tmp2 < 64; tmp2++)
|
||||
{
|
||||
/* Add 2 using the two different adds. */
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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-*-* } } */
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -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. */
|
||||
|
||||
|
|
|
@ -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*-*-* } } */
|
||||
|
||||
|
|
|
@ -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) \
|
||||
|
|
|
@ -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" } } */
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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" } } */
|
||||
|
|
|
@ -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" } } */
|
||||
|
|
|
@ -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))
|
||||
|
|
|
@ -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" } } */
|
||||
|
|
|
@ -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" } */
|
||||
|
|
|
@ -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*-*-*" } } } } */
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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} } }
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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))
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue