diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2008-08-15 11:23:20 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2008-08-15 11:23:20 +0000 |
commit | e1046890e76463bf47a4876bbbd016008b5aee26 (patch) | |
tree | 9412186dc52560fbd39e2c3aab3ded52aa604ef7 /gcc/testsuite | |
parent | 0490fbb85fdf4524de7069268c0d7a8112ea3529 (diff) | |
download | gcc-e1046890e76463bf47a4876bbbd016008b5aee26.tar.gz |
pr30551-6.c: Skip for SPU.
2008-08-15 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
testsuite/
* gcc.dg/pr30551-6.c: Skip for SPU.
* gcc.dg/pr30551-3.c: Likewise.
* gcc.dg/pr30551.c: Likewise.
* g++.dg/warn/pr30551-2.C: Likewise.
* g++.dg/warn/pr30551.C: Likewise.
From-SVN: r139126
Diffstat (limited to 'gcc/testsuite')
-rw-r--r-- | gcc/testsuite/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/warn/pr30551-2.C | 2 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/warn/pr30551.C | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/pr30551-3.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/pr30551-6.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/pr30551.c | 2 |
6 files changed, 13 insertions, 5 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 94bde482635..2282f0f3708 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2008-08-15 Manuel Lopez-Ibanez <manu@gcc.gnu.org> + + * gcc.dg/pr30551-6.c: Skip for SPU. + * gcc.dg/pr30551-3.c: Likewise. + * gcc.dg/pr30551.c: Likewise. + * g++.dg/warn/pr30551-2.C: Likewise. + * g++.dg/warn/pr30551.C: Likewise. + 2008-08-14 Janus Weil <janus@gcc.gnu.org> PR fortran/36705 diff --git a/gcc/testsuite/g++.dg/warn/pr30551-2.C b/gcc/testsuite/g++.dg/warn/pr30551-2.C index 7a4b136579d..911449d7a0f 100644 --- a/gcc/testsuite/g++.dg/warn/pr30551-2.C +++ b/gcc/testsuite/g++.dg/warn/pr30551-2.C @@ -1,6 +1,6 @@ // PR 30551 -Wmain is enabled by -pedantic/-pedantic-errors. // { dg-do compile } // { dg-options "-pedantic-errors" } - +// { dg-skip-if "-Wmain not enabled with -pedantic on SPU" { spu-*-* } } int main(char a) {} /* { dg-error "error: first argument of .*main.* should be .int." } */ /* { dg-error "error: .*main.* takes only zero or two arguments" "" { target *-*-* } 5 } */ diff --git a/gcc/testsuite/g++.dg/warn/pr30551.C b/gcc/testsuite/g++.dg/warn/pr30551.C index ed9248744db..e9144d5984f 100644 --- a/gcc/testsuite/g++.dg/warn/pr30551.C +++ b/gcc/testsuite/g++.dg/warn/pr30551.C @@ -1,6 +1,6 @@ // PR 30551 -Wmain is enabled by default. // { dg-do compile } // { dg-options "" } - +// { dg-skip-if "-Wmain not enabled on SPU" { spu-*-* } } int main(char a) {} /* { dg-warning "warning: first argument of .*main.* should be .int." } */ /* { dg-warning "warning: .*main.* takes only zero or two arguments" "" { target *-*-* } 5 } */ diff --git a/gcc/testsuite/gcc.dg/pr30551-3.c b/gcc/testsuite/gcc.dg/pr30551-3.c index 120d45b8393..bc33187e50b 100644 --- a/gcc/testsuite/gcc.dg/pr30551-3.c +++ b/gcc/testsuite/gcc.dg/pr30551-3.c @@ -1,7 +1,7 @@ /* PR 30551 -Wmain is enabled by -pedantic-errors. */ /* { dg-do compile } */ /* { dg-options "-pedantic-errors" } */ - +/* { dg-skip-if "-Wmain not enabled with -pedantic on SPU" { spu-*-* } } */ void main(char a) {} /* { dg-error "first argument of .main. should be .int." } */ /* { dg-error ".main. takes only zero or two arguments" "" { target *-*-* } 5 } */ /* { dg-error "return type of .main. is not .int." "" { target *-*-* } 5 } */ diff --git a/gcc/testsuite/gcc.dg/pr30551-6.c b/gcc/testsuite/gcc.dg/pr30551-6.c index 9c33cd143dd..48824e3a9d0 100644 --- a/gcc/testsuite/gcc.dg/pr30551-6.c +++ b/gcc/testsuite/gcc.dg/pr30551-6.c @@ -1,7 +1,7 @@ /* PR 30551 -Wmain is enabled by -pedantic. */ /* { dg-do compile } */ /* { dg-options "-pedantic" } */ - +/* { dg-skip-if "-Wmain not enabled with -pedantic on SPU" { spu-*-* } } */ void main(char a) {} /* { dg-warning "first argument of .main. should be .int." } */ /* { dg-warning ".main. takes only zero or two arguments" "" { target *-*-* } 5 } */ /* { dg-warning "return type of .main. is not .int." "" { target *-*-* } 5 } */ diff --git a/gcc/testsuite/gcc.dg/pr30551.c b/gcc/testsuite/gcc.dg/pr30551.c index d6fdd8fab46..218a50ad9c6 100644 --- a/gcc/testsuite/gcc.dg/pr30551.c +++ b/gcc/testsuite/gcc.dg/pr30551.c @@ -1,7 +1,7 @@ /* PR 30551 -Wmain is enabled by -Wall. */ /* { dg-do compile } */ /* { dg-options "-Wall" } */ - +/* { dg-skip-if "-Wmain not enabled with -Wall on SPU" { spu-*-* } } */ void main(char a) {} /* { dg-warning "first argument of .main. should be .int." } */ /* { dg-warning ".main. takes only zero or two arguments" "" { target *-*-* } 5 } */ /* { dg-warning "return type of .main. is not .int." "" { target *-*-* } 5 } */ |