]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix gnat.dg testing with linker plugin check
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Fri, 21 Oct 2011 12:53:09 +0000 (12:53 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Fri, 21 Oct 2011 12:53:09 +0000 (12:53 +0000)
* lib/gcc-dg.exp (GCC_UNDER_TEST): Set before calling
check_linker_plugin_available.

From-SVN: r180300

gcc/testsuite/ChangeLog
gcc/testsuite/lib/gcc-dg.exp

index c5e52a3715e5e6813916a914d03ba72841b8b1bd..b70d758b6b0c7ee6f47f90b4a652de44a10a04b7 100644 (file)
@@ -1,3 +1,8 @@
+2011-10-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * lib/gcc-dg.exp (GCC_UNDER_TEST): Set before calling
+       check_linker_plugin_available.
+
 2011-10-21  Kai Tietz  <ktietz@redhat.com>
 
        * gcc.target/i386/branch-cost1.c: New test.
index e93fb87a41215a4d4e69158fa1212d431c78b46a..caa057f074628f236a4838516242c3a353c07550 100644 (file)
@@ -41,6 +41,11 @@ if { [ishost "*-*-cygwin*"] } {
   setenv LANG C.ASCII
 }
 
+global GCC_UNDER_TEST
+if ![info exists GCC_UNDER_TEST] {
+    set GCC_UNDER_TEST "[find_gcc]"
+}
+
 if [info exists TORTURE_OPTIONS] {
     set DG_TORTURE_OPTIONS $TORTURE_OPTIONS
 } else {
@@ -84,12 +89,6 @@ if [check_effective_target_lto] {
     }
 }
 
-
-global GCC_UNDER_TEST
-if ![info exists GCC_UNDER_TEST] {
-    set GCC_UNDER_TEST "[find_gcc]"
-}
-
 global orig_environment_saved
 
 # This file may be sourced, so don't override environment settings