diff options
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/execute/builtins/stpncpy-chk.x')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/builtins/stpncpy-chk.x | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/execute/builtins/stpncpy-chk.x b/gcc/testsuite/gcc.c-torture/execute/builtins/stpncpy-chk.x index e976a755ba0..61ec1640a10 100644 --- a/gcc/testsuite/gcc.c-torture/execute/builtins/stpncpy-chk.x +++ b/gcc/testsuite/gcc.c-torture/execute/builtins/stpncpy-chk.x @@ -1,3 +1,9 @@ +load_lib target-supports.exp + +if { ! [check_effective_target_nonlocal_goto] } { + return 1 +} + if [istarget "epiphany-*-*"] { # This test assumes the absence of struct padding. # to make this true for test4 struct A on epiphany would require |