aboutsummaryrefslogtreecommitdiff
path: root/libffi/testsuite/libffi.special/special.exp
diff options
context:
space:
mode:
authorAndreas Tobler <a.tobler@schweiz.ch>2006-03-01 00:18:01 +0100
committerAndreas Tobler <andreast@gcc.gnu.org>2006-03-01 00:18:01 +0100
commitb295c471c2c534ed75ecb18a9b8ca4d319a9aee1 (patch)
tree3cbada4b93f6cc94bbce0515bb0fcd9cb98bc53b /libffi/testsuite/libffi.special/special.exp
parent9fdeb13b0e7caf30992b9af07f6a2d1cd59c4669 (diff)
downloadgcc-b295c471c2c534ed75ecb18a9b8ca4d319a9aee1.zip
gcc-b295c471c2c534ed75ecb18a9b8ca4d319a9aee1.tar.gz
gcc-b295c471c2c534ed75ecb18a9b8ca4d319a9aee1.tar.bz2
unwindtest.cc (closure_test_fn): Mark cif, args and userdata unused.
2006-03-01 Andreas Tobler <a.tobler@schweiz.ch> * testsuite/libffi.special/unwindtest.cc (closure_test_fn): Mark cif, args and userdata unused. (closure_test_fn1): Mark cif and userdata unused. (main): Remove unused res. From-SVN: r111583
Diffstat (limited to 'libffi/testsuite/libffi.special/special.exp')
-rw-r--r--libffi/testsuite/libffi.special/special.exp14
1 files changed, 8 insertions, 6 deletions
diff --git a/libffi/testsuite/libffi.special/special.exp b/libffi/testsuite/libffi.special/special.exp
index 5a1c081..b7d31da 100644
--- a/libffi/testsuite/libffi.special/special.exp
+++ b/libffi/testsuite/libffi.special/special.exp
@@ -1,19 +1,18 @@
-# Copyright (C) 2003 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2006 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
-#
+#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
+# Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# libffi testsuite that uses the 'dg.exp' driver.
load_lib libffi-dg.exp
@@ -27,7 +26,10 @@ global cxx_options
set cxx_options " -shared-libgcc -lstdc++"
-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.cc]] $cxx_options ""
+dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.cc]] $cxx_options "-O0 -W -Wall"
+dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.cc]] $cxx_options "-O2"
+dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.cc]] $cxx_options "-O3"
+dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.cc]] $cxx_options "-Os"
dg-finish