Commit 6ea93a64 by Christophe Lyon Committed by Christophe Lyon

[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
parent 2f65ab2e
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> 2017-07-11 Michael Collison <michael.collison@arm.com>
* testsuite/gcc.target/aarch64/cmp-2.c: New testcase. * testsuite/gcc.target/aarch64/cmp-2.c: New testcase.
......
...@@ -1069,7 +1069,7 @@ proc check_stack_check_available { stack_kind } { ...@@ -1069,7 +1069,7 @@ proc check_stack_check_available { stack_kind } {
set stack_opt "-fstack-check" set stack_opt "-fstack-check"
} else { set stack_opt "-fstack-check=$stack_kind" } } 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; } int main (void) { return 0; }
} "$stack_opt"] } "$stack_opt"]
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment