diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-18 18:59:56 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-18 18:59:56 +0000 |
commit | c7410b2942de35844db372e913f113459d9d66d5 (patch) | |
tree | 295cba29580a51e28be5633a79540f07f993a4da /gcc/testsuite/lib | |
parent | 3eb4724d96ae1d4a9c7025c74ba763eaf2326030 (diff) | |
download | gcc-c7410b2942de35844db372e913f113459d9d66d5.tar.gz |
* lib/gcc-dg.exp (gcc-dg-debug-runtest): Add opt_opts parameter.
* gcc.dg/debug/debug.exp: Pass opt_opts parameter to
gcc-dg-debug-runtest.
* g++.dg/debug/debug.exp: Pass opt_opts parameter to
gcc-dg-debug-runtest.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66937 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/lib')
-rw-r--r-- | gcc/testsuite/lib/gcc-dg.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/lib/gcc-dg.exp b/gcc/testsuite/lib/gcc-dg.exp index 241710c91b1..f01cd8aede1 100644 --- a/gcc/testsuite/lib/gcc-dg.exp +++ b/gcc/testsuite/lib/gcc-dg.exp @@ -190,7 +190,7 @@ proc gcc-dg-runtest { testcases default-extra-flags } { } } -proc gcc-dg-debug-runtest { target_compile trivial testcases } { +proc gcc-dg-debug-runtest { target_compile trivial opt_opts testcases } { global srcdir subdir if ![info exists DEBUG_TORTURE_OPTIONS] { @@ -203,7 +203,7 @@ proc gcc-dg-debug-runtest { target_compile trivial testcases } { $comp_output] } { foreach level {1 "" 3} { lappend DEBUG_TORTURE_OPTIONS [list "${type}${level}"] - foreach opt { -O2 -O3 } { + foreach opt $opt_opts { lappend DEBUG_TORTURE_OPTIONS \ [list "${type}${level}" "$opt" ] } |