diff options
author | Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> | 2016-07-13 12:12:10 +0000 |
---|---|---|
committer | Senthil Kumar Selvaraj <saaadhu@gcc.gnu.org> | 2016-07-13 12:12:10 +0000 |
commit | 62c0ea4b14d5cc56b9a2a4c85f8d77f136434680 (patch) | |
tree | f054823af8fd5262735778cc1b82827b049ed44a /gcc | |
parent | 05505e9d69840ceb3fe8581c0075276902266752 (diff) | |
download | gcc-62c0ea4b14d5cc56b9a2a4c85f8d77f136434680.zip gcc-62c0ea4b14d5cc56b9a2a4c85f8d77f136434680.tar.gz gcc-62c0ea4b14d5cc56b9a2a4c85f8d77f136434680.tar.bz2 |
Fix some bogus testsuite failures for avr.
gcc/testsuite/
* c-c++-common/Wduplicated-cond-3.c (fn10): Use smaller
const literal.
* c-c++-common/builtin-arith-overflow-2.c: Skip for avr.
* c-c++-common/pr68833-1.c: Require int32plus.
* gcc.dg/ipa/pr63551.c: Likewise.
* gcc.dg/ipa/pr63595.c: Require ptr32plus.
* gcc.dg/ipa/pr64041.c: Require int32plus.
From-SVN: r238294
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 10 | ||||
-rw-r--r-- | gcc/testsuite/c-c++-common/Wduplicated-cond-3.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/c-c++-common/builtin-arith-overflow-2.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/c-c++-common/pr68833-1.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/ipa/pr63551.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/ipa/pr63595.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/ipa/pr64041.c | 1 |
7 files changed, 16 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c21469b..bccd0d8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,13 @@ +2016-07-13 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> + + * c-c++-common/Wduplicated-cond-3.c (fn10): Use smaller + const literal. + * c-c++-common/builtin-arith-overflow-2.c: Skip for avr. + * c-c++-common/pr68833-1.c: Require int32plus. + * gcc.dg/ipa/pr63551.c: Likewise. + * gcc.dg/ipa/pr63595.c: Require ptr32plus. + * gcc.dg/ipa/pr64041.c: Require int32plus. + 2016-07-13 Ilya Enkovich <ilya.enkovich@intel.com> PR ipa/71633 diff --git a/gcc/testsuite/c-c++-common/Wduplicated-cond-3.c b/gcc/testsuite/c-c++-common/Wduplicated-cond-3.c index e3b5ac0..f928357 100644 --- a/gcc/testsuite/c-c++-common/Wduplicated-cond-3.c +++ b/gcc/testsuite/c-c++-common/Wduplicated-cond-3.c @@ -187,7 +187,7 @@ int fn10 (void) { if (foo ()) - return 1732984; + return 17329; else if (foo ()) return 18409; return 0; diff --git a/gcc/testsuite/c-c++-common/builtin-arith-overflow-2.c b/gcc/testsuite/c-c++-common/builtin-arith-overflow-2.c index 4cbceff..7dd0e50 100644 --- a/gcc/testsuite/c-c++-common/builtin-arith-overflow-2.c +++ b/gcc/testsuite/c-c++-common/builtin-arith-overflow-2.c @@ -1,6 +1,7 @@ /* PR c/68120 - can't easily deal with integer overflow at compile time */ /* { dg-do run } */ /* { dg-additional-options "-Wno-long-long" } */ +/* { dg-skip-if "Program too big" { "avr-*-*" } } */ #define SCHAR_MAX __SCHAR_MAX__ #define SHRT_MAX __SHRT_MAX__ diff --git a/gcc/testsuite/c-c++-common/pr68833-1.c b/gcc/testsuite/c-c++-common/pr68833-1.c index e0601b3..c88f67e 100644 --- a/gcc/testsuite/c-c++-common/pr68833-1.c +++ b/gcc/testsuite/c-c++-common/pr68833-1.c @@ -1,6 +1,7 @@ /* PR c/68833 */ /* { dg-do compile } */ /* { dg-options "-Werror=larger-than-65536 -Werror=format -Werror=missing-noreturn" } */ +/* { dg-require-effective-target int32plus } */ int a[131072]; /* { dg-error "size of 'a' is \[1-9]\[0-9]* bytes" } */ int b[1024]; /* { dg-bogus "size of 'b' is \[1-9]\[0-9]* bytes" } */ diff --git a/gcc/testsuite/gcc.dg/ipa/pr63551.c b/gcc/testsuite/gcc.dg/ipa/pr63551.c index 48b020a..225e323 100644 --- a/gcc/testsuite/gcc.dg/ipa/pr63551.c +++ b/gcc/testsuite/gcc.dg/ipa/pr63551.c @@ -1,5 +1,6 @@ /* { dg-do run } */ /* { dg-options "-Os" } */ +/* { dg-require-effective-target int32plus } */ union U { diff --git a/gcc/testsuite/gcc.dg/ipa/pr63595.c b/gcc/testsuite/gcc.dg/ipa/pr63595.c index d656de5..ee48934 100644 --- a/gcc/testsuite/gcc.dg/ipa/pr63595.c +++ b/gcc/testsuite/gcc.dg/ipa/pr63595.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2 -fdump-ipa-icf-details" } */ +/* { dg-require-effective-target ptr32plus } */ typedef int size_t; diff --git a/gcc/testsuite/gcc.dg/ipa/pr64041.c b/gcc/testsuite/gcc.dg/ipa/pr64041.c index 4877b4b..18e0168 100644 --- a/gcc/testsuite/gcc.dg/ipa/pr64041.c +++ b/gcc/testsuite/gcc.dg/ipa/pr64041.c @@ -1,5 +1,6 @@ /* { dg-do run } */ /* { dg-options "-O2" } */ +/* { dg-require-effective-target int32plus } */ int printf (const char *, ...); |