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  <senthil_kumar.selvaraj@atmel.com>

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

From-SVN: r240005
This commit is contained in:
Senthil Kumar Selvaraj 2016-09-06 12:02:23 +00:00 committed by Senthil Kumar Selvaraj
parent ea04c34988
commit a8c0703767
2 changed files with 5 additions and 1 deletions

View 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

View 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*-*-* } } } */