diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2017-07-12 07:53:28 +0000 |
---|---|---|
committer | Christophe Lyon <clyon@gcc.gnu.org> | 2017-07-12 09:53:28 +0200 |
commit | 6ea93a64ff1e9204d0366e359876a30682ff7c0c (patch) | |
tree | 4d87300e9a4562abe432a09649eb73ba0d8580fe | |
parent | 2f65ab2e179b5ac8458940dc204d6415349126ca (diff) | |
download | gcc-6ea93a64ff1e9204d0366e359876a30682ff7c0c.zip gcc-6ea93a64ff1e9204d0366e359876a30682ff7c0c.tar.gz gcc-6ea93a64ff1e9204d0366e359876a30682ff7c0c.tar.bz2 |
[testsuite] Fix dg-require-stack-check
2017-07-12 Christophe Lyon <christophe.lyon@linaro.org>
* lib/target-supports.exp (check_stack_check_available): Make
testcase name depend on stack_kind.
From-SVN: r250149
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/lib/target-supports.exp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 78bcef9..cf8c5ad 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-07-12 Christophe Lyon <christophe.lyon@linaro.org> + + * lib/target-supports.exp (check_stack_check_available): Make + testcase name depend on stack_kind. + 2017-07-11 Michael Collison <michael.collison@arm.com> * testsuite/gcc.target/aarch64/cmp-2.c: New testcase. diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 7fb51cc..97d834c 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -1069,7 +1069,7 @@ proc check_stack_check_available { stack_kind } { set stack_opt "-fstack-check" } else { set stack_opt "-fstack-check=$stack_kind" } - return [check_no_compiler_messages stack_check executable { + return [check_no_compiler_messages stack_check_$stack_kind executable { int main (void) { return 0; } } "$stack_opt"] } |