Commit 8c11f269 by Andrew Stubbs Committed by Andrew Stubbs

Cache effective-target llvm_binutils result.

2019-01-30  Andrew Stubbs  <ams@codesourcery.com>

	PR testsuite/88920

	gcc/testsuite/
	* lib/target-supports.exp: Cache result.

From-SVN: r268384
parent 787e2deb
2019-01-30 Andrew Stubbs <ams@codesourcery.com>
PR testsuite/88920
* lib/target-supports.exp: Cache result.
2019-01-30 Jakub Jelinek <jakub@redhat.com> 2019-01-30 Jakub Jelinek <jakub@redhat.com>
PR c++/89105 PR c++/89105
......
...@@ -9263,6 +9263,7 @@ foreach N {df} { ...@@ -9263,6 +9263,7 @@ foreach N {df} {
# Return 1 if this target uses an LLVM assembler and/or linker # Return 1 if this target uses an LLVM assembler and/or linker
proc check_effective_target_llvm_binutils { } { proc check_effective_target_llvm_binutils { } {
return [expr { [istarget amdgcn*-*-*] return [check_cached_effective_target llvm_binutils {
|| [check_effective_target_offload_gcn] } ] expr { [istarget amdgcn*-*-*]
|| [check_effective_target_offload_gcn] }}]
} }
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