gcc/testsuite/gcc.dg/Wno-frame-address.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-skip-if "Cannot access arbitrary stack frames" { arm*-*-* amdgpu-*-* avr-*-* hppa*-*-* ia64-*-* visium-*-* csky-*-* msp430-*-* cris-*-* mmix-*-* pru-*-* } } */ |
| 3 | /* { dg-options "-Werror" } */ |
| 4 | /* { dg-additional-options "-mbackchain" { target { s390*-*-* } } } */ |
| 5 | |
| 6 | /* Verify that -Wframe-address is not enabled by default by enabling |
| 7 | -Werror and verifying the test still compiles. */ |
| 8 | #include "Wframe-address.c" |