Skip Wno-frame-address test for avr
authorSenthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
Tue, 6 Sep 2016 12:02:23 +0000 (12:02 +0000)
committerSenthil Kumar Selvaraj <saaadhu@gcc.gnu.org>
Tue, 6 Sep 2016 12:02:23 +0000 (12:02 +0000)
The avr backend supports __builtin_return_address only for the current
stack frame. The test expects it to work for caller frames as well and
therefore fails for avr.

Add avr to the list of targets already excluded with dg-skip-if.

gcc/testsuite/ChangeLog:

2016-09-06  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>

* gcc.dg/Wno-frame-address.c: Skip for avr-*-*.

From-SVN: r240005

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/Wno-frame-address.c

index c91ad0d310130c2c4228396b75526375bcf50c43..b8e4b0212611c3c8825aa90506bbc5a63b588fd5 100644 (file)
@@ -1,3 +1,7 @@
+2016-09-06  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
+
+       * gcc.dg/Wno-frame-address.c: Skip for avr-*-*.
+
 2016-09-05  Jakub Jelinek  <jakub@redhat.com>
 
        PR target/77476
index de5a8b8d7bc2110fa9884e5501f89da57295a8dd..e6dfe52038a79017c1cec482f59ac3977ad51a50 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-skip-if "Cannot access arbitrary stack frames" { arm*-*-* hppa*-*-* ia64-*-* visium-*-* } } */
+/* { dg-skip-if "Cannot access arbitrary stack frames" { arm*-*-* avr-*-* hppa*-*-* ia64-*-* visium-*-* } } */
 /* { dg-options "-Werror" } */
 /* { dg-additional-options "-mbackchain" { target { s390*-*-* } } } */