Fix gcc.dg/torture/ssa-fre-6.c failure for avr
authorSenthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
Fri, 2 Aug 2019 05:27:15 +0000 (05:27 +0000)
committerSenthil Kumar Selvaraj <saaadhu@gcc.gnu.org>
Fri, 2 Aug 2019 05:27:15 +0000 (05:27 +0000)
The test assumes 32 bit integers (and pointers), and therefore
fails for the avr target, which has 16 bit integers.

Fix failure for avr by adding dg-require-effective-target int32.

gcc/testsuite/ChangeLog

2019-08-02  Senthil Kumar Selvaraj  <senthilkumar.selvaraj@microchip.com>

* gcc.dg/torture/ssa-fre-6.c: Add dg-require-effective-target int32.

From-SVN: r273995

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/ssa-fre-6.c

index b79f3b76dd7c7cf33e37c5f717eb91fe95d064d1..6aae2e47ca56bfa4901d2f3b68b4dfef861a47f1 100644 (file)
@@ -1,3 +1,7 @@
+2019-08-02  Senthil Kumar Selvaraj  <senthilkumar.selvaraj@microchip.com>
+
+       * gcc.dg/torture/ssa-fre-6.c: Add dg-require-effective-target int32.
+
 2019-08-02  Kito Cheng  <kito.cheng@sifive.com>
 
        * g++.dg/lto/pr87906_0.C: Add dg-require-effective-target shared check.
index ecdd8f64e956625b4cb7c5021ddbc1821724abd5..2c4235fa4ea83817e27b55e172b275410bab3474 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target int32 } */
 /* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */
 /* { dg-additional-options "-fgimple -fdump-tree-fre1" } */