From: Christophe Lyon Date: Wed, 12 Jul 2017 07:53:28 +0000 (+0000) Subject: [testsuite] Fix dg-require-stack-check X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6ea93a64ff1e9204d0366e359876a30682ff7c0c;p=gcc.git [testsuite] Fix dg-require-stack-check 2017-07-12 Christophe Lyon * lib/target-supports.exp (check_stack_check_available): Make testcase name depend on stack_kind. From-SVN: r250149 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 78bcef9bd7a..cf8c5adf844 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-07-12 Christophe Lyon + + * lib/target-supports.exp (check_stack_check_available): Make + testcase name depend on stack_kind. + 2017-07-11 Michael Collison * 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 7fb51ccb3e2..97d834c63fc 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"] }