From ed9760d22de7335c0d5c931780fcc039de2cfa41 Mon Sep 17 00:00:00 2001 From: Andre Vieira Date: Mon, 24 Oct 2016 08:57:45 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.target/arm/pure-code/pure-code.exp | 4 ++++ 2 files changed, 8 insertions(+) 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 } -- 2.30.2