Fix some bogus testsuite failures for avr.
authorSenthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
Wed, 13 Jul 2016 12:12:10 +0000 (12:12 +0000)
committerSenthil Kumar Selvaraj <saaadhu@gcc.gnu.org>
Wed, 13 Jul 2016 12:12:10 +0000 (12:12 +0000)
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

gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/Wduplicated-cond-3.c
gcc/testsuite/c-c++-common/builtin-arith-overflow-2.c
gcc/testsuite/c-c++-common/pr68833-1.c
gcc/testsuite/gcc.dg/ipa/pr63551.c
gcc/testsuite/gcc.dg/ipa/pr63595.c
gcc/testsuite/gcc.dg/ipa/pr64041.c

index c21469b6b94688be0bcd0d3d2998540fa4ad9213..bccd0d8e9564746ecdb5f73d0abcf85443f47700 100644 (file)
@@ -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
index e3b5ac0cc8bcd2225bcc915c8f1b7cccae5fc52c..f928357aec42b9b5a970dad8af17ca7116a8d678 100644 (file)
@@ -187,7 +187,7 @@ int
 fn10 (void)
 {
   if (foo ())
-    return 1732984;
+    return 17329;
   else if (foo ())
     return 18409;
   return 0;
index 4cbceff3ed2fdc32c31127bd28d948e5dd5325c0..7dd0e50dbcb3438dc81d9956f8047117cac77c6c 100644 (file)
@@ -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__
index e0601b39ec44246c9e1e805b6c3f1beb2610b5a4..c88f67e00d7464ff209aa5a544e6f731c9e46773 100644 (file)
@@ -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" } */
index 48b020aee403bfa259f21626c55e5a7555a8e737..225e323f2c614522d23669ecada4d96cad992f28 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do run } */
 /* { dg-options "-Os" } */
+/* { dg-require-effective-target int32plus } */
 
 union U
 {
index d656de5748ec3442dd37083fa5872963c7a646f9..ee489347c85f2b409d9f289f4659aec4735926b8 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fdump-ipa-icf-details"  } */
+/* { dg-require-effective-target ptr32plus } */
 
 typedef int size_t;
 
index 4877b4b68a93c8a5bbd4acef0c21b4bf7ef2d691..18e01681491844067219ba5b2883b7893dfc5105 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do run } */
 /* { dg-options "-O2" } */
+/* { dg-require-effective-target int32plus } */
 
 int printf (const char *, ...);