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 c91ad0d..b8e4b02 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 de5a8b8..e6dfe52 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*-*-* } } } */