From 73d2b6d4a3f0db82b2bfaba6c275412e5830680d Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Wed, 12 Aug 2020 08:59:22 +0000 Subject: [PATCH] testsuite: Fix gcc.target/arm/multilib.exp use of gcc_opts This patch fixes an incorrect parameter passing for $gcc_opts, which produces a DejaGnu error: (DejaGnu) proc "gcc_opts" does not exist. 2020-08-12 Christophe Lyon gcc/testsuite/ * gcc.target/arm/multilib.exp: Fix parameter passing for gcc_opts. --- gcc/testsuite/gcc.target/arm/multilib.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/arm/multilib.exp b/gcc/testsuite/gcc.target/arm/multilib.exp index f67a92a9201..c5f3c02c28e 100644 --- a/gcc/testsuite/gcc.target/arm/multilib.exp +++ b/gcc/testsuite/gcc.target/arm/multilib.exp @@ -40,7 +40,7 @@ proc multilib_config {profile} { proc check_multi_dir { gcc_opts multi_dir } { global tool - set options [list "additional_flags=[concat "--print-multi-directory" [gcc_opts]]"] + set options [list "additional_flags=[concat "--print-multi-directory" $gcc_opts]"] set gcc_output [${tool}_target_compile "" "" "none" $options] if { [string match "$multi_dir\n" $gcc_output] } { pass "multilibdir $gcc_opts $multi_dir" -- 2.30.2