aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2007-02-22 04:39:35 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2007-02-22 04:39:35 +0000
commitd1fb5e1c0b2c50fce4934f3b604ea263c08ac8a8 (patch)
treedea1b0017af1072f775d7d00642e3ee3f5591be1 /libstdc++-v3
parentbc52707a5e70fd384c2afc884b90b074ceda49c1 (diff)
downloadgcc-d1fb5e1c0b2c50fce4934f3b604ea263c08ac8a8.zip
gcc-d1fb5e1c0b2c50fce4934f3b604ea263c08ac8a8.tar.gz
gcc-d1fb5e1c0b2c50fce4934f3b604ea263c08ac8a8.tar.bz2
wrapper.exp (${tool}_maybe_build_wrapper): Allow the caller to set options for compiling testglue.
* lib/wrapper.exp (${tool}_maybe_build_wrapper): Allow the caller to set options for compiling testglue. * lib/g++.exp (g++_init): Compile testglue with -fexceptions. * lib/obj-c++.exp (obj-c++_init): Likewise. * testsuite/lib/libstdc++.exp (libstdc++_init): Compile testglue with -fexceptions. From-SVN: r122217
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/testsuite/lib/libstdc++.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index ba0a40b..04ed3a8 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2007-02-20 Mark Mitchell <mark@codesourcery.com>
+
+ * testsuite/lib/libstdc++.exp (libstdc++_init): Compile testglue
+ with -fexceptions.
+
2007-02-20 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/28080 (partial)
diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp
index 9308fa5..3557d13 100644
--- a/libstdc++-v3/testsuite/lib/libstdc++.exp
+++ b/libstdc++-v3/testsuite/lib/libstdc++.exp
@@ -225,7 +225,7 @@ proc libstdc++_init { testfile } {
v3track PCH_CXXFLAGS 2
}
- libstdc++_maybe_build_wrapper "${objdir}/testglue.o"
+ libstdc++_maybe_build_wrapper "${objdir}/testglue.o" "-fexceptions"
}
# Callback for cleanup routines.