diff options
author | Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com> | 2019-08-02 05:27:15 +0000 |
---|---|---|
committer | Senthil Kumar Selvaraj <saaadhu@gcc.gnu.org> | 2019-08-02 05:27:15 +0000 |
commit | 5bae71d1aaa211493c58d03037634a06064f59fa (patch) | |
tree | 64e759533772f4966f58bceccf369ced775acc33 | |
parent | 930dd62797816f510957e824a115528650cd04ad (diff) | |
download | gcc-5bae71d1aaa211493c58d03037634a06064f59fa.zip gcc-5bae71d1aaa211493c58d03037634a06064f59fa.tar.gz gcc-5bae71d1aaa211493c58d03037634a06064f59fa.tar.bz2 |
Fix gcc.dg/torture/ssa-fre-6.c failure for avr
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
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/torture/ssa-fre-6.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b79f3b7..6aae2e4 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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. diff --git a/gcc/testsuite/gcc.dg/torture/ssa-fre-6.c b/gcc/testsuite/gcc.dg/torture/ssa-fre-6.c index ecdd8f6..2c4235f 100644 --- a/gcc/testsuite/gcc.dg/torture/ssa-fre-6.c +++ b/gcc/testsuite/gcc.dg/torture/ssa-fre-6.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target int32 } */ /* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */ /* { dg-additional-options "-fgimple -fdump-tree-fre1" } */ |