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.
This commit is contained in:
parent
c7e276b869
commit
66cbe54960
@ -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()
|
||||
{
|
||||
|
@ -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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user