From: Andrew Stubbs Date: Wed, 30 Jan 2019 11:26:31 +0000 (+0000) Subject: Cache effective-target llvm_binutils result. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8c11f2693e3f55d7fbf37642c3e75d03a9e58013;p=gcc.git Cache effective-target llvm_binutils result. 2019-01-30 Andrew Stubbs PR testsuite/88920 gcc/testsuite/ * lib/target-supports.exp: Cache result. From-SVN: r268384 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e9846c7710d..e41b4e2500c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2019-01-30 Andrew Stubbs + + PR testsuite/88920 + + * lib/target-supports.exp: Cache result. + 2019-01-30 Jakub Jelinek PR c++/89105 diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 92202ffcbf0..a0b4b99067f 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -9263,6 +9263,7 @@ foreach N {df} { # Return 1 if this target uses an LLVM assembler and/or linker proc check_effective_target_llvm_binutils { } { - return [expr { [istarget amdgcn*-*-*] - || [check_effective_target_offload_gcn] } ] + return [check_cached_effective_target llvm_binutils { + expr { [istarget amdgcn*-*-*] + || [check_effective_target_offload_gcn] }}] }