]> gcc.gnu.org Git - gcc.git/commitdiff
gcc-dg.exp (gcc-dg-debug-runtest): Add opt_opts parameter.
authorMark Mitchell <mark@codesourcery.com>
Sun, 18 May 2003 18:59:56 +0000 (18:59 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 18 May 2003 18:59:56 +0000 (18:59 +0000)
* 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.

From-SVN: r66937

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/debug.exp
gcc/testsuite/gcc.dg/debug/debug.exp
gcc/testsuite/lib/gcc-dg.exp

index 5a4ce5ab9e7b112def2982d9fb047209ca07e4fa..f2aa0b23e8bf46e605f7ba4bb0eb86ac3d3b099c 100644 (file)
@@ -1,3 +1,11 @@
+2003-05-18  Mark Mitchell  <mark@codesourcery.com>
+
+       * 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.
+
 2003-05-18  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
 
        PR c++/9022
index 8d6b1e88099590524b1e5d0dce5802a0ca49fbe6..73173a69a1fd1a66d90d8d53d4ecc5d732ecf907 100644 (file)
@@ -23,7 +23,7 @@ load_lib g++-dg.exp
 dg-init
 
 # Main loop.
-gcc-dg-debug-runtest g++_target_compile trivial.C \
+gcc-dg-debug-runtest g++_target_compile trivial.C [list -O2 -O3] \
     [lsort [glob -nocomplain $srcdir/$subdir/*.C]]
 
 # All done.
index fb83046ead48e942f2a933da225bc69e47845a7e..65ecf285e55776abc26cd312bb05a92d4a63545f 100644 (file)
@@ -24,7 +24,7 @@ dg-init
 
 # Main loop.
 
-gcc-dg-debug-runtest gcc_target_compile trivial.c \
+gcc-dg-debug-runtest gcc_target_compile trivial.c [list -O -O3] \
     [lsort [glob -nocomplain $srcdir/$subdir/*.\[cS\]]]
 
 # All done.
index 241710c91b11b045d367f36ed1625f635d9f106d..f01cd8aede13d6a860a192c150b8be7e1a482600 100644 (file)
@@ -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" ]
                    }
This page took 0.110989 seconds and 5 git commands to generate.