profopt.exp: Make prof_option_list local to profopt-execute.
commitce15c7d5ab96de22d56c05c827e2ab98624155c1
authorJanis Johnson <janisjo@codesourcery.com>
Mon, 25 Jun 2012 22:01:34 +0000 (25 22:01 +0000)
committerJanis Johnson <janis@gcc.gnu.org>
Mon, 25 Jun 2012 22:01:34 +0000 (25 22:01 +0000)
tree1a1736c634dcac65c5584ae5502f3e5b015d2569
parentef25bad4976e7d489e35af430c0839761b6abcad
profopt.exp: Make prof_option_list local to profopt-execute.

* lib/profopt.exp: Make prof_option_list local to profopt-execute.
* g++.dg/tree-prof/tree-prof.exp (PROFOPT_OPTIONS): Define after
including profopt.opt; save and restore existing value.
* g++.dg/bprob/bprob.exp: Likewise.
* gcc.dg/matrix/matrix.exp: Likewise.
* gcc.dg/tree-prof/tree-prof.exp: Likewise.
* gcc.misc-tests/bprob.exp: Likewise; also replace formerly-ignored
PROFOPT_OPTIONS.

From-SVN: r188964
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/bprob/bprob.exp
gcc/testsuite/g++.dg/tree-prof/tree-prof.exp
gcc/testsuite/gcc.dg/matrix/matrix.exp
gcc/testsuite/gcc.dg/tree-prof/tree-prof.exp
gcc/testsuite/gcc.misc-tests/bprob.exp
gcc/testsuite/lib/profopt.exp