diff options
author | John David Anglin <danglin@gcc.gnu.org> | 2021-01-18 15:38:40 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2021-01-18 15:38:40 +0000 |
commit | 66cbe54960c9d5674911ba8af5e873494db8880f (patch) | |
tree | f170a43c56ef7e8271797b97b107da2f3f4e8ebb /gcc | |
parent | c7e276b869bdeb4a95735c1f037ee1a5f629de3d (diff) | |
download | gcc-66cbe54960c9d5674911ba8af5e873494db8880f.zip gcc-66cbe54960c9d5674911ba8af5e873494db8880f.tar.gz gcc-66cbe54960c9d5674911ba8af5e873494db8880f.tar.bz2 |
Avoid no-stack-protector-attr fails on hppa*-*-*.
gcc/testsuite/ChangeLog:
* g++.dg/no-stack-protector-attr-3.C: Don't compile on hppa*-*-*.
* g++.dg/no-stack-protector-attr.C: Likewise.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/g++.dg/no-stack-protector-attr-3.C | 2 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/no-stack-protector-attr.C | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.dg/no-stack-protector-attr-3.C b/gcc/testsuite/g++.dg/no-stack-protector-attr-3.C index dd9cd49..56a4e74 100644 --- a/gcc/testsuite/g++.dg/no-stack-protector-attr-3.C +++ b/gcc/testsuite/g++.dg/no-stack-protector-attr-3.C @@ -4,7 +4,7 @@ /* { dg-do compile { target i?86-*-* x86_64-*-* } } */ /* { dg-options "-O2 -fstack-protector-explicit" } */ -/* { dg-do compile } */ +/* { dg-do compile { target { ! hppa*-*-* } } } */ int __attribute__((no_stack_protector)) foo() { diff --git a/gcc/testsuite/g++.dg/no-stack-protector-attr.C b/gcc/testsuite/g++.dg/no-stack-protector-attr.C index e5105bf..3314a94 100644 --- a/gcc/testsuite/g++.dg/no-stack-protector-attr.C +++ b/gcc/testsuite/g++.dg/no-stack-protector-attr.C @@ -4,7 +4,7 @@ /* { dg-do compile { target i?86-*-* x86_64-*-* } } */ /* { dg-options "-O2 -fstack-protector-all" } */ -/* { dg-do compile } */ +/* { dg-do compile { target { ! hppa*-*-* } } } */ int __attribute__((no_stack_protector)) c() { |