]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gcc-dg.exp (dg-build-dso): Reset dg-do-what-default to compile.
authorJason Merrill <jason@redhat.com>
Tue, 8 Apr 2014 17:58:46 +0000 (13:58 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 8 Apr 2014 17:58:46 +0000 (13:58 -0400)
* lib/gcc-dg.exp (dg-build-dso): Reset dg-do-what-default to
compile.

From-SVN: r209224

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

index e314c6c0f90fbad7c1f71c175e55661f323295e3..fdecf7d14cad45820f92d32a97d9c166fda74dd4 100644 (file)
@@ -1,3 +1,8 @@
+2014-04-08  Jason Merrill  <jason@redhat.com>
+
+       * lib/gcc-dg.exp (dg-build-dso): Reset dg-do-what-default to
+       compile.
+
 2014-04-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
 
        PR rtl-optimization/60776
index 89eec95a5f7b900cbcf7d04947b87feb0981c9fe..21ef0c2216c5baa32941c32994eac2c0bbc273d9 100644 (file)
@@ -229,6 +229,7 @@ proc dg-build-dso { args } {
     set dir "[file dirname $main_file]"
     set dg-do-what-default dso
     dg-test -keep-output $dir/$file "" ""
+    set dg-do-what-default compile
 
     set output_file "[file rootname [file tail $file]].so"
     append final-code "remove-build-file $output_file"