diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2014-10-31 16:49:14 +0100 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2023-05-09 14:32:44 +0200 |
commit | b7b209843654bb240589251c90c3465a84d704da (patch) | |
tree | be6c03b2349029285e5520fd1d7847dc731471bd /libgomp | |
parent | 8440230e69e06eac7fc30e2e19c13f2a9655f534 (diff) | |
download | gcc-b7b209843654bb240589251c90c3465a84d704da.zip gcc-b7b209843654bb240589251c90c3465a84d704da.tar.gz gcc-b7b209843654bb240589251c90c3465a84d704da.tar.bz2 |
libgomp C++ testsuite: Don't compute 'blddir' twice
It has already been set in 'libgomp/testsuite/lib/libgomp.exp:libgomp_init'.
libgomp/
* testsuite/libgomp.c++/c++.exp (blddir): Don't set.
* testsuite/libgomp.oacc-c++/c++.exp (blddir): Likewise.
Diffstat (limited to 'libgomp')
-rw-r--r-- | libgomp/testsuite/libgomp.c++/c++.exp | 3 | ||||
-rw-r--r-- | libgomp/testsuite/libgomp.oacc-c++/c++.exp | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/libgomp/testsuite/libgomp.c++/c++.exp b/libgomp/testsuite/libgomp.c++/c++.exp index 5b9a592..81c188e 100644 --- a/libgomp/testsuite/libgomp.c++/c++.exp +++ b/libgomp/testsuite/libgomp.c++/c++.exp @@ -27,9 +27,6 @@ lappend ALWAYS_CFLAGS "additional_flags=-fopenmp" set SAVE_GCC_UNDER_TEST "$GCC_UNDER_TEST" set GCC_UNDER_TEST "$GCC_UNDER_TEST -x c++" -set blddir [lookfor_file [get_multilibs] libgomp] - - if { $blddir != "" } { # Look for a static libstdc++ first. if [file exists "${blddir}/${lang_library_path}/libstdc++.a"] { diff --git a/libgomp/testsuite/libgomp.oacc-c++/c++.exp b/libgomp/testsuite/libgomp.oacc-c++/c++.exp index 0b235ba..0900178 100644 --- a/libgomp/testsuite/libgomp.oacc-c++/c++.exp +++ b/libgomp/testsuite/libgomp.oacc-c++/c++.exp @@ -33,9 +33,6 @@ lappend ALWAYS_CFLAGS "additional_flags=-fopenacc" set SAVE_GCC_UNDER_TEST "$GCC_UNDER_TEST" set GCC_UNDER_TEST "$GCC_UNDER_TEST -x c++" -set blddir [lookfor_file [get_multilibs] libgomp] - - if { $blddir != "" } { # Look for a static libstdc++ first. if [file exists "${blddir}/${lang_library_path}/libstdc++.a"] { |