The stack grows up on hppa and stack protection is not supported. Committed to master.
Regards, Dave 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. 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 dd9cd4991b6..56a4e74da50 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 e5105bf9478..3314a94bd7b 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() {