Tobias Burnus <tob...@codesourcery.com> writes: > diff --git a/libgomp/testsuite/lib/libgomp.exp > b/libgomp/testsuite/lib/libgomp.exp > index 7e94527c7ca..cb7757b6a91 100644 > --- a/libgomp/testsuite/lib/libgomp.exp > +++ b/libgomp/testsuite/lib/libgomp.exp > @@ -346,11 +346,11 @@ proc check_effective_target_offload_target_nvptx { } { > # files; in particular, '-foffload', 'libgomp.oacc-*/*.exp'), which don't > # get passed on to 'check_effective_target_*' functions. (Not caching > the > # result due to that.) > - set options [current_compiler_flags] > + set options [concat "{additional_flags=-v" [current_compiler_flags] "}"]
Using: set options [list "additional_flags=[concat "-v" [current_compiler_flags]]"] is maybe more obvious, and should get the { ... } quoting right for unusual cases. LGTM otherwise. Thanks, Richard