From a8c070376794b730f125d0453537684563524f9e Mon Sep 17 00:00:00 2001 From: Senthil Kumar Selvaraj Date: Tue, 6 Sep 2016 12:02:23 +0000 Subject: [PATCH] Skip Wno-frame-address test for avr 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 * gcc.dg/Wno-frame-address.c: Skip for avr-*-*. From-SVN: r240005 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/Wno-frame-address.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c91ad0d3101..b8e4b021261 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2016-09-06 Senthil Kumar Selvaraj + + * gcc.dg/Wno-frame-address.c: Skip for avr-*-*. + 2016-09-05 Jakub Jelinek PR target/77476 diff --git a/gcc/testsuite/gcc.dg/Wno-frame-address.c b/gcc/testsuite/gcc.dg/Wno-frame-address.c index de5a8b8d7bc..e6dfe52038a 100644 --- a/gcc/testsuite/gcc.dg/Wno-frame-address.c +++ b/gcc/testsuite/gcc.dg/Wno-frame-address.c @@ -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*-*-* } } } */ -- 2.30.2