pure-code.exp: Restore saved globals.
authorAndre Vieira <andre.simoesdiasvieira@arm.com>
Mon, 24 Oct 2016 08:57:45 +0000 (08:57 +0000)
committerAndre Vieira <avieira@gcc.gnu.org>
Mon, 24 Oct 2016 08:57:45 +0000 (08:57 +0000)
2016-10-24  Andre Vieira  <andre.simoesdiasvieira@arm.com>

* gcc.target/arm/pure-code/pure-code.exp: Restore saved globals.

From-SVN: r241466

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/pure-code/pure-code.exp

index ea015f153da276a14848910bc8efcfb03cc58067..d43a909a0dde3410df9c960cfde692c433048523 100644 (file)
@@ -1,3 +1,7 @@
+2016-10-24  Andre Vieira  <andre.simoesdiasvieira@arm.com>
+
+       * gcc.target/arm/pure-code/pure-code.exp: Restore saved globals.
+
 2016-10-24  Jakub Jelinek  <jakub@redhat.com>
 
        * gcc.target/i386/bmi2-pext-1.c: New test.
index aaace952aaa09d6bcfb684909adc325c50d9be0e..418946009646eba31496f85914314de2acdac352 100644 (file)
@@ -49,6 +49,10 @@ set LTO_TORTURE_OPTIONS [add_fat_objects ${LTO_TORTURE_OPTIONS}]
 gcc-dg-runtest [lsort [glob $srcdir/$subdir/*.c]] \
        "" $DEFAULT_CFLAGS
 
+# Restore global values
+set dg-do-what-default ${saved-dg-do-what-default}
+set LTO_TORTURE_OPTIONS ${saved-lto_torture_options}
+
 # All done.
 dg-finish
 }