diff options
author | Jeff Law <jeffreyalaw@gmail.com> | 2022-04-24 13:38:14 -0400 |
---|---|---|
committer | Jeff Law <jeffreyalaw@gmail.com> | 2022-04-24 13:39:22 -0400 |
commit | 6b7441a46c771aa6ecdc0c8ed96197417d036b9a (patch) | |
tree | 5e11e5aff73c7032557a0ae4d37b375f4fca990e | |
parent | fa5cd7102da676dcb1757b1288421f5f3439ae0e (diff) | |
download | gcc-6b7441a46c771aa6ecdc0c8ed96197417d036b9a.zip gcc-6b7441a46c771aa6ecdc0c8ed96197417d036b9a.tar.gz gcc-6b7441a46c771aa6ecdc0c8ed96197417d036b9a.tar.bz2 |
[committed] exec-stack warning for test which wants executable stacks
gcc/testsuite
* gcc.dg/lto/pr94157_0.c: Also request executable stack from
the linker.
-rw-r--r-- | gcc/testsuite/gcc.dg/lto/pr94157_0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/lto/pr94157_0.c b/gcc/testsuite/gcc.dg/lto/pr94157_0.c index a6e308b..a76141b 100644 --- a/gcc/testsuite/gcc.dg/lto/pr94157_0.c +++ b/gcc/testsuite/gcc.dg/lto/pr94157_0.c @@ -1,6 +1,6 @@ /* { dg-lto-do link } */ /* { dg-require-effective-target gas } */ -/* { dg-lto-options { { -O0 -fipa-vrp -flto -Wa,--noexecstack -Wa,--noexecstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack } } } */ +/* { dg-lto-options { { -O0 -fipa-vrp -flto -Wa,--noexecstack -Wa,--noexecstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wa,--execstack -Wl,-z,execstack} } } */ int main() { |