From: Andre Vieira Date: Mon, 24 Oct 2016 08:57:45 +0000 (+0000) Subject: pure-code.exp: Restore saved globals. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ed9760d22de7335c0d5c931780fcc039de2cfa41;p=gcc.git pure-code.exp: Restore saved globals. 2016-10-24 Andre Vieira * gcc.target/arm/pure-code/pure-code.exp: Restore saved globals. From-SVN: r241466 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ea015f153da..d43a909a0dd 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2016-10-24 Andre Vieira + + * gcc.target/arm/pure-code/pure-code.exp: Restore saved globals. + 2016-10-24 Jakub Jelinek * gcc.target/i386/bmi2-pext-1.c: New test. diff --git a/gcc/testsuite/gcc.target/arm/pure-code/pure-code.exp b/gcc/testsuite/gcc.target/arm/pure-code/pure-code.exp index aaace952aaa..41894600964 100644 --- a/gcc/testsuite/gcc.target/arm/pure-code/pure-code.exp +++ b/gcc/testsuite/gcc.target/arm/pure-code/pure-code.exp @@ -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 }